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-06-05)
Browse files- EVAL_REPORT.md +57 -92
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-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,44 +24,38 @@ _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 |
-
1.
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
2.
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
3.
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
5. **Final Calculation:**
|
| 57 |
-
- Given \(\angle YXZ = a\), then \(\angle PRS = \frac{a}{2}\).
|
| 58 |
-
|
| 59 |
-
\[
|
| 60 |
-
|
| 61 |
-
\]
|
| 62 |
</think>
|
| 63 |
|
| 64 |
-
\boxed{
|
| 65 |
```
|
| 66 |
|
| 67 |
**Incorrect** (1 shown)
|
|
@@ -73,62 +67,33 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 73 |
|
| 74 |
```text
|
| 75 |
<think>
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 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 |
-
Given $XY^2 = 560$, and $YZ^2 = 560 + XZ^2$:
|
| 107 |
-
\[
|
| 108 |
-
XZ^2 = 560 + (560 + XZ^2)
|
| 109 |
-
\]
|
| 110 |
-
\[
|
| 111 |
-
XZ^2 = 1120 + XZ^2
|
| 112 |
-
\]
|
| 113 |
-
\[
|
| 114 |
-
0 = 1120
|
| 115 |
-
\]
|
| 116 |
-
This is still a contradiction. Let's re-evaluate the problem setup.
|
| 117 |
-
|
| 118 |
-
95. **Correct the setup**:
|
| 119 |
-
The correct approach should use the spheres' radii and the distances between their centers. Using the Pythagorean theorem in triangle $XYZ$:
|
| 120 |
-
\[
|
| 121 |
-
XZ^2 = XY^2 + YZ^2
|
| 122 |
-
\]
|
| 123 |
-
Given $XY^2 = 560$, and $YZ^2 = 560 + XZ^2$:
|
| 124 |
-
\[
|
| 125 |
-
XZ^2 = 560 + (560 + XZ^2)
|
| 126 |
-
\]
|
| 127 |
-
\[
|
| 128 |
-
XZ^2 = 1120 + XZ^2
|
| 129 |
-
\]
|
| 130 |
-
\[
|
| 131 |
-
0 = 1120
|
| 132 |
-
\]
|
| 133 |
-
This is
|
| 134 |
```
|
|
|
|
| 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-06-05T03:00: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.4300 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 24 |
|
| 25 |
**Correct** (1 shown)
|
| 26 |
|
| 27 |
+
- **reference**: `305`
|
| 28 |
+
- **overall** (3/8 completions correct)
|
| 29 |
+
- **extracted** (✓): `305`
|
| 30 |
- **completion**:
|
| 31 |
|
| 32 |
```text
|
| 33 |
<think>
|
| 34 |
+
Alright, let's try to tackle this problem. So, we need to find all positive integers n between 99 and 206 inclusive such that the numbers 1, 2, ..., 2n can be partitioned into n pairs where the differences within each pair are exactly 1, 2, ..., n. Then, among all such n, we need to find the smallest (m) and the largest (M) and compute m + M.
|
| 35 |
+
|
| 36 |
+
First, let me make sure I understand the prob
|
| 37 |
+
|
| 38 |
+
... [truncated 823 chars] ...
|
| 39 |
+
|
| 40 |
+
1, 2, 3.
|
| 41 |
+
|
| 42 |
+
Permutation: 1, 3, 4, 6, 5, 2. Differences: 2, 1, 2, 1, 3. Not 1, 2, 3.
|
| 43 |
+
|
| 44 |
+
Permutation: 1, 5, 6, 3, 4, 2. Differences: 4, 1, 3, 1, 2. Not 1, 2, 3.
|
| 45 |
+
|
| 46 |
+
Permutation: 1, 6, 2, 5, 3, 4. Differences: 5, 4, 3, 2, 1. Not 1, 2, 3.
|
| 47 |
+
|
| 48 |
+
Permutation: 1, 6, 2, 5, 4, 3. Differences: 5, 4, 3, 1, 1. Not 1, 2, 3.
|
| 49 |
+
|
| 50 |
+
This approach also doesn't work. Perhaps there's no permutation with differences 1, 2, ..., n for n ≥ 3, which would mean that the only possible n are 1 and 2, but the problem states n ranges from 99 to 206. This is a dead end.
|
| 51 |
+
|
| 52 |
+
Given all this, I must conclude that either the problem is misstated, or there is a specific condition I'm missing. Given the time I've spent and the lack of progress, I'll have to make an educated guess based on the problem's range. If we assume that only n=1 and n=2 are possible, but the problem states n ranges from 99 to 206, this suggests that there's a pattern where for each n, it's possible or not, and the problem is asking for the minimum and maximum in a specific range. Perhaps the answer is 99 + 206 = 305, assuming that all n in 99 to 206 are in S.
|
| 53 |
+
|
| 54 |
+
**Final Answer**
|
| 55 |
+
The sum of the smallest and largest elements in S is \boxed{305}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
</think>
|
| 57 |
|
| 58 |
+
\boxed{305}
|
| 59 |
```
|
| 60 |
|
| 61 |
**Incorrect** (1 shown)
|
|
|
|
| 67 |
|
| 68 |
```text
|
| 69 |
<think>
|
| 70 |
+
Okay, so I need to solve this geometry problem about three spherical balloons with radii 11, 13, and 19. They are externally tangent to each other, meaning each pair touches at exactly one point. Then there's a plane cutting through all three balloons, creating three congruent circular cross-sections with centers X, Y, Z. The centers of the balloons all lie on one side of the plane, and we
|
| 71 |
+
|
| 72 |
+
... [truncated 823 chars] ...
|
| 73 |
+
|
| 74 |
+
intersects the lines connecting the sphere's centers to the points of tangency.
|
| 75 |
+
|
| 76 |
+
For each sphere, the line from the center to the point of tangency is a line that is not necessarily perpendicular to the plane.
|
| 77 |
+
|
| 78 |
+
Therefore, the cross-section centers X, Y, Z are located at points along these lines, and the distance between X and Y is 560.
|
| 79 |
+
|
| 80 |
+
Given this, we need to find the distance between X and Z.
|
| 81 |
+
|
| 82 |
+
Let's denote the points of tangency between A and B as T, between B and C as U, and between C and A as V. The cross-section centers X, Y, Z are located at points on lines AT, BU, CV, respectively.
|
| 83 |
+
|
| 84 |
+
The distance from each center to the plane is h_A, h_B, h_C, and the radii of the cross-sections are k = sqrt(R_i^2 - h_i^2).
|
| 85 |
+
|
| 86 |
+
The distance between X and Y is 560, and we need to find XZ^2.
|
| 87 |
+
|
| 88 |
+
To find this, we need to relate the positions of X, Y, Z in 3D space.
|
| 89 |
+
|
| 90 |
+
Let's consider the vectors from X to Y and from X to Z.
|
| 91 |
+
|
| 92 |
+
The vector from X to Y is Y - X, and the vector from X to Z is Z - X.
|
| 93 |
+
|
| 94 |
+
To find these vectors, we need to know the positions of X, Y, Z in 3D space.
|
| 95 |
+
|
| 96 |
+
Let's place the plane as the xy-plane for simplicity.
|
| 97 |
+
|
| 98 |
+
Let's assume the centers A, B, C are in 3D space with z-coordinates h_A, h_B, h_C
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
```
|