Text Generation
Transformers
Safetensors
qwen3
Generated from Trainer
trl
sft
conversational
text-generation-inference
Run this model with HF Jobs
Run cs-552-2026-MandMP/math_model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/cs-552-2026-MandMP/math_model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/cs-552-2026-MandMP/math_model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/cs-552-2026-MandMP/math_model. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/cs-552-2026-MandMP/math_model. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use cs-552-2026-MandMP/math_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cs-552-2026-MandMP/math_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cs-552-2026-MandMP/math_model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("cs-552-2026-MandMP/math_model") model = AutoModelForCausalLM.from_pretrained("cs-552-2026-MandMP/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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cs-552-2026-MandMP/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-MandMP/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-MandMP/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cs-552-2026-MandMP/math_model
- SGLang
How to use cs-552-2026-MandMP/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-MandMP/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-MandMP/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-MandMP/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-MandMP/math_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use cs-552-2026-MandMP/math_model with Docker Model Runner:
docker model run hf.co/cs-552-2026-MandMP/math_model
Commit Β·
335c35a
1
Parent(s): 6e0bf51
Automated MNLP evaluation report (2026-05-21) (#5)
Browse files- Automated MNLP evaluation report (2026-05-21) (dec34dee43812881fac5d89adf39906171c9a452)
Co-authored-by: Zeming Chen - Eric <zechen-nlp@users.noreply.huggingface.co>
1 unmodified line23456782 unmodified lines1112131415161712 unmodified lines303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411 unmodified line- **Model repo:** [`cs-552-2026-MandMP/math_model`](https://huggingface.co/cs-552-2026-MandMP/math_model)- **Owner(s):** group **MandMP**- **Generated at:** 2026-05-20T05:49:46+00:00 (UTC)- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)_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._2 unmodified lines| Benchmark | Accuracy | Status ||---|---:|---|| Math | 0.1300 | ok || Knowledge | β | not run || Multilingual | β | not run || Safety | β | not run |12 unmodified lines- **completion**:```textOkay, so I need to solve the equation 10^x minus 10 equals 9990. Let me write that down first to make sure I have it right: 10^x - 10 = 9990. Alright, so my goal is to find the value of x that satisfies this equation.Hmm, let me think. I know that 10^x is a common exponential expression, and since the base is 10, maybe I can manipulate this equation to solve for x. Let me start by isolating the... [truncated 823 chars] ...ation: 10^x - 10 = 9990Add 10 to both sides: 10^x = 10,000Recognize that 10,000 is 10^4, so x = 4Check by substitution: 10^4 - 10 = 10,000 - 10 = 9,990, which matches the right side.Therefore, all steps are consistent and correct.I think that's thorough enough. I don't see any mistakes in my reasoning, and the answer checks out when substituted back into the original equation. So, I think x = 4 is the correct solution.**Final Answer**The solution is \boxed{4}.</think>To solve the equation:$$10^x - 10 = 9990$$---### Step 1: Isolate the Exponential TermWe begin by isolating the exponential term $ 10^x $ by adding 10 to both sides of the equation:$$10^x - 10 + 10 = 9990 + 10$$$$10^x = 10,000$$---### Step 2: Recognize the Exponential FormNow that we have:$$10^x = 10,000$$we recognize that $ 10,000 = 10^4 $. Therefore, we can equate the exponents:$$x = 4$$---### Step 3: Verify the SolutionTo confirm, substitute $ x = 4 $ back into the original equation:$$10^4 - 10 = 10,000 - 10 = 9,990$$This matches the right-hand side of the original equation, confirming that the solution is correct.---### Final Answer$$\boxed{4}$$```**Incorrect** (1 shown)- **reference**: `1012`- **overall** (0/8 completions correct)- **extracted** (β): `<no answer>`- **completion**:```textOkay, so I need to find the maximum possible value of the sum $\sum_{i=1}^{2023} \frac{a_i - a_{i-1}}{a_{i+1} - a_i}$, given that $a_0 = 0$ and each $a_{i+1} \geq 2a_i$ for $i = 1, 2, \ldots, 2023$. All the $a_i$ are positive real numbers.First, let me parse the problem. The variables are $a_1$ through $a_{2024}$, with $a_0 = 0$. The condition is that each subsequent term is at least twice the... [truncated 823 chars] ...i=1}^{2023} \frac{a_i - a_{i-1}}{a_{i+1} - a_i}$." So, the sum has 2023 terms, each involving $a_i - a_{i-1}$ and $a_{i+1} - a_i$.So, for n=2024, there are 2023 terms. So, the problem is for n=2024, with 2023 terms.But in my earlier examples with n=2 and n=3, the maximum was achieved when the sequence was constant.But let me think again. Suppose that for some i, we make b_{i+1} larger than b_i, then we have to make b_{i+2} larger than b_{i+1}, etc., which would make the subsequent terms smaller. However, if we make some b_i's larger and some smaller? But since the sequence must be non-decreasing, we can't make some b_i's smaller.Therefore, the only way to maximize the sum is to have all the b_i's equal.But let me think again. Suppose that for some i, we have b_{i+1} = b_i, and for other terms, b_{i+1} is larger. But since the sequence is non-decreasing, once we have b_{i+1} larger than b_i, we can't make it smaller. Therefore, the sequence is non-decreasing, so if we have some b_i's equal, and others larger, but the sum would be less than if all are equal.Therefore, the maximum is achieved when all b_i's are equal.Therefore, the maximum value of the sum is 2023```1 unmodified line23456782 unmodified lines1112131415161712 unmodified lines303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586871 unmodified line- **Model repo:** [`cs-552-2026-MandMP/math_model`](https://huggingface.co/cs-552-2026-MandMP/math_model)- **Owner(s):** group **MandMP**- **Generated at:** 2026-05-21T03:28:21+00:00 (UTC)- **Pipeline:** [mnlp-project-ci](https://github.com/eric11eca/mnlp-project-ci)_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._2 unmodified lines| Benchmark | Accuracy | Status ||---|---:|---|| Math | 0.1400 | ok || Knowledge | β | not run || Multilingual | β | not run || Safety | β | not run |12 unmodified lines- **completion**:```textOkay, so I need to solve the equation 10^x minus 10 equals 9990. Let me write that down first to make sure I have it right: 10^x - 10 = 9990. Alright, so my goal is to find the value of x that makes this equation true.Hmm, let me think. I remember that 10^x is a power of ten, right? So if I can figure out what power of ten, when subtracted by 10, gives me 9990. Let me try rearranging the equati... [truncated 821 chars] ...3 and 5. But we already found that x is 4, which is exactly in the middle.Wait, but since 10^x is 10,000, which is exactly 10^4, so x is 4. So even though 9990 is close to 10^4, the exact value is there.So, I think my answer is correct.But just to make sure, let me plug x = 4 back into the original equation.Left side: 10^4 - 10.10^4 is 10,000. 10,000 - 10 is 9,990. Which matches the right side of the equation.Therefore, x = 4 is the correct solution.I don't think I made any mistakes here. The key was recognizing that 10,000 is a power of ten, specifically 10^4, which makes the equation straightforward.Alternatively, if I didn't remember the powers of ten, I could have used logarithms, but since I already confirmed it with two different methods, I think it's safe.Another check: if I didn't remember 10^4 is 10,000, I could have written 10^x = 10,000. Then, since 10^1 = 10, 10^2 = 100, 10^3 = 1,000, 10^4 = 10,000. So x must be 4.So yeah, that's solid.I think that's all. I can't see any errors in my reasoning, and the answer checks out when I plug it back in. So I'm confident that x is 4.**Final Answer**The solution is \boxed{4}.</think>\boxed{4}```**Incorrect** (1 shown)- **reference**: `\frac{270}7\text{ degrees}`- **overall** (0/8 completions correct)- **extracted** (β): `<no answer>`- **completion**:```textOkay, so I need to find the measure of angle BAC in this figure where a square and a regular heptagon share the side AD. Hmm, let me try to visualize this. The Asymptote code draws a regular heptagon and a square sharing side AD. The square is drawn from point A to C to D to F and back to A, and then there's a square with points labeled A, C, D, F. Wait, maybe I need to think about the positions o... [truncated 823 chars] ...ernatively, maybe it's a combination of translation and rotation.But maybe I don't need to get bogged down in the Asymptote code. Let me try to think geometrically. The square and heptagon share side AD. So, AD is a side of both. The square has four sides, so AD is one side, and the square has another side connected to D. The heptagon has AD as a side, so the heptagon has another side connected to D. The Asymptote code defines point C as A + dir(90)*(F - A), which might be constructing point C such that AC is a side of the square? Wait, if AD is a side of the square, then maybe AC is also a side? But in the Asymptote code, the square is drawn as A--C--D--F. So, if AD is a side of the square, then maybe A is connected to D? But in the square A, C, D, F, A, that would require that A is connected to D, but in the Asymptote code, A is connected to C, then C to D, D to F, F to A. So, if AD is a side of the square, then the square must be A, D, something, something. But the Asymptote code draws A connected to C, so maybe the square is A, C, D, something else?Alternatively, maybe the square is A, D, F, and another point. Let me think. If AD is a side of the square, then the square has```
EVAL_REPORT.md+25-79