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-11)
Browse files- EVAL_REPORT.md +50 -26
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._
|
|
@@ -17,7 +17,7 @@ _This PR is opened automatically by the course CI. It is **non-blocking** β yo
|
|
| 17 |
|
| 18 |
| Benchmark | Accuracy | Status |
|
| 19 |
|---|---:|---|
|
| 20 |
-
| Math | 0.
|
| 21 |
| Knowledge | β | not run |
|
| 22 |
| Multilingual | β | not run |
|
| 23 |
| Safety | β | not run |
|
|
@@ -30,68 +30,92 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 30 |
|
| 31 |
**Correct** (1 shown)
|
| 32 |
|
| 33 |
-
- **reference**: `
|
| 34 |
-
- **overall** (
|
| 35 |
-
- **extracted** (β): `
|
| 36 |
- **completion**:
|
| 37 |
|
| 38 |
```text
|
| 39 |
<think>
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
... [truncated 823 chars] ...
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
**Final Answer**
|
| 55 |
-
\boxed{
|
| 56 |
</think>
|
| 57 |
|
| 58 |
-
\boxed{
|
| 59 |
```
|
| 60 |
|
| 61 |
**Incorrect** (1 shown)
|
| 62 |
|
| 63 |
- **reference**: `60750, 854130, 854970`
|
| 64 |
- **overall** (0/8 completions correct)
|
| 65 |
-
- **extracted** (β): `
|
| 66 |
- **completion**:
|
| 67 |
|
| 68 |
```text
|
| 69 |
<think>
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
... [truncated 823 chars] ...
|
| 75 |
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
-
|
| 79 |
|
| 80 |
-
|
| 81 |
|
| 82 |
-
|
| 83 |
|
| 84 |
-
|
| 85 |
|
| 86 |
-
|
| 87 |
|
| 88 |
-
|
| 89 |
|
| 90 |
-
|
| 91 |
|
| 92 |
**Final Answer**
|
| 93 |
-
The possible sums are \boxed{60750} and \boxed{
|
| 94 |
</think>
|
| 95 |
|
| 96 |
-
\boxed{60750} and \boxed{
|
| 97 |
```
|
|
|
|
| 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-11T04:19:46+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._
|
|
|
|
| 17 |
|
| 18 |
| Benchmark | Accuracy | Status |
|
| 19 |
|---|---:|---|
|
| 20 |
+
| Math | 0.4200 | ok |
|
| 21 |
| Knowledge | β | not run |
|
| 22 |
| Multilingual | β | not run |
|
| 23 |
| Safety | β | not run |
|
|
|
|
| 30 |
|
| 31 |
**Correct** (1 shown)
|
| 32 |
|
| 33 |
+
- **reference**: `99774`
|
| 34 |
+
- **overall** (1/8 completions correct)
|
| 35 |
+
- **extracted** (β): `99774`
|
| 36 |
- **completion**:
|
| 37 |
|
| 38 |
```text
|
| 39 |
<think>
|
| 40 |
+
Alright, let's try to solve this cryptarithm problem. The equation given is:
|
| 41 |
|
| 42 |
+
HATER + HEART = EARTH
|
| 43 |
+
|
| 44 |
+
We need to find the unique 5-digit integer EARTH where E, A, R, T, H are digits (with E and H being non-zero). The digits don't have to be distinct, but leading digits can't be zero. Let's break this down step by step.
|
| 45 |
+
|
| 46 |
+
First, let's write out the addition vertically to visualize the columns
|
| 47 |
|
| 48 |
... [truncated 823 chars] ...
|
| 49 |
|
| 50 |
+
+ c2. But c2=1, so 16 +1=17, which is R +10*c3=7 +10*1=17. Correct. Then, the thousands place is T + E + c3=7 +9 +1=17, which is T +10*c4=7 +10*1=17. Correct. The ten-thousands place is H + H +c4=4 +4 +1=9. Correct. The units and tens places are correctly handled. So the final result is 99774, which is EARTH=99774. Therefore, the solution is H=4, E=9, A=9, R=7, T=7.
|
| 51 |
+
|
| 52 |
+
But let's check the original problem statement: "Determine the unique 5-digit integer EARTH for which the cryptarithm HATER + HEART = EARTH is valid."
|
| 53 |
+
|
| 54 |
+
So EARTH=99774. But wait, in HATER, the digits are H=4, A=9, T=7, E=9, R=7. So HATER=4 9 7 9 7=49797.
|
| 55 |
+
|
| 56 |
+
HEART=4 9 9 7 7=49977.
|
| 57 |
+
|
| 58 |
+
Adding them:49797 +49977=99774. Yes, that's correct. So the unique solution is EARTH=99774.
|
| 59 |
|
| 60 |
+
But let's check if there are other possible solutions. Earlier, we had H=4, E=9, c3=1, c4=1, leading to A=9, R=7, T=7. Is there any other possibility?
|
| 61 |
|
| 62 |
+
We considered E=9, since c3=1 requires E=9. What if c3=0? Earlier, we thought E=0, but E cannot be 0. So E must be 9. Therefore, the only solution is E=9, H=4, A=9, R=7, T=7.
|
| 63 |
|
| 64 |
+
Hence, the unique 5-digit integer is 99774.
|
| 65 |
|
| 66 |
**Final Answer**
|
| 67 |
+
The unique 5-digit integer is \boxed{99774}.
|
| 68 |
</think>
|
| 69 |
|
| 70 |
+
\boxed{99774}
|
| 71 |
```
|
| 72 |
|
| 73 |
**Incorrect** (1 shown)
|
| 74 |
|
| 75 |
- **reference**: `60750, 854130, 854970`
|
| 76 |
- **overall** (0/8 completions correct)
|
| 77 |
+
- **extracted** (β): `854970`
|
| 78 |
- **completion**:
|
| 79 |
|
| 80 |
```text
|
| 81 |
<think>
|
| 82 |
+
Alright, so I need to solve this functional equation problem. Let me start by reading the problem again carefully.
|
| 83 |
|
| 84 |
+
We have a function \( h: \mathbb{N} \to \mathbb{N} \setminus \{1\} \). The equation given is for every \( n \in \mathbb{N} \):
|
| 85 |
+
|
| 86 |
+
\[ h(n) + h(n+1) = h(n+2)h(n+3) - 840. \]
|
| 87 |
+
|
| 88 |
+
And we need to determine every value that can occur for the sum \( \sum_{i=1}^{2025} h(i) \).
|
| 89 |
+
|
| 90 |
+
Hmm, okay
|
| 91 |
|
| 92 |
... [truncated 823 chars] ...
|
| 93 |
|
| 94 |
+
is these three sums.
|
| 95 |
+
|
| 96 |
+
But the problem might expect the answer as a list inside a single box. For example:
|
| 97 |
+
|
| 98 |
+
The possible sums are \boxed{60750}, \boxed{854130}, and \boxed{854970}.
|
| 99 |
+
|
| 100 |
+
But since the user instruction says "put your final answer within \boxed{}", perhaps they expect a single boxed answer. However, in this case, there are three possible sums, so multiple boxed answers are appropriate.
|
| 101 |
|
| 102 |
+
But let me check the problem statement again: "Determine every value that can occur for β_{i=1}^{2025} h(i)."
|
| 103 |
|
| 104 |
+
Therefore, the answer is that the possible sums are 60,750, 854,130, and 854,970.
|
| 105 |
|
| 106 |
+
Therefore, the final answer is:
|
| 107 |
|
| 108 |
+
\boxed{60750}, \boxed{854130}, and \boxed{854970}
|
| 109 |
|
| 110 |
+
But I need to check if the user expects a single boxed answer. However, given the way the question is phrased, it's likely that all three values are possible, so I should present them all.
|
| 111 |
|
| 112 |
+
However, looking back at the problem statement, it says "every value that can occur", so all three are possible.
|
| 113 |
|
| 114 |
+
Therefore, the answer is three values: 60,750, 854,130, and 854,970.
|
| 115 |
|
| 116 |
**Final Answer**
|
| 117 |
+
The possible sums are \boxed{60750}, \boxed{854130}, and \boxed{854970}.
|
| 118 |
</think>
|
| 119 |
|
| 120 |
+
\boxed{60750}, \boxed{854130}, and \boxed{854970}
|
| 121 |
```
|