Instructions to use cs-552-2026-vibe-trainers/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-vibe-trainers/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-vibe-trainers/math_model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cs-552-2026-vibe-trainers/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-vibe-trainers/math_model", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cs-552-2026-vibe-trainers/math_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cs-552-2026-vibe-trainers/math_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cs-552-2026-vibe-trainers/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-vibe-trainers/math_model
- SGLang
How to use cs-552-2026-vibe-trainers/math_model with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "cs-552-2026-vibe-trainers/math_model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cs-552-2026-vibe-trainers/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "cs-552-2026-vibe-trainers/math_model" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cs-552-2026-vibe-trainers/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-vibe-trainers/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-vibe-trainers/math_model
Update Automated MNLP evaluation report (2026-05-24)
Browse files- EVAL_REPORT.md +23 -102
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-vibe-trainers/math_model`](https://huggingface.co/cs-552-2026-vibe-trainers/math_model)
|
| 4 |
- **Owner(s):** group **vibe-trainers**
|
| 5 |
-
- **Generated at:** 2026-05-
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
@@ -24,124 +24,45 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
-
- **reference**: `\frac{
|
| 28 |
-
- **overall** (
|
| 29 |
-
- **extracted** (✓): `\frac{
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
1
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
- Desired number of successes \( k = 4 \)
|
| 43 |
-
|
| 44 |
-
2. **Use the binomial probability formula**:
|
| 45 |
-
\[
|
| 46 |
-
P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}
|
| 47 |
-
\]
|
| 48 |
-
Substituting the values, we get:
|
| 49 |
-
\[
|
| 50 |
-
P(X = 4) = \binom{7}{4} \left(\frac{1}{5}\right)^4 \left(\frac{4}{5}\right)^{3}
|
| 51 |
-
\]
|
| 52 |
-
|
| 53 |
-
3. **Calculate the binomial coefficient**:
|
| 54 |
-
\[
|
| 55 |
-
\binom{7}{4} = \frac{7!}{4!(7-4)!} = \frac{7 \times 6 \times 5 \times 4!}{4! \times 3 \times 2 \times 1} = 35
|
| 56 |
-
\]
|
| 57 |
-
|
| 58 |
-
4. **Calculate the probabilities**:
|
| 59 |
-
\[
|
| 60 |
-
\left(\frac{1}{5}\right)^4 = \frac{1}{625}
|
| 61 |
-
\]
|
| 62 |
-
\[
|
| 63 |
-
\left(\frac{4}{5}\right)^3 = \frac{64}{125}
|
| 64 |
-
\]
|
| 65 |
-
|
| 66 |
-
5. **Combine the results**:
|
| 67 |
-
\[
|
| 68 |
-
P(X = 4) = 35 \times \frac{1}{625} \times \frac{64}{125} = 35 \times \frac{64}{78125} = \frac{2240}{78125}
|
| 69 |
-
\]
|
| 70 |
-
|
| 71 |
-
6. **Simplify the fraction**:
|
| 72 |
-
\[
|
| 73 |
-
\frac{2240}{78125} = \frac{224}{7812.5} = \frac{448}{15625}
|
| 74 |
-
\]
|
| 75 |
-
|
| 76 |
-
7. **Final probability**:
|
| 77 |
-
\[
|
| 78 |
-
\boxed{\frac{448}{15625}}
|
| 79 |
-
\]
|
| 80 |
```
|
| 81 |
|
| 82 |
**Incorrect** (1 shown)
|
| 83 |
|
| 84 |
-
- **reference**: `
|
| 85 |
- **overall** (0/8 completions correct)
|
| 86 |
-
- **extracted** (✗): `
|
| 87 |
- **completion**:
|
| 88 |
|
| 89 |
```text
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
</think>
|
| 93 |
-
|
| 94 |
-
To solve the problem, we need to find all functions \( h: \mathbb{Q} \to \mathbb{Z} \) such that for every \( x \in \mathbb{Q} \), every \( a \in \mathbb{Z} \), and every positive integer \( b \), the following equation holds:
|
| 95 |
-
\[
|
| 96 |
-
h(x) = h\left( \frac{h(bx - a) + a}{b} \right).
|
| 97 |
-
\]
|
| 98 |
|
| 99 |
-
|
| 100 |
|
| 101 |
-
|
| 102 |
\[
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
... [truncated 629 chars] ...
|
| 106 |
-
|
| 107 |
-
t).
|
| 108 |
\]
|
| 109 |
-
Since \( a \) and \( b \) are arbitrary, we can choose \( a = b \):
|
| 110 |
\[
|
| 111 |
-
|
| 112 |
\]
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
#### Step 4: Assume \( h \) is a constant function
|
| 116 |
-
|
| 117 |
-
Assume \( h(x) = c \) for all \( x \in \mathbb{Q} \). Then:
|
| 118 |
-
\[
|
| 119 |
-
c = h\left( \frac{c + a}{b} \right) = c,
|
| 120 |
-
\]
|
| 121 |
-
which is always true. Therefore, \( h(x) = c \) is a solution for any constant \( c \in \mathbb{Z} \).
|
| 122 |
-
|
| 123 |
-
#### Step 5: Verify if \( h(x) = c \) is the only solution
|
| 124 |
-
|
| 125 |
-
Let's suppose \( h(x) \neq c \) for some \( x \). Consider \( x = 1 \):
|
| 126 |
-
\[
|
| 127 |
-
h(1) = c.
|
| 128 |
-
\]
|
| 129 |
-
Now, let's set \( x = \frac{1}{b} \):
|
| 130 |
-
\[
|
| 131 |
-
h\left(\frac{1}{b}\right) = h\left( \frac{h(1) - 1}{b} \right) = h\left( \frac{c - 1}{b} \right).
|
| 132 |
-
\]
|
| 133 |
-
If \( c \neq b \), then \( \frac{c-1}{b} \neq 0 \), and we can choose \( a = c - 1 \) and \( b = c \):
|
| 134 |
-
\[
|
| 135 |
-
h\left(\frac{c-1}{c}\right) = h(0).
|
| 136 |
-
\]
|
| 137 |
-
This implies \( h\left(\frac{c-1}{c}\right) = c \), which contradicts \( h(x) \neq c \).
|
| 138 |
-
|
| 139 |
-
Therefore, \( h(x) = c \) is the only constant solution.
|
| 140 |
-
|
| 141 |
-
#### Conclusion:
|
| 142 |
-
|
| 143 |
-
The only function \( h: \mathbb{Q} \to \mathbb{Z} \) that satisfies the given functional equation is the constant function:
|
| 144 |
\[
|
| 145 |
-
|
| 146 |
\]
|
|
|
|
| 147 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-vibe-trainers/math_model`](https://huggingface.co/cs-552-2026-vibe-trainers/math_model)
|
| 4 |
- **Owner(s):** group **vibe-trainers**
|
| 5 |
+
- **Generated at:** 2026-05-24T16:13:44+00:00 (UTC)
|
| 6 |
- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)
|
| 7 |
|
| 8 |
_This PR is opened automatically by the course CI. It is **non-blocking** — you do not need to merge it. The next nightly run will refresh this file._
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `\frac{7}{4}`
|
| 28 |
+
- **overall** (6/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `\frac{7}{4}`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
+
The slope of the line segment from $A$ to $B$ is $\frac{3-4}{-1-(-5)} = \frac{-1}{4}$. The direction vector of the line is $\begin{pmatrix} -7 \\ b \end{pmatrix}$. The slope of the line can also be calculated as $\frac{b}{-7}$. Setting these slopes equal gives:
|
| 34 |
+
\[
|
| 35 |
+
\frac{b}{-7} = \frac{-1}{4}
|
| 36 |
+
\]
|
| 37 |
+
Solving for $b$, we multiply both sides by $-7$:
|
| 38 |
+
\[
|
| 39 |
+
b = \frac{-1}{4} \cdot -7 = \frac{7}{4}
|
| 40 |
+
\]
|
| 41 |
+
Thus, $b = \boxed{\frac{7}{4}}$.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
```
|
| 43 |
|
| 44 |
**Incorrect** (1 shown)
|
| 45 |
|
| 46 |
+
- **reference**: `756`
|
| 47 |
- **overall** (0/8 completions correct)
|
| 48 |
+
- **extracted** (✗): `0`
|
| 49 |
- **completion**:
|
| 50 |
|
| 51 |
```text
|
| 52 |
+
Let the centers of the balloons be \(A\), \(B\), and \(C\) with radii \(11\), \(13\), and \(19\) respectively. The distances between centers are \(AB = 11 + 13 = 24\), \(BC = 13 + 19 = 32\), and \(CA = 11 + 19 = 30\).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
+
Since the cross-sections are congruent and centered at \(X\), \(Y\), and \(Z\), and given \(XY^2 = 560\), we can use the Law of Cosines in triangle \(XYZ\) to find \(XZ^2\). We need to find \(YZ^2\) first using the Law of Cosines in triangle \(ABC\).
|
| 55 |
|
| 56 |
+
Using the Law of Cosines in triangle \(ABC\):
|
| 57 |
\[
|
| 58 |
+
\cos \angle ABC = \frac{AB^2 + BC^2 - CA^2}{2 \cdot AB \cdot BC} = \frac{24^2 + 32^2 - 30^2}{2 \cdot 24 \cdot 32} = \frac{576 + 1024 - 900}{1536} = \frac{1300}{1536} = \frac{1625}{2048}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
\]
|
|
|
|
| 60 |
\[
|
| 61 |
+
YZ^2 = 560 + 32^2 - 2 \cdot 560 \cdot \frac{1625}{2048} = 560 + 1024 - \frac{1840000}{2048} = 1584 - 900 = 684
|
| 62 |
\]
|
| 63 |
+
Now, applying the Law of Cosines again in triangle \(XYZ\):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
\[
|
| 65 |
+
XZ^2 = 560 + 684 - 2 \sqrt{560 \cdot 684} = 1244 - 2 \sqrt{386640} = 1244 - 2 \cdot 622 = 1244 - 1244 = 0
|
| 66 |
\]
|
| 67 |
+
Thus, \(XZ^2 = \boxed{0}\).
|
| 68 |
```
|