Instructions to use cs-552-2026-mnlplus/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-mnlplus/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-mnlplus/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-mnlplus/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-mnlplus/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-mnlplus/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-mnlplus/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-mnlplus/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-mnlplus/math_model
- SGLang
How to use cs-552-2026-mnlplus/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-mnlplus/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-mnlplus/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-mnlplus/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-mnlplus/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-mnlplus/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-mnlplus/math_model
Update Automated MNLP evaluation report (2026-05-24)
Browse files- EVAL_REPORT.md +59 -117
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-mnlplus/math_model`](https://huggingface.co/cs-552-2026-mnlplus/math_model)
|
| 4 |
- **Owner(s):** group **mnlplus**
|
| 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._
|
|
@@ -31,38 +31,36 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
-
|
| 38 |
-
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
-
|
| 43 |
-
|
| 44 |
-
3. **
|
| 45 |
-
- Since \(XQYS\) is a rectangle, \(XQ\)
|
| 46 |
-
- This implies that \(
|
| 47 |
-
|
| 48 |
-
4. **
|
| 49 |
-
-
|
| 50 |
-
-
|
| 51 |
-
|
| 52 |
-
5. **
|
| 53 |
-
- Since \(\
|
|
|
|
|
|
|
| 54 |
\[
|
| 55 |
-
\angle
|
| 56 |
\]
|
| 57 |
|
| 58 |
-
6. **
|
| 59 |
-
- \(\angle PRS\)
|
| 60 |
-
- Using the properties of the circumcircle and the symmetry of the isosceles triangle, we can deduce that \(\angle PRS = \frac{a}{2}\).
|
| 61 |
-
|
| 62 |
-
7. **Conclusion:**
|
| 63 |
-
- The measure of \(\angle PRS\) in terms of \(\angle YXZ = a\) is:
|
| 64 |
\[
|
| 65 |
-
|
| 66 |
\]
|
| 67 |
</think>
|
| 68 |
|
|
@@ -73,102 +71,46 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 73 |
|
| 74 |
- **reference**: `756`
|
| 75 |
- **overall** (0/8 completions correct)
|
| 76 |
-
- **extracted** (✗): `
|
| 77 |
- **completion**:
|
| 78 |
|
| 79 |
```text
|
| 80 |
<think>
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
\[
|
| 112 |
-
\cos(\angle ABC) = \frac{175}{384}
|
| 113 |
-
\]
|
| 114 |
-
|
| 115 |
-
Then,
|
| 116 |
-
|
| 117 |
-
\[
|
| 118 |
-
\cos(\angle BAX) = \cos(\angle BAY) = \cos(\angle CAX) = \frac{175}{384}
|
| 119 |
-
\]
|
| 120 |
-
|
| 121 |
-
Using the Law of Cosines in triangle \(AXY\):
|
| 122 |
-
|
| 123 |
-
\[
|
| 124 |
-
AX^2 = AY^2 + XY^2 - 2 \cdot AY \cdot XY \cdot \cos(\angle AYX)
|
| 125 |
-
\]
|
| 126 |
-
|
| 127 |
-
\[
|
| 128 |
-
d^2 = d^2 + d^2 - 2 \cdot d^2 \cdot \frac{175}{384}
|
| 129 |
-
\]
|
| 130 |
-
|
| 131 |
-
\[
|
| 132 |
-
d^2 = 2d^2 - \frac{350}{384}d^2
|
| 133 |
-
\]
|
| 134 |
-
|
| 135 |
-
\[
|
| 136 |
-
d^2 = 2d^2 - \frac{350}{384}d^2
|
| 137 |
-
\]
|
| 138 |
-
|
| 139 |
-
\[
|
| 140 |
-
\frac{350}{384}d^2 = d^2
|
| 141 |
-
\]
|
| 142 |
-
|
| 143 |
-
\[
|
| 144 |
-
\frac{350}{384} = 1
|
| 145 |
-
\]
|
| 146 |
-
|
| 147 |
-
\[
|
| 148 |
-
\frac{350}{384} = \frac{175}{192}
|
| 149 |
-
\]
|
| 150 |
-
|
| 151 |
-
Thus,
|
| 152 |
-
|
| 153 |
-
\[
|
| 154 |
-
d^2 = \frac{175}{192}
|
| 155 |
-
\]
|
| 156 |
-
|
| 157 |
-
Finally,
|
| 158 |
|
|
|
|
| 159 |
\[
|
| 160 |
-
XZ^2 = \frac{175}{192} \cdot 2 = \frac{350}{192} = \frac{175}{96}
|
| 161 |
-
\]
|
| 162 |
|
| 163 |
-
Thus,
|
| 164 |
-
|
| 165 |
-
\[
|
| 166 |
-
XZ^2 = 175 \times 2 = 350
|
| 167 |
\]
|
| 168 |
-
|
| 169 |
-
Conclusion:
|
| 170 |
-
\(\)
|
| 171 |
</think>
|
| 172 |
|
| 173 |
-
\boxed{
|
| 174 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-mnlplus/math_model`](https://huggingface.co/cs-552-2026-mnlplus/math_model)
|
| 4 |
- **Owner(s):** group **mnlplus**
|
| 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._
|
|
|
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
1. **Identify Key Points and Angles**:
|
| 35 |
+
- Let \(P\) be the circumcenter of the isosceles triangle \( \triangle XYZ \) with \( XY = XZ \).
|
| 36 |
+
- Let \(Q\) be the midpoint of \(YZ\).
|
| 37 |
+
- Let \(R\) be the reflection of \(Q\) over the side \(XZ\).
|
| 38 |
+
- Let \(S\) be a point such that the quadrilateral \(XQYS\) is a rectangle.
|
| 39 |
+
- Given \(\angle YXZ = a\).
|
| 40 |
+
|
| 41 |
+
2. **Properties of the Reflection**:
|
| 42 |
+
- Since \(Q\) is the midpoint of \(YZ\), and \(R\) is the reflection of \(Q\) over \(XZ\), \(R\) lies on the extension of \(XZ\) such that \(XR = XQ\).
|
| 43 |
+
|
| 44 |
+
3. **Constructing the Rectangle**:
|
| 45 |
+
- Since \(XQYS\) is a rectangle, \(XQ\) and \(YS\) are perpendicular to each other, and \(XQ = YS\).
|
| 46 |
+
- This implies that \( \angle XQS = 90^\circ \).
|
| 47 |
+
|
| 48 |
+
4. **Using Symmetry and Congruence**:
|
| 49 |
+
- The triangle \( \triangle XQY \) is isosceles because \(XQ = YQ\).
|
| 50 |
+
- The angle \(\angle XQS\) is half of \(\angle YXZ\) because \(Q\) is the midpoint of \(YZ\) and \(R\) is symmetrically placed.
|
| 51 |
+
|
| 52 |
+
5. **Calculating \(\angle PRS\)**:
|
| 53 |
+
- Since \(P\) is the circumcenter of \( \triangle XYZ \), it lies on the perpendicular bisector of \(YZ\).
|
| 54 |
+
- Therefore, \(P\) is equidistant from \(X\), \(Y\), and \(Z\).
|
| 55 |
+
- The angle \(\angle PRS\) is determined by the symmetry and the fact that \(P\) is the circumcenter:
|
| 56 |
\[
|
| 57 |
+
\angle PRS = \frac{1}{2} \angle YXZ = \frac{a}{2}
|
| 58 |
\]
|
| 59 |
|
| 60 |
+
6. **Conclusion**:
|
| 61 |
+
- The angle \(\angle PRS\) in terms of \(a\) is:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
\[
|
| 63 |
+
|
| 64 |
\]
|
| 65 |
</think>
|
| 66 |
|
|
|
|
| 71 |
|
| 72 |
- **reference**: `756`
|
| 73 |
- **overall** (0/8 completions correct)
|
| 74 |
+
- **extracted** (✗): `1120`
|
| 75 |
- **completion**:
|
| 76 |
|
| 77 |
```text
|
| 78 |
<think>
|
| 79 |
+
We start with the given radii of the balloons: $r_1 = 11$, $r_2 = 13$, and $r_3 = 19$. The centers of the balloons are $X$, $Y$, and $Z$, respectively, and the distances between the centers are $XY$, $YZ$, and $XZ$. We are given that $XY^2 = 560$.
|
| 80 |
+
|
| 81 |
+
1. **Calculate $YZ^2$**:
|
| 82 |
+
Using the Pythagorean theorem in triangle $XYZ$:
|
| 83 |
+
\[
|
| 84 |
+
YZ^2 = XY^2 + XZ^2 - 2 \cdot XY \cdot XZ \cdot \cos(\theta)
|
| 85 |
+
\]
|
| 86 |
+
Since $X$, $Y$, and $Z$ are the centers of the spheres and the triangles formed are right-angled, we have:
|
| 87 |
+
\[
|
| 88 |
+
YZ^2 = XY^2 + XZ^2 - 2 \cdot XY \cdot XZ \cdot \cos(90^\circ) = XY^2 + XZ^2
|
| 89 |
+
\]
|
| 90 |
+
Given $XY = \sqrt{560}$, we substitute and solve:
|
| 91 |
+
\[
|
| 92 |
+
YZ^2 = 560 + XZ^2
|
| 93 |
+
\]
|
| 94 |
+
|
| 95 |
+
2. **Calculate $XZ^2$**:
|
| 96 |
+
Using the Pythagorean theorem in triangle $XZP$ where $P$ is the point of tangency on the third sphere:
|
| 97 |
+
\[
|
| 98 |
+
XZ^2 = XY^2 + YZ^2 - 2 \cdot XY \cdot YZ \cdot \cos(90^\circ) = XY^2 + YZ^2
|
| 99 |
+
\]
|
| 100 |
+
Substituting $XY^2 = 560$ and $YZ^2 = 560 + XZ^2$:
|
| 101 |
+
\[
|
| 102 |
+
XZ^2 = 560 + (560 + XZ^2) = 1120 + XZ^2
|
| 103 |
+
\]
|
| 104 |
+
Solving for $XZ^2$:
|
| 105 |
+
\[
|
| 106 |
+
XZ^2 = 1120
|
| 107 |
+
\]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
+
Conclusion:
|
| 110 |
\[
|
|
|
|
|
|
|
| 111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
\]
|
|
|
|
|
|
|
|
|
|
| 113 |
</think>
|
| 114 |
|
| 115 |
+
\boxed{1120}
|
| 116 |
```
|