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-06-03)
Browse files- EVAL_REPORT.md +98 -63
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-06-
|
| 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._
|
|
@@ -11,7 +11,7 @@ _This PR is opened automatically by the course CI. It is **non-blocking** — yo
|
|
| 11 |
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
-
| Math | 0.
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
@@ -24,97 +24,132 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
-
- **reference**: `
|
| 28 |
- **overall** (1/8 completions correct)
|
| 29 |
-
- **extracted** (✓): `
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
-
1. **
|
| 34 |
-
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
2. **
|
| 37 |
-
|
|
|
|
| 38 |
|
| 39 |
-
... [truncated
|
| 40 |
|
| 41 |
-
|
| 42 |
-
-
|
| 43 |
-
- Another part where the removed cell was on a white square.
|
| 44 |
-
|
| 45 |
-
Each of these parts can be independently tiled using dominoes such that no domino contains more than one marked cell. Therefore, removing any one marked cell does not disrupt the tiling.
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
-
|
| 50 |
-
-
|
| 51 |
-
- This implies that \(192\) marked cells would suffice for the tiling.
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
| 55 |
|
| 56 |
-
|
| 57 |
-
Since \
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
```
|
| 62 |
|
| 63 |
**Incorrect** (1 shown)
|
| 64 |
|
| 65 |
-
- **reference**: `
|
| 66 |
- **overall** (0/8 completions correct)
|
| 67 |
-
- **extracted** (✗): `
|
| 68 |
- **completion**:
|
| 69 |
|
| 70 |
```text
|
| 71 |
-
1
|
| 72 |
-
Let \( h(x) = y \) for some \( y \in \mathbb{Z} \). We need to find the general form of \( h \) that satisfies the given functional equation for all \( x \in \mathbb{Q} \), \( a \in \mathbb{Z} \), and \( b \in \mathbb{N} \).
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
h\left(\frac{a}{b
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
|
| 82 |
-
\]
|
| 83 |
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
\
|
| 91 |
-
|
| 92 |
-
\
|
| 93 |
-
Simplify the argument inside the function:
|
| 94 |
-
\[
|
| 95 |
-
kx + c = h\left(\frac{kbx - ka + c + a}{b}\right)
|
| 96 |
-
\]
|
| 97 |
-
Since \( h \) is linear:
|
| 98 |
-
\[
|
| 99 |
-
kx + c = k\left(\frac{kbx - ka + c + a}{b}\right) + c
|
| 100 |
\]
|
| 101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
\[
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
\]
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
\[
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
| 108 |
\]
|
| 109 |
-
|
|
|
|
|
|
|
| 110 |
\[
|
| 111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
\]
|
| 113 |
-
Since \( k, c \in \mathbb{Z} \), both sides match, confirming that \( h(x) = kx + c \) is indeed a solution.
|
| 114 |
|
| 115 |
-
|
| 116 |
-
|
| 117 |
\[
|
| 118 |
-
\boxed{
|
| 119 |
\]
|
| 120 |
```
|
|
|
|
| 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-06-03T08:04:32+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._
|
|
|
|
| 11 |
|
| 12 |
| Benchmark | Accuracy | Status |
|
| 13 |
|---|---:|---|
|
| 14 |
+
| Math | 0.3400 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `2`
|
| 28 |
- **overall** (1/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `2`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
+
1. **Given Conditions:**
|
| 34 |
+
- $\angle X = 60^\circ$.
|
| 35 |
+
- $P$ and $Q$ lie on the sides $XY$ and $XZ$ respectively.
|
| 36 |
+
- The circumcenter of triangle $XYZ$ is the midpoint of the segment $PQ$.
|
| 37 |
|
| 38 |
+
2. **Identifying Triangle Type:**
|
| 39 |
+
- Since $\angle X = 60^\circ$ and triangle $XYZ$ is inscribed in a circle, let us denote the circumcenter of $\triangle XYZ$ as $O$.
|
| 40 |
+
- Given $O$ is the midpoint of $PQ
|
| 41 |
|
| 42 |
+
... [truncated 434 chars] ...
|
| 43 |
|
| 44 |
+
to the side opposite the vertex through which the line passes.
|
| 45 |
+
- In $\triangle XYZ$, $HO$ is perpendicular to $PQ$.
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
5. **Angles and Parallelism:**
|
| 48 |
+
- Since $H$ is the orthocenter, $\angle XHZ = 60^\circ$ because it is an angle formed by the altitudes intersecting at $H$.
|
| 49 |
+
- This implies that $\triangle XHZ$ is an equilateral triangle.
|
| 50 |
+
- Therefore, $HZ = XZ$.
|
|
|
|
| 51 |
|
| 52 |
+
6. **Using Perpendicular Bisectors:**
|
| 53 |
+
- Let $K$ be the midpoint of $PQ$ (which is the circumcenter of $\triangle XYZ$).
|
| 54 |
+
- Since $K$ is the midpoint of $PQ$, $PK = KQ$ and $PK \perp PQ$.
|
| 55 |
+
- Thus, $\angle POK = 90^\circ$ because $PK$ is perpendicular to $PQ$.
|
| 56 |
|
| 57 |
+
7. **Similarity of Triangles:**
|
| 58 |
+
- Since $\angle POK = 90^\circ$ and $\triangle XHZ$ is equilateral, we have:
|
| 59 |
+
\[
|
| 60 |
+
\triangle XHZ \sim \triangle OHP
|
| 61 |
+
\]
|
| 62 |
+
- Given that $HZ = XZ$, it follows that $O$ is the midpoint of $HZ$.
|
| 63 |
+
|
| 64 |
+
8. **Calculating Ratios:**
|
| 65 |
+
- Since $HZ = XZ$ and $HZ = 2HZ$, the ratio of $XZ$ to $HZ$ is:
|
| 66 |
+
\[
|
| 67 |
+
\frac{XZ}{HZ} = 2
|
| 68 |
+
\]
|
| 69 |
+
- Knowing that $HZ = 2PK$ and $HZ = 2OZ$, the ratio $XQ$ to $PY$ is determined by the fact that:
|
| 70 |
+
\[
|
| 71 |
+
\frac{XQ}{PY} = \frac{XZ}{HZ} = 2
|
| 72 |
+
\]
|
| 73 |
+
|
| 74 |
+
### Conclusion:
|
| 75 |
+
\[
|
| 76 |
+
\boxed{2}
|
| 77 |
+
\]
|
| 78 |
```
|
| 79 |
|
| 80 |
**Incorrect** (1 shown)
|
| 81 |
|
| 82 |
+
- **reference**: `60750, 854130, 854970`
|
| 83 |
- **overall** (0/8 completions correct)
|
| 84 |
+
- **extracted** (✗): `26358`
|
| 85 |
- **completion**:
|
| 86 |
|
| 87 |
```text
|
| 88 |
+
To solve the problem, we need to determine the function \( h: \mathbb{N} \rightarrow \mathbb{N} \setminus \{1\} \) satisfying the recurrence relation:
|
|
|
|
| 89 |
|
| 90 |
+
\[
|
| 91 |
+
h(n) + h(n+1) = h(n+2) h(n+3) - 840 \quad \text{for all } n \in \mathbb{N}.
|
| 92 |
+
\]
|
|
|
|
| 93 |
|
| 94 |
+
Let's follow the provided solution and expand it for better clarity.
|
| 95 |
|
| 96 |
+
1. **Rewriting the Recurrence Relation:**
|
|
|
|
| 97 |
|
| 98 |
+
The given recurrence relation can be rearranged t
|
| 99 |
+
|
| 100 |
+
... [truncated 525 chars] ...
|
| 101 |
+
|
| 102 |
+
\[
|
| 103 |
+
\begin{aligned}
|
| 104 |
+
h(3) + h(4) &= h(5) h(6) - 840, \\
|
| 105 |
+
h(4) + h(5) &= h(6) h(7) - 840.
|
| 106 |
+
\end{aligned}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
\]
|
| 108 |
+
|
| 109 |
+
4. **Solving for \( h(3) \) and \( h(4) \):**
|
| 110 |
+
|
| 111 |
+
We will iterate values to find possible sequences that satisfy the conditions. Let's begin with \( h(1) = 1 \) and \( h(2) = 2 \):
|
| 112 |
+
|
| 113 |
\[
|
| 114 |
+
\begin{aligned}
|
| 115 |
+
h(3) &= 5, \\
|
| 116 |
+
h(4) &= 21, \\
|
| 117 |
+
h(5) &= 50, \\
|
| 118 |
+
h(6) &= 21, \\
|
| 119 |
+
h(7) &= 5, \\
|
| 120 |
+
h(8) &= 21.
|
| 121 |
+
\end{aligned}
|
| 122 |
\]
|
| 123 |
+
|
| 124 |
+
5. **General Pattern Recognition:**
|
| 125 |
+
|
| 126 |
+
Notice that the sequence \( \{h(n)\} \) alternates between \( 5, 21, 50, 21, 5, 21, \ldots \).
|
| 127 |
+
|
| 128 |
+
6. **Summation Analysis:**
|
| 129 |
+
|
| 130 |
+
For the summation \( \sum_{i=1}^{2025} h(i) \):
|
| 131 |
+
|
| 132 |
\[
|
| 133 |
+
\begin{aligned}
|
| 134 |
+
&\sum_{i=1}^{2025} h(i) = h(1) + h(2) + h(3) + \cdots + h(2025) \\
|
| 135 |
+
&= 1 + 2 + 5 + 21 + 50 + 21 + 5 + 21 + \cdots + 21.
|
| 136 |
+
\end{aligned}
|
| 137 |
\]
|
| 138 |
+
|
| 139 |
+
Since the sequence alternates between 5 and 21, we can group terms:
|
| 140 |
+
|
| 141 |
\[
|
| 142 |
+
\begin{aligned}
|
| 143 |
+
&\sum_{i=1}^{2025} h(i) = 1 + 2 + (5 + 21) \times \frac{2025}{2} \\
|
| 144 |
+
&= 3 + 26 \times 1012 \\
|
| 145 |
+
&= 26332 + 26 \\
|
| 146 |
+
&= 26358.
|
| 147 |
+
\end{aligned}
|
| 148 |
\]
|
|
|
|
| 149 |
|
| 150 |
+
Thus, the sum of the first 2025 terms of the sequence \( h \) is:
|
| 151 |
+
|
| 152 |
\[
|
| 153 |
+
\boxed{26358}.
|
| 154 |
\]
|
| 155 |
```
|