Instructions to use cs-552-2026-the-transformers/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-the-transformers/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-the-transformers/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-the-transformers/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-the-transformers/math_model") 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-the-transformers/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-the-transformers/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-the-transformers/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-the-transformers/math_model
- SGLang
How to use cs-552-2026-the-transformers/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-the-transformers/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-the-transformers/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-the-transformers/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-the-transformers/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-the-transformers/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-the-transformers/math_model
Automated MNLP evaluation report (2026-06-01)
#4
by zechen-nlp - opened
- EVAL_REPORT.md +60 -67
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-the-transformers/math_model`](https://huggingface.co/cs-552-2026-the-transformers/math_model)
|
| 4 |
- **Owner(s):** group **the-transformers**
|
| 5 |
-
- **Generated at:** 2026-
|
| 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,57 +24,37 @@ _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 |
<think>
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
\]
|
| 44 |
-
|
| 45 |
-
To solve for \(x\), we can cross-multiply:
|
| 46 |
-
\[
|
| 47 |
-
3 \times 53.25 = 10 \times x
|
| 48 |
-
\]
|
| 49 |
-
|
| 50 |
-
Calculating the left side:
|
| 51 |
-
\[
|
| 52 |
-
3 \times 53.25 = 159.75
|
| 53 |
-
\]
|
| 54 |
-
|
| 55 |
-
So, we have:
|
| 56 |
-
\[
|
| 57 |
-
159.75 = 10x
|
| 58 |
-
\]
|
| 59 |
-
|
| 60 |
-
To find \(x\), we divide both sides by 10:
|
| 61 |
-
\[
|
| 62 |
-
x = \frac{159.75}{10} = 15.975
|
| 63 |
-
\]
|
| 64 |
-
|
| 65 |
-
Now, we need to express 15.975 as a fraction. We can write 15.975 as:
|
| 66 |
-
\[
|
| 67 |
-
15.975 = \frac{15975}{1000}
|
| 68 |
-
\]
|
| 69 |
|
| 70 |
-
|
| 71 |
\[
|
| 72 |
-
|
| 73 |
-
\]
|
| 74 |
|
| 75 |
-
|
| 76 |
-
\[
|
| 77 |
-
\boxed{\frac{639}{40}}
|
| 78 |
\]
|
| 79 |
```
|
| 80 |
|
|
@@ -87,32 +67,45 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 87 |
|
| 88 |
```text
|
| 89 |
<think>
|
| 90 |
-
To solve this problem, we need to
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
-
|
| 97 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 98 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 99 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 100 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 101 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 102 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 103 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 104 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 105 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 106 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 107 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 108 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 109 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 110 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 111 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 112 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 113 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 114 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 115 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 116 |
-
\[ XZ^2 = 1600 - 2 \cdot 24 \cdot \frac{10912}{480}. \]
|
| 117 |
-
\[ XZ^2 = 1600 - 2 \cdot 2
|
| 118 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-the-transformers/math_model`](https://huggingface.co/cs-552-2026-the-transformers/math_model)
|
| 4 |
- **Owner(s):** group **the-transformers**
|
| 5 |
+
- **Generated at:** 2026-06-01T06:13:57+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{a}{2}$`
|
| 28 |
+
- **overall** (1/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `\frac{a}{2}`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
1. **Identify Key Points and Relationships:**
|
| 35 |
+
- Given that $XYZ$ is an isosceles triangle with $XY = XZ$, the circumcenter $P$ lies on the perpendicular bisector of $YZ$.
|
| 36 |
+
- $Q$ is the midpoint of $YZ$, and $R$ is the reflection of $Q$ across $XZ$.
|
| 37 |
+
- $S$ is chosen such that $XQYS$ forms a rectangle.
|
| 38 |
|
| 39 |
+
2. **Determine the Angles:**
|
| 40 |
+
- Since $XQYS$ is a rectangle, $\angle XQY = 90^\circ$.
|
| 41 |
+
- Because $Q$ is the midpoint of $YZ$, $QY = QZ$.
|
| 42 |
+
- Since $XQYS$ is a rectangle, $\angle XQS = 90^\circ$.
|
| 43 |
+
- Given $\angle YXZ = a$, we have $\angle QXZ = \frac{a}{2}$ because $Q$ is the midpoint of $YZ$.
|
| 44 |
|
| 45 |
+
3. **Calculate $\angle QXR$:**
|
| 46 |
+
- Since $R$ is the reflection of $Q$ across $XZ$, $\angle QXR = \angle QXZ = \frac{a}{2}$.
|
| 47 |
+
- Therefore, $\angle QXR = \frac{a}{2}$.
|
| 48 |
|
| 49 |
+
4. **Determine $\angle PRS$:**
|
| 50 |
+
- Since $P$ is the circumcenter of $\triangle XYZ$, $\angle PRS = \angle QXR$.
|
| 51 |
+
- Therefore, $\angle PRS = \frac{a}{2}$.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
### Conclusion:
|
| 54 |
\[
|
| 55 |
+
</think>
|
|
|
|
| 56 |
|
| 57 |
+
\boxed{\frac{a}{2}}
|
|
|
|
|
|
|
| 58 |
\]
|
| 59 |
```
|
| 60 |
|
|
|
|
| 67 |
|
| 68 |
```text
|
| 69 |
<think>
|
| 70 |
+
To solve this problem, we need to find the squared distance between the centers of the three spherical balloons, given that the centers of the balloons lie on one side of a plane that cuts the balloons into three congruent circular cross-sections. We are given that the radii of the balloons are \(11\), \(13\), and \(19\), and the squared distance between the centers of the first and second
|
| 71 |
+
|
| 72 |
+
... [truncated 821 chars] ...
|
| 73 |
+
|
| 74 |
+
226. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 75 |
+
Using the Pythagorean theorem again, we have:
|
| 76 |
+
\[
|
| 77 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 78 |
+
\]
|
| 79 |
+
|
| 80 |
+
227. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 81 |
+
Using the Pythagorean theorem again, we have:
|
| 82 |
+
\[
|
| 83 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 84 |
+
\]
|
| 85 |
+
|
| 86 |
+
228. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 87 |
+
Using the Pythagorean theorem again, we have:
|
| 88 |
+
\[
|
| 89 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 90 |
+
\]
|
| 91 |
+
|
| 92 |
+
229. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 93 |
+
Using the Pythagorean theorem again, we have:
|
| 94 |
+
\[
|
| 95 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 96 |
+
\]
|
| 97 |
|
| 98 |
+
230. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 99 |
+
Using the Pythagorean theorem again, we have:
|
| 100 |
+
\[
|
| 101 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 102 |
+
\]
|
| 103 |
|
| 104 |
+
231. **Calculate the squared distance between the centers of the first and third balloons:**
|
| 105 |
+
Using the Pythagorean theorem again, we have:
|
| 106 |
+
\[
|
| 107 |
+
AC^2 = 11^2 + 19^2 = 121 + 361 = 482
|
| 108 |
+
\]
|
| 109 |
|
| 110 |
+
232.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
```
|