Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
grpo
trl
conversational
text-generation-inference
Instructions to use cs-552-2026-clankers-builder/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-clankers-builder/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-clankers-builder/math_model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cs-552-2026-clankers-builder/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-clankers-builder/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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cs-552-2026-clankers-builder/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-clankers-builder/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-clankers-builder/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-clankers-builder/math_model
- SGLang
How to use cs-552-2026-clankers-builder/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-clankers-builder/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-clankers-builder/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-clankers-builder/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-clankers-builder/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-clankers-builder/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-clankers-builder/math_model
Update Automated MNLP evaluation report (2026-05-19)
Browse files- EVAL_REPORT.md +44 -68
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-clankers-builder/math_model`](https://huggingface.co/cs-552-2026-clankers-builder/math_model)
|
| 4 |
- **Owner(s):** group **clankers-builder**
|
| 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._
|
|
@@ -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,113 +24,89 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
-
- **reference**: `
|
| 28 |
-
- **overall** (
|
| 29 |
-
- **extracted** (✓): `
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
-
Okay, so I need to
|
| 35 |
|
| 36 |
-
First, let me
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
-
- $\frac{4}{\sqrt{3}} = \frac{4\sqrt{3}}{3}$
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
-
|
| 48 |
-
\frac{3\sqrt{2}}{2} + \frac{4\sqrt{3}}{3}
|
| 49 |
-
$$
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
| 56 |
|
| 57 |
-
|
| 58 |
-
- $\frac{4\sqrt{3}}{3} = \frac{8\sqrt{3}}{6}$
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
-
\frac{9\sqrt{2} + 8\sqrt{3}}{6}
|
| 64 |
-
$$
|
| 65 |
|
| 66 |
-
|
|
|
|
|
|
|
| 67 |
|
| 68 |
-
|
|
|
|
| 69 |
|
| 70 |
-
|
|
|
|
| 71 |
|
| 72 |
-
|
| 73 |
-
\frac{a\sqrt{2} + b\sqrt{3}}{c} = \frac{9\sqrt{2} + 8\sqrt{3}}{6}
|
| 74 |
-
$$
|
| 75 |
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
-
- $b = 8$
|
| 80 |
-
- $c = 6$
|
| 81 |
-
|
| 82 |
-
---
|
| 83 |
-
|
| 84 |
-
### Step 5: Verify Minimality of $c$
|
| 85 |
-
|
| 86 |
-
We check if $c = 6$ is the smallest possible. Since the numerator contains terms with different square roots ($\sqrt{2}$ and $\sqrt{3}$), and the denominator is 6, and the numerator is in the form $a\sqrt{2} + b\sqrt{3}$, there is no common factor between the numerator and the denominator that can reduce the denominator further. Thus, $c = 6$ is indeed the smallest possible.
|
| 87 |
-
|
| 88 |
-
---
|
| 89 |
-
|
| 90 |
-
### Final Answer
|
| 91 |
-
|
| 92 |
-
$$
|
| 93 |
-
a + b + c = 9 + 8 + 6 = \boxed{23}
|
| 94 |
-
$$
|
| 95 |
```
|
| 96 |
|
| 97 |
**Incorrect** (1 shown)
|
| 98 |
|
| 99 |
-
- **reference**: `
|
| 100 |
- **overall** (0/8 completions correct)
|
| 101 |
- **extracted** (✗): `<no answer>`
|
| 102 |
- **completion**:
|
| 103 |
|
| 104 |
```text
|
| 105 |
<think>
|
| 106 |
-
Okay, so I need to
|
| 107 |
-
|
| 108 |
-
First, let me visualize the grid. A 2x2 gr
|
| 109 |
|
| 110 |
-
..
|
| 111 |
|
| 112 |
-
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
| 117 |
|
| 118 |
-
|
| 119 |
|
| 120 |
-
|
| 121 |
|
| 122 |
-
|
| 123 |
|
| 124 |
-
|
| 125 |
|
| 126 |
-
|
| 127 |
-
- (1,1) -- (1,2): V5 (middle vertical segment)
|
| 128 |
-
- (0,1) -- (1,1): V2 (middle vertical segment)
|
| 129 |
-
- (2,0) -- (2,1): V3 (right vertical segment)
|
| 130 |
-
- (1,0) -- (2,0): H2 (middle horizontal segment)
|
| 131 |
-
- (0,0) -- (1,0): H1 (bottom horizontal segment)
|
| 132 |
|
| 133 |
-
|
| 134 |
|
| 135 |
-
|
| 136 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-clankers-builder/math_model`](https://huggingface.co/cs-552-2026-clankers-builder/math_model)
|
| 4 |
- **Owner(s):** group **clankers-builder**
|
| 5 |
+
- **Generated at:** 2026-05-19T03:22:52+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.2200 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `1600`
|
| 28 |
+
- **overall** (7/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `1600`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
Okay, so I need to solve this problem where I have to find the value of x given the equation: 441 + 2 × 21 × 19 + 361 = x. Hmm, let me break this down step by step.
|
| 35 |
|
| 36 |
+
First, let me write down the equation again to make sure I have it right:
|
| 37 |
|
| 38 |
+
441 + 2 × 21 × 19 + 361 = x
|
| 39 |
|
| 40 |
+
Alright, so there are three main parts here: 441, 2 multiplied by 21 multiplied by 19, and then 361. The question is aski
|
| 41 |
|
| 42 |
+
... [truncated 822 chars] ...
|
|
|
|
| 43 |
|
| 44 |
+
, let me also check if there's another way to interpret the original equation. The problem says: 441 + 2 × 21 × 19 + 361 = x.
|
| 45 |
|
| 46 |
+
Is there any possibility that the multiplication is done in a different order? For example, if the equation was 441 + (2 × 21) × 19 + 361, but in this case, the original equation is written as 441 + 2 × 21 × 19 + 361. According to the order of operations (PEMDAS/BODMAS), multiplication is done before addition. So, the multiplication is done first.
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
Therefore, 2 × 21 × 19 is computed first, then added to 441 and 361. Which is exactly what I did.
|
| 49 |
|
| 50 |
+
So, the order is correct. Therefore, the answer is indeed 1600.
|
| 51 |
|
| 52 |
+
Alternatively, if the equation was written differently, like 441 + 2 × (21 × 19) + 361, but in this case, the parentheses aren't there. So, it's just 2 multiplied by 21 multiplied by 19.
|
| 53 |
|
| 54 |
+
So, yeah, the multiplication is done first.
|
|
|
|
| 55 |
|
| 56 |
+
Therefore, I think the answer is 1600.
|
| 57 |
|
| 58 |
+
Just to recap:
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
1. Compute 2 × 21 × 19:
|
| 61 |
+
- 21 × 19 = 399
|
| 62 |
+
- 399 × 2 = 798
|
| 63 |
|
| 64 |
+
2. Add 441 and 798:
|
| 65 |
+
- 441 + 798 = 1239
|
| 66 |
|
| 67 |
+
3. Add 361 to the previous result:
|
| 68 |
+
- 1239 + 361 = 1600
|
| 69 |
|
| 70 |
+
All steps check out. Therefore, x = 1600.
|
|
|
|
|
|
|
| 71 |
|
| 72 |
+
**Final Answer**
|
| 73 |
+
\boxed{1600}
|
| 74 |
+
|
| 75 |
+
</think>
|
| 76 |
|
| 77 |
+
\boxed{1600}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
```
|
| 79 |
|
| 80 |
**Incorrect** (1 shown)
|
| 81 |
|
| 82 |
+
- **reference**: `$\frac{1}{3}$`
|
| 83 |
- **overall** (0/8 completions correct)
|
| 84 |
- **extracted** (✗): `<no answer>`
|
| 85 |
- **completion**:
|
| 86 |
|
| 87 |
```text
|
| 88 |
<think>
|
| 89 |
+
Okay, so I need to solve this geometry problem involving a tetrahedron and some points related to it. Let me try to parse the problem step by step.
|
|
|
|
|
|
|
| 90 |
|
| 91 |
+
First, we have a tetrahedron \( T_1T_2T_3T_4 \) in \( \mathbb{R}^3 \). A point \( C \) is such that its distances to all four vertices are equal. That means \( C \) is equidistant from all four vertices of the tetrahedron. Hmm, in a tetrahedro
|
| 92 |
|
| 93 |
+
... [truncated 822 chars] ...
|
| 94 |
|
| 95 |
+
\( (0, 0, k) \), then the line \( T_1K \) is along the z-axis, going from \( T_1 = (0, 0, k) \) through \( K = (0, 0, h) \). Wait, but then the projection of \( K \) onto the xy-plane is \( (0, 0, 0) \), which is \( T_1 \). So, \( X = T_1 \), and \( KX = |h - k| \). But \( T_1 \) is at \( (0, 0, k) \), so the distance from \( K = (0, 0, h) \) to the plane (xy-plane) is \( |h| \), so \( KX = |h| \). Therefore, \( KX = |h| \).
|
| 96 |
|
| 97 |
+
Now, \( C \) is the circumcenter. Let's find the coordinates of \( C \). Since \( C \) is equidistant to all four vertices. Let me denote the coordinates of \( T_1 = (0, 0, k) \), \( T_2 = (a, b, 0) \), \( T_3 = (c, d, 0) \), \( T_4 = (e, f, 0) \). Then, the circumcenter \( C \) must satisfy the equations:
|
| 98 |
|
| 99 |
+
Distance from \( C = (x, y, z) \) to \( T_1 \): \( \sqrt{(x - 0)^2 + (y - 0)^2 + (z - k)^2} = R \).
|
| 100 |
|
| 101 |
+
Distance from \( C \) to \( T_2 \): \( \sqrt{(x - a)^2 + (y - b)^2 + (z - 0)^2} = R \).
|
| 102 |
|
| 103 |
+
Similarly for \( T_3 \) and \( T_4 \).
|
| 104 |
|
| 105 |
+
Squaring these equations and subtracting the equations for \( T_1 \) and \( T_2 \):
|
| 106 |
|
| 107 |
+
From \( T_2 \): \( x^2 + y^2 + z^2 + 2xz - 2az - 2bz + a^2 + b^2 = R^2 \).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
From \( T_1 \): \( x^2 + y^2 + (z - k)^2 = R^2 \).
|
| 110 |
|
| 111 |
+
Subtracting the T
|
| 112 |
```
|