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
Automated MNLP evaluation report (2026-06-11)
#1
by zechen-nlp - opened
- EVAL_REPORT.md +133 -0
EVAL_REPORT.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Automated MNLP evaluation report
|
| 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-11T06:23:10+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._
|
| 9 |
+
|
| 10 |
+
## Evaluated checkpoint
|
| 11 |
+
|
| 12 |
+
- **Commit:** [`addcaa1`](https://huggingface.co/cs-552-2026-mnlplus/math_model/commit/addcaa1f93098b72139069143e727bbdb8c02a80)
|
| 13 |
+
- **Message:** Upload Qwen3ForCausalLM
|
| 14 |
+
- **Committed:** 2026-06-09T10:28:08+00:00
|
| 15 |
+
|
| 16 |
+
## Summary
|
| 17 |
+
|
| 18 |
+
| Benchmark | Accuracy | Status |
|
| 19 |
+
|---|---:|---|
|
| 20 |
+
| Math | 0.4600 | ok |
|
| 21 |
+
| Knowledge | β | not run |
|
| 22 |
+
| Multilingual | β | not run |
|
| 23 |
+
| Safety | β | not run |
|
| 24 |
+
|
| 25 |
+
## Sample completions
|
| 26 |
+
|
| 27 |
+
_Prompts are intentionally omitted to avoid revealing benchmark contents. For multi-completion problems, only one completion is shown per sample._
|
| 28 |
+
|
| 29 |
+
### Math
|
| 30 |
+
|
| 31 |
+
**Correct** (1 shown)
|
| 32 |
+
|
| 33 |
+
- **reference**: `4`
|
| 34 |
+
- **overall** (2/8 completions correct)
|
| 35 |
+
- **extracted** (β): `4`
|
| 36 |
+
- **completion**:
|
| 37 |
+
|
| 38 |
+
```text
|
| 39 |
+
<think>
|
| 40 |
+
Okay, so I need to figure out the largest positive integer \( n \) such that there exist distinct real numbers \( a_1, a_2, \ldots, a_n \) each between 0 and 1, and for every pair \( i \neq j \), the equation \( a_i^{[1/a_j]} = a_j^{[1/a_i]} \) holds. The brackets here represent the floor function, which is the greatest integer less than or equal to the number inside.
|
| 41 |
+
|
| 42 |
+
First, let me make
|
| 43 |
+
|
| 44 |
+
... [truncated 823 chars] ...
|
| 45 |
+
|
| 46 |
+
d,e): e = d^k
|
| 47 |
+
|
| 48 |
+
Therefore, from (c,e) and (d,e):
|
| 49 |
+
|
| 50 |
+
2^{-k/2} = d^k β d = 2^{-k/2k} = 2^{-1/2} = 1/β2
|
| 51 |
+
|
| 52 |
+
Therefore, d=1/β2. But this is already c. Not good. Therefore, no solution for d. Hence, n=5 is impossible.
|
| 53 |
+
|
| 54 |
+
Therefore, the maximum n is 4.
|
| 55 |
+
|
| 56 |
+
But let's check if there's another set of numbers for n=4. Suppose we have a=1/2, b=1/4, c=1/β2, and d= something else. Let's define d such that all pairs satisfy the equation. For example:
|
| 57 |
+
|
| 58 |
+
For pair (a,d): (1/2)^k = d^2
|
| 59 |
+
|
| 60 |
+
For pair (b,d): (1/4)^k = d^4
|
| 61 |
+
|
| 62 |
+
For pair (c,d): (1/(2β2))^k = d^1
|
| 63 |
+
|
| 64 |
+
For pair (d,d): Not applicable since d must be distinct.
|
| 65 |
+
|
| 66 |
+
From (a,d) and (b,d):
|
| 67 |
+
|
| 68 |
+
From (a,d): d = 2^{-k/2}
|
| 69 |
+
|
| 70 |
+
From (b,d): d = 4^{-k/4} = 2^{-k/2}
|
| 71 |
+
|
| 72 |
+
From (c,d): d = (1/(2β2))^k = 2^{-3k/2}
|
| 73 |
+
|
| 74 |
+
Therefore, 2^{-k/2} = 2^{-3k/2} β -k/2 = -3k/2 β k=0, which is invalid. Therefore, no solution for d. Hence, n=4 is impossible with this approach.
|
| 75 |
+
|
| 76 |
+
Therefore, the only way to have n=4 is through the previous example where d=1/β2, which is part of the existing set. Hence, n=4 is possible with a=1/2, b=1/4, c=1/(2β2), d=1/β2.
|
| 77 |
+
|
| 78 |
+
Therefore, after this lengthy exploration, the largest n is 4.
|
| 79 |
+
|
| 80 |
+
**Final Answer**
|
| 81 |
+
The largest positive integer \( n \) is \(\boxed{4}\).
|
| 82 |
+
</think>
|
| 83 |
+
|
| 84 |
+
\boxed{4}
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
**Incorrect** (1 shown)
|
| 88 |
+
|
| 89 |
+
- **reference**: `237`
|
| 90 |
+
- **overall** (0/8 completions correct)
|
| 91 |
+
- **extracted** (β): `60671`
|
| 92 |
+
- **completion**:
|
| 93 |
+
|
| 94 |
+
```text
|
| 95 |
+
<think>
|
| 96 |
+
Alright, let's tackle this problem step by step. So, we need to find the probability that a randomly chosen non-empty subset \( B \) of the positive divisors of 2025 has a least common multiple (LCM) of 2025. Then, express this probability as a reduced fraction \( m/n \) and find \( m + n \).
|
| 97 |
+
|
| 98 |
+
First, let's recall that the number of positive divisors of a number can be determined from its
|
| 99 |
+
|
| 100 |
+
... [truncated 823 chars] ...
|
| 101 |
+
|
| 102 |
+
l to the total number of subsets minus the number of subsets with no b_i=2. However, the intersection is not straightforward.
|
| 103 |
+
|
| 104 |
+
Wait, but in our previous calculation, we used inclusion-exclusion to subtract the subsets that don't have a_i=4 or don't have b_i=2. That gives us the correct count. Let's verify this with another method.
|
| 105 |
+
|
| 106 |
+
Another way to compute |T β© U| is:
|
| 107 |
+
|
| 108 |
+
|T β© U| = Total subsets - subsets without T - subsets without U + subsets without T and without U
|
| 109 |
+
|
| 110 |
+
Which is exactly what we did earlier. So, substituting the numbers:
|
| 111 |
+
|
| 112 |
+
Total subsets: 2^15 = 32768
|
| 113 |
+
|
| 114 |
+
Subsets without T: subsets without any a_i=4: 2^12 = 4096
|
| 115 |
+
|
| 116 |
+
Subsets without U: subsets without any b_i=2: 2^10 = 1024
|
| 117 |
+
|
| 118 |
+
Subsets without T and U: subsets without any a_i=4 and without any b_i=2: 2^8 = 256
|
| 119 |
+
|
| 120 |
+
Therefore, |T β© U| = 32768 - 4096 - 1024 + 256 = 27904
|
| 121 |
+
|
| 122 |
+
Thus, confirming our previous result. Therefore, N = 27904.
|
| 123 |
+
|
| 124 |
+
Therefore, the probability is 27904 / (2^15 - 1) = 27904 / 32767. Since 27904 and 32767 are coprime (as shown by the GCD calculation), the fraction is already reduced. Hence, m = 27904 and n = 32767, so m + n = 60671.
|
| 125 |
+
|
| 126 |
+
Therefore, the final answer is 60671.
|
| 127 |
+
|
| 128 |
+
**Final Answer**
|
| 129 |
+
\boxed{60671}
|
| 130 |
+
</think>
|
| 131 |
+
|
| 132 |
+
\boxed{60671}
|
| 133 |
+
```
|