Instructions to use cs-552-2026-OAAA/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-OAAA/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-OAAA/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-OAAA/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-OAAA/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-OAAA/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-OAAA/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-OAAA/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-OAAA/math_model
- SGLang
How to use cs-552-2026-OAAA/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-OAAA/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-OAAA/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-OAAA/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-OAAA/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-OAAA/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-OAAA/math_model
Update Automated MNLP evaluation report (2026-05-28)
Browse files- EVAL_REPORT.md +61 -80
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-OAAA/math_model`](https://huggingface.co/cs-552-2026-OAAA/math_model)
|
| 4 |
- **Owner(s):** group **OAAA**
|
| 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,111 +24,96 @@ _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 figure out
|
| 35 |
|
| 36 |
-
First, the
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
2 treeks + 1 goolee = 1 squig
|
| 43 |
-
|
| 44 |
-
And the que
|
| 45 |
-
|
| 46 |
-
... [truncated 822 chars] ...
|
| 47 |
-
|
| 48 |
-
3 treeks.
|
| 49 |
-
|
| 50 |
-
Therefore, the answer is 3. So, the number of treeks equal to 1 squig is 3. Therefore, \boxed{3}
|
| 51 |
-
|
| 52 |
-
**Final Answer**
|
| 53 |
-
\boxed{3}
|
| 54 |
-
</think>
|
| 55 |
-
|
| 56 |
-
To determine how many treeks have a combined weight equal to that of 1 squig, we begin by defining the weights of the three units:
|
| 57 |
-
|
| 58 |
-
- Let $ T $ represent the weight of one treek.
|
| 59 |
-
- Let $ S $ represent the weight of one squig.
|
| 60 |
-
- Let $ G $ represent the weight of one goolee.
|
| 61 |
-
|
| 62 |
-
---
|
| 63 |
-
|
| 64 |
-
### Step 1: Translate the given information into equations
|
| 65 |
-
|
| 66 |
-
From the problem, we are told:
|
| 67 |
-
|
| 68 |
-
1. **10 treeks weigh as much as 3 squigs plus 1 goolee:**
|
| 69 |
|
| 70 |
$$
|
| 71 |
-
|
| 72 |
$$
|
| 73 |
|
| 74 |
-
|
| 75 |
|
| 76 |
$$
|
| 77 |
-
|
| 78 |
$$
|
| 79 |
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
### Step 2: Solve the system of equations
|
| 83 |
-
|
| 84 |
-
From equation (2), solve for $ G $:
|
| 85 |
|
| 86 |
$$
|
| 87 |
-
|
| 88 |
$$
|
| 89 |
|
| 90 |
-
|
| 91 |
|
| 92 |
$$
|
| 93 |
-
|
| 94 |
$$
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
|
| 99 |
-
10T = 4S - 2T
|
| 100 |
-
$$
|
| 101 |
|
| 102 |
-
|
| 103 |
|
| 104 |
$$
|
| 105 |
-
|
| 106 |
$$
|
| 107 |
|
| 108 |
-
|
| 109 |
|
| 110 |
$$
|
| 111 |
-
|
| 112 |
$$
|
| 113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
---
|
| 115 |
|
| 116 |
-
### Step
|
| 117 |
|
| 118 |
-
|
| 119 |
|
| 120 |
-
$$
|
| 121 |
-
|
| 122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
-
|
| 125 |
|
| 126 |
---
|
| 127 |
|
| 128 |
-
### Final Answer
|
|
|
|
|
|
|
| 129 |
|
| 130 |
$$
|
| 131 |
-
\boxed{
|
| 132 |
$$
|
| 133 |
```
|
| 134 |
|
|
@@ -143,33 +128,29 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 143 |
<think>
|
| 144 |
Okay, so I need to find the measure of angle BAC in this figure where there's a square and a regular heptagon sharing the side AD. Let me try to visualize the Asymptote figure first.
|
| 145 |
|
| 146 |
-
From the Asymptote code, it seems that there
|
| 147 |
|
| 148 |
... [truncated 823 chars] ...
|
| 149 |
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
So perhaps I need to compute coordinates of points A, B, C, then compute the angle.
|
| 153 |
-
|
| 154 |
-
Given that, let me proceed.
|
| 155 |
|
| 156 |
-
|
| 157 |
|
| 158 |
-
|
| 159 |
|
| 160 |
-
|
| 161 |
|
| 162 |
-
|
| 163 |
|
| 164 |
-
|
| 165 |
|
| 166 |
-
|
| 167 |
|
| 168 |
-
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
-
|
| 173 |
|
| 174 |
-
|
| 175 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-OAAA/math_model`](https://huggingface.co/cs-552-2026-OAAA/math_model)
|
| 4 |
- **Owner(s):** group **OAAA**
|
| 5 |
+
- **Generated at:** 2026-05-28T08:03:33+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.1500 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `70`
|
| 28 |
+
- **overall** (5/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `70`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
Okay, so I need to figure out the sum of all integer values of the base b greater than 9 for which the base-b number 17 divides the base-b number 97. Hmm, let me start by understanding what the problem is asking.
|
| 35 |
|
| 36 |
+
First, base-b numbers. In base b, the number 17 would be 1*b + 7, right? And 97 in base b would be 9*b + 7. The problem says that 17 (in base b) divides 97 (in base b). Wait, but
|
| 37 |
|
| 38 |
+
... [truncated 821 chars] ...
|
| 39 |
|
| 40 |
+
rewrite $ 9b + 7 $ in terms of $ b + 7 $:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
$$
|
| 43 |
+
9b + 7 = 9(b + 7) - 56
|
| 44 |
$$
|
| 45 |
|
| 46 |
+
So the congruence becomes:
|
| 47 |
|
| 48 |
$$
|
| 49 |
+
9(b + 7) - 56 \equiv 0 \pmod{b + 7}
|
| 50 |
$$
|
| 51 |
|
| 52 |
+
This implies:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
$$
|
| 55 |
+
-56 \equiv 0 \pmod{b + 7}
|
| 56 |
$$
|
| 57 |
|
| 58 |
+
So:
|
| 59 |
|
| 60 |
$$
|
| 61 |
+
b + 7 \mid 56
|
| 62 |
$$
|
| 63 |
|
| 64 |
+
---
|
| 65 |
|
| 66 |
+
### Step 3: Find All Positive Divisors of 56
|
|
|
|
|
|
|
| 67 |
|
| 68 |
+
The positive divisors of 56 are:
|
| 69 |
|
| 70 |
$$
|
| 71 |
+
1, 2, 4, 7, 8, 14, 28, 56
|
| 72 |
$$
|
| 73 |
|
| 74 |
+
We are only interested in divisors of 56 that are **greater than** $ b > 9 $, so $ b + 7 $ must be greater than 16. From the list, the valid divisors are:
|
| 75 |
|
| 76 |
$$
|
| 77 |
+
28, 56
|
| 78 |
$$
|
| 79 |
|
| 80 |
+
So:
|
| 81 |
+
|
| 82 |
+
- $ b + 7 = 28 \Rightarrow b = 21 $
|
| 83 |
+
- $ b + 7 = 56 \Rightarrow b = 49 $
|
| 84 |
+
|
| 85 |
---
|
| 86 |
|
| 87 |
+
### Step 4: Verify the Values of $ b $
|
| 88 |
|
| 89 |
+
We check both values to ensure they satisfy the original condition:
|
| 90 |
|
| 91 |
+
- For $ b = 21 $:
|
| 92 |
+
$$
|
| 93 |
+
17_{21} = 1 \cdot 21 + 7 = 28,\quad 97_{21} = 9 \cdot 21 + 7 = 196
|
| 94 |
+
$$
|
| 95 |
+
$$
|
| 96 |
+
\frac{196}{28} = 7 \Rightarrow \text{Divisible}
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
- For $ b = 49 $:
|
| 100 |
+
$$
|
| 101 |
+
17_{49} = 1 \cdot 49 + 7 = 56,\quad 97_{49} = 9 \cdot 49 + 7 = 448
|
| 102 |
+
$$
|
| 103 |
+
$$
|
| 104 |
+
\frac{448}{56} = 8 \Rightarrow \text{Divisible}
|
| 105 |
+
$$
|
| 106 |
|
| 107 |
+
Both values of $ b $ satisfy the condition.
|
| 108 |
|
| 109 |
---
|
| 110 |
|
| 111 |
+
### Step 5: Compute the Final Answer
|
| 112 |
+
|
| 113 |
+
The valid values of $ b $ are $ 21 $ and $ 49 $, so their sum is:
|
| 114 |
|
| 115 |
$$
|
| 116 |
+
21 + 49 = \boxed{70}
|
| 117 |
$$
|
| 118 |
```
|
| 119 |
|
|
|
|
| 128 |
<think>
|
| 129 |
Okay, so I need to find the measure of angle BAC in this figure where there's a square and a regular heptagon sharing the side AD. Let me try to visualize the Asymptote figure first.
|
| 130 |
|
| 131 |
+
From the Asymptote code, it seems that there's a regular heptagon and a square sharing the side AD. The square is probably attached to the heptagon along side AD. The points are labeled A, B, C, D, and other
|
| 132 |
|
| 133 |
... [truncated 823 chars] ...
|
| 134 |
|
| 135 |
+
h is the length of vector AF. Since AF is (2 sin(180°/7), 0), the length is 2 sin(180°/7). Therefore, adding (0,1) times that vector, which is (0, 2 sin(180°/7)), to point A. Therefore, coordinates of C are:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
+
C_x = A_x + 0 = -sin(180°/7)
|
| 138 |
|
| 139 |
+
C_y = A_y + 2 sin(180°/7) = -cos(180°/7) + 2 sin(180°/7)
|
| 140 |
|
| 141 |
+
Similarly, D is C + F - A. Let's compute F - A:
|
| 142 |
|
| 143 |
+
F - A = [sin(180°/7) - (-sin(180°/7)), -cos(180°/7) - (-cos(180°/7))] = [2 sin(180°/7), 0], same as before.
|
| 144 |
|
| 145 |
+
So, D = C + [2 sin(180°/7), 0] = [ -sin(180°/7) + 2 sin(180°/7), -cos(180°/7) + 2 sin(180°/7) ] = [ sin(180°/7), -cos(180°/7) + 2 sin(180°/7) ]
|
| 146 |
|
| 147 |
+
So, coordinates of D are (sin(180°/7), -cos(180°/7) + 2 sin(180°/7)).
|
| 148 |
|
| 149 |
+
Now, point B is dir(360*2/7 + 90°). Let me compute that angle: 360*2/7 + 90 = 720/7 + 630/7 = 1350/7 ≈ 192.857°, which is the third vertex of the heptagon. So, point B is at angle 192.857°, which is 90° + 2*(360/7) = same as the third vertex.
|
| 150 |
|
| 151 |
+
Therefore, coordinates of B: (cos(192.857°), sin(192.857°)).
|
| 152 |
|
| 153 |
+
Similarly, cos(192.857°) = cos(90° + 102.857°) = -sin(102.857°). Wait, 192.857° is 90° + 102.857°, and 102.857° is 360/7* (something). Let me check:
|
| 154 |
|
| 155 |
+
102.857° is approximately 360/7 * 2.857... Wait, 360/7 ≈ 51.428°, so 2.85
|
| 156 |
```
|