Instructions to use cs-552-2026-TopHaylin/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-TopHaylin/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-TopHaylin/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-TopHaylin/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-TopHaylin/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-TopHaylin/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-TopHaylin/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-TopHaylin/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-TopHaylin/math_model
- SGLang
How to use cs-552-2026-TopHaylin/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-TopHaylin/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-TopHaylin/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-TopHaylin/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-TopHaylin/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-TopHaylin/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-TopHaylin/math_model
Update Automated MNLP evaluation report (2026-06-03)
Browse files- EVAL_REPORT.md +52 -52
EVAL_REPORT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-TopHaylin/math_model`](https://huggingface.co/cs-552-2026-TopHaylin/math_model)
|
| 4 |
- **Owner(s):** group **TopHaylin**
|
| 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,9 +24,9 @@ _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
|
|
@@ -34,31 +34,39 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 34 |
|
| 35 |
</think>
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
\]
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
\[
|
| 51 |
-
|
| 52 |
\]
|
| 53 |
-
|
| 54 |
-
Thus, the value of $b$ is $\boxed{\frac{7}{4}}$.
|
| 55 |
```
|
| 56 |
|
| 57 |
**Incorrect** (1 shown)
|
| 58 |
|
| 59 |
-
- **reference**: `
|
| 60 |
- **overall** (0/8 completions correct)
|
| 61 |
-
- **extracted** (✗): `
|
| 62 |
- **completion**:
|
| 63 |
|
| 64 |
```text
|
|
@@ -66,42 +74,34 @@ _Prompts are intentionally omitted to avoid revealing benchmark contents. For mu
|
|
| 66 |
|
| 67 |
</think>
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
... [truncated 495 chars] ...
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
\]
|
| 88 |
-
- Since $\cos(\angle ABC)$ is the cosine of the angle between $AB$ and $BC$, and given the symmetry of the problem, we can simplify this to:
|
| 89 |
-
\[
|
| 90 |
-
XZ^2 = 560 + 2 \cdot 11 \cdot 13 \cdot 19 + 530.
|
| 91 |
-
\]
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
\]
|
| 98 |
-
- Add the values:
|
| 99 |
-
\[
|
| 100 |
-
560 + 5774 + 530 = 6864.
|
| 101 |
-
\]
|
| 102 |
|
| 103 |
-
|
| 104 |
\[
|
| 105 |
-
\
|
| 106 |
\]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
```
|
|
|
|
| 2 |
|
| 3 |
- **Model repo:** [`cs-552-2026-TopHaylin/math_model`](https://huggingface.co/cs-552-2026-TopHaylin/math_model)
|
| 4 |
- **Owner(s):** group **TopHaylin**
|
| 5 |
+
- **Generated at:** 2026-06-03T08:04: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.3200 | ok |
|
| 15 |
| Knowledge | — | not run |
|
| 16 |
| Multilingual | — | not run |
|
| 17 |
| Safety | — | not run |
|
|
|
|
| 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
|
|
|
|
| 34 |
|
| 35 |
</think>
|
| 36 |
|
| 37 |
+
1. **Identify Key Points and Properties**:
|
| 38 |
+
- Given: Isosceles triangle $XYZ$ with $XY = XZ$, $P$ is the circumcenter, $Q$ is the midpoint of $YZ$, and $R$ is the reflection of $Q$ across $XZ$.
|
| 39 |
+
- $S$ is such that $XQYS$ forms a rectangle.
|
| 40 |
+
- $\angle YXZ = a$.
|
| 41 |
|
| 42 |
+
2. **Properties of the Circumcenter $P$**:
|
| 43 |
+
- Since $P$ is the circumcenter of $\triangle XYZ$, it is equidistant from all vertices of the triangle.
|
| 44 |
+
- Therefore, $PX = PY = PZ$.
|
|
|
|
| 45 |
|
| 46 |
+
3. **Reflection and Symmetry**:
|
| 47 |
+
- Reflecting $Q$ across $XZ$ to get $R$ implies that $Q$ and $R$ are symmetric with respect to $XZ$.
|
| 48 |
+
- Since $Q$ is the midpoint of $YZ$, and $R$ is the reflection of $Q$ across $XZ$, $R$ is symmetric to $Q$ about $XZ$.
|
| 49 |
+
|
| 50 |
+
4. **Rectangle $XQYS$**:
|
| 51 |
+
- $XQYS$ forms a rectangle, implying that $QY = XS$ and $XY = QS$.
|
| 52 |
+
- Given $XY = XZ$, this symmetry will also hold for $QS$ and $XY$.
|
| 53 |
+
|
| 54 |
+
5. **Calculate $\angle PRS$**:
|
| 55 |
+
- Since $R$ is symmetric to $Q$ about $XZ$, and $XZ$ is one of the equal sides of the isosceles triangle, $\angle PRS$ will be equal to $\angle QYS$.
|
| 56 |
+
- $\angle QYS$ is half of $\angle YXZ$ because $Q$ and $S$ are symmetric about $XY$.
|
| 57 |
+
- Therefore, $\angle PRS = \frac{a}{2}$.
|
| 58 |
|
| 59 |
+
### Conclusion:
|
| 60 |
\[
|
| 61 |
+
\boxed{\frac{a}{2}}
|
| 62 |
\]
|
|
|
|
|
|
|
| 63 |
```
|
| 64 |
|
| 65 |
**Incorrect** (1 shown)
|
| 66 |
|
| 67 |
+
- **reference**: `104`
|
| 68 |
- **overall** (0/8 completions correct)
|
| 69 |
+
- **extracted** (✗): `<no answer>`
|
| 70 |
- **completion**:
|
| 71 |
|
| 72 |
```text
|
|
|
|
| 74 |
|
| 75 |
</think>
|
| 76 |
|
| 77 |
+
To find the distance from point $P$ to the faces of tetrahedron $WXYZ$, we use the formula for the volume of a tetrahedron:
|
| 78 |
+
\[
|
| 79 |
+
V = \frac{1}{3} \times \text{Area of one face} \times \text{Height}.
|
| 80 |
+
\]
|
| 81 |
+
Let the common distance from $P$ to each face be $d$. Since $P$ is equidistant from all four faces, we can express the volume $V$ as:
|
| 82 |
+
\[
|
| 83 |
+
V = \frac{1}{3} \times \text{Total area of al
|
|
|
|
|
|
|
| 84 |
|
| 85 |
+
... [truncated 823 chars] ...
|
| 86 |
|
| 87 |
+
t{41}+\sqrt{80}+\sqrt{89}}{2}-\sqrt{41}\right)\left(\frac{\sqrt{41}+\sqrt{80}+\sqrt{89}}{2}-\sqrt{80}\right)\left(\frac{\sqrt{41}+\sqrt{80}+\sqrt{89}}{2}-\sqrt{89}\right)}.
|
| 88 |
+
\]
|
| 89 |
+
- For face $XYZ$ with sides $\sqrt{80}$, $\sqrt{89}$, and $\sqrt{89}$, the area is:
|
| 90 |
+
\[
|
| 91 |
+
A_4 = \sqrt{\left(\frac{\sqrt{80}+\sqrt{89}+\sqrt{89}}{2}\right)\left(\frac{\sqrt{80}+\sqrt{89}+\sqrt{89}}{2}-\sqrt{80}\right)\left(\frac{\sqrt{80}+\sqrt{89}+\sqrt{89}}{2}-\sqrt{89}\right)\left(\frac{\sqrt{80}+\sqrt{89}+\sqrt{89}}{2}-\sqrt{89}\right)}.
|
| 92 |
+
\]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
+
Assuming all faces are congruent, we can simplify the calculation:
|
| 95 |
+
\[
|
| 96 |
+
\text{Total area} = 4 \times A_1.
|
| 97 |
+
\]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
+
Using the volume formula, solve for $d$:
|
| 100 |
\[
|
| 101 |
+
d = \frac{3V}{4A_1}.
|
| 102 |
\]
|
| 103 |
+
|
| 104 |
+
Finally, express $d$ in the form $\frac{a\sqrt{b}}{c}$ and calculate $a+b+c$. This requires detailed computation of the areas and volumes of the faces, as well as the common distance $d$.
|
| 105 |
+
|
| 106 |
+
Conclusion: The sum $a+b+c$ is found by calculating the common distance $d$ and simplifying it to the form $\frac{a\sqrt{b}}{c}$, where $a$, $b$, and $c$ are integers, and $a$ and $c$ are relatively prime. The specific values depend on the detailed calculations of the areas and volumes of the tetrahedron's faces.
|
| 107 |
```
|