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 ·
ba906aa
1
Parent(s): 0f88a28
Automated MNLP evaluation report (2026-05-20) (#4)
Browse files- Automated MNLP evaluation report (2026-05-20) (241883a733d7ead36c20f71e469deb1f3e2de67d)
Co-authored-by: Zeming Chen - Eric <zechen-nlp@users.noreply.huggingface.co>
1 unmodified line234567821 unmodified lines3031323334353637383940414243444546474849505152535455565758596061626364656667686970715 unmodified lines77787980818283848586878889909192939495969798991 unmodified line1011021031041051061071081091101111121131141151161172 unmodified lines1201211221231241251261271281291301311321331341351361371381391401411 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-19T03:22:52+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._21 unmodified lines- **completion**:```text<think>Okay, so I need to solve the equation 10^x minus 10 equals 9990. Let me write that down first: 10^x - 10 = 9990. Hmm, let me think about how to approach this.First, maybe I should isolate the term with the exponent. That means I need to get rid of the -10 on the left side. To do that, I can add 10 to both sides of the equation. Let me try that:10^x - 10 + 10 = 9990 + 10Simplifying b... [truncated 823 chars] ...answer.But just to be absolutely sure, let me check with another method. Let's say I use natural logarithm.Starting with 10^x = 10,000. Taking natural logarithm on both sides:ln(10^x) = ln(10,000)Which becomes:x * ln(10) = ln(10,000)Therefore, x = ln(10,000) / ln(10)But ln(10,000) is ln(10^4) = 4*ln(10). Therefore:x = (4*ln(10)) / ln(10) = 4.Same result.Therefore, regardless of the method, x is 4.So, I think that's solid.Therefore, the solution is x = 4.**Final Answer**The solution is \boxed{4}.5 unmodified lines10^x - 10 = 9990$$we begin by isolating the exponential term $10^x$. This is done by adding 10 to both sides of the equation:$$10^x - 10 + 10 = 9990 + 10$$$$10^x = 10000$$Now, we need to solve for $x$ in the equation $10^x = 10000$. Since 10 is the base of the exponential function, and we know that:$$10^4 = 10000$$we immediately conclude that:$$x = 41 unmodified line---To verify, we substitute $x = 4$ back into the original equation:$$10^4 - 10 = 10000 - 10 = 9990$$This matches the right-hand side of the original equation, confirming that the solution is correct.---**Final Answer:**$$\boxed{4}2 unmodified lines**Incorrect** (1 shown)- **reference**: `\frac{270}7\text{ degrees}`- **overall** (0/8 completions correct)- **extracted** (✗): `<no answer>`- **completion**:```text<think>Okay, so I need to find the measure of angle BAC in this figure where a square and a regular heptagon share the side AD. Let me try to visualize the Asymptote figure they provided. There's a square and a regular heptagon overlapping with side AD. The square has vertices labeled A, C, D, and F? Wait, the Asymptote code draws the square and heptagon with shared side AD. Let me parse the Asym... [truncated 823 chars] ...oordinates.First, let me recall that in a regular heptagon, the central angles between adjacent vertices are 360/7 ≈ 51.4286 degrees. So the angle between any two adjacent vertices from the center is 360/7 degrees.But since the Asymptote code defines the heptagon with vertices at angles 90°, 90 + 360/7°, etc., as mentioned earlier. So point A is at angle 90° + 3*360/7° ≈ 244.2857°, as computed earlier. Point F is at angle 90° + 4*360/7° ≈ 295.7143°. So the angle between A and F as viewed from the center is 295.7143° - 244.2857° ≈ 51.4286°, which is exactly 360/7 degrees, as expected for a regular heptagon.Now, the square shares side AD. So points A and D are adjacent vertices of the square. Wait, the square has vertices A, C, D, F? Wait, the Asymptote code draws A--C--D--F. So the square has sides AC, CD, DF, FA? Wait, but the problem says the square and heptagon share side AD. Wait, the Asymptote code draws A--C--D--F. So maybe the square is A, C, D, F? So that would make AD a diagonal of the square? Wait, but the problem says they share side AD. So maybe AD is a side of both the square and the heptagon? Wait, but in the Asymptote code, they have a square and a heptagon. The```1 unmodified line234567821 unmodified lines30313233343536373839404142434445464748495051525 unmodified lines585960616263646566676869707172737475767778798081828384858687881 unmodified line909192939495969798991001011021031041051061071082 unmodified lines1111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411 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._21 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}.5 unmodified lines10^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 = 41 unmodified line---### 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}2 unmodified lines**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```
EVAL_REPORT.md+43-43