Run this model with HF Jobs
Run Zesearch/Zevo-Math-L2 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/Zesearch/Zevo-Math-L2. 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/Zesearch/Zevo-Math-L2 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/Zesearch/Zevo-Math-L2. 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/Zesearch/Zevo-Math-L2. 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 Zesearch/Zevo-Math-L2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Zesearch/Zevo-Math-L2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Zesearch/Zevo-Math-L2") 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("Zesearch/Zevo-Math-L2") model = AutoModelForCausalLM.from_pretrained("Zesearch/Zevo-Math-L2", 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 Zesearch/Zevo-Math-L2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Zesearch/Zevo-Math-L2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Zesearch/Zevo-Math-L2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Zesearch/Zevo-Math-L2
- SGLang
How to use Zesearch/Zevo-Math-L2 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 "Zesearch/Zevo-Math-L2" \ --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": "Zesearch/Zevo-Math-L2", "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 "Zesearch/Zevo-Math-L2" \ --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": "Zesearch/Zevo-Math-L2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Zesearch/Zevo-Math-L2 with Docker Model Runner:
docker model run hf.co/Zesearch/Zevo-Math-L2
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Zesearch/Zevo-Math-L2")
model = AutoModelForCausalLM.from_pretrained("Zesearch/Zevo-Math-L2", 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]:]))Zevo-Math-L2
Zevo-Math-L2 is a math model produced by Zevo through autonomous model evolution at autonomy level L2. Training data and execution details are chosen by Zevo; the training method and base model are user-specified.
Explore the public run ยท Zevo collection ยท Math collection
Model information
| Field | Value |
|---|---|
| Base model | Qwen/Qwen2.5-Math-7B |
| Release format | Full model weights |
| Selected iteration | 5 |
| Selected-stage training method | GRPO |
| Run ID | 1d436226-2d31-446f-beb8-49ef1b458e4d |
This is the run's retained, validation-selected checkpoint, which need not be its last trained iteration. Test results were evaluated independently and were not used for checkpoint selection.
Results
Scores below are percentages; suite averages give equal weight to each benchmark within a split. Validation and Test use different evaluation sets and should not be compared as interchangeable scores.
| Metric | Score (%) |
|---|---|
| Validation suite average | 56.73 |
| Test suite average | 54.96 |
| Initial baseline Test (paper comparison) | 31.05 |
| Human Ref. Test (paper comparison) | 49.88 |
The baseline and Human Ref. comparison follows the paper tables. Shared initial-model baselines are averaged across their reference evaluations; the flagged Medicine L2 baseline is excluded. L4 uses its selected base model's baseline. Human Ref. denotes a human-designed training reference checkpoint, not human accuracy; comparisons may involve different base models.
Validation benchmarks
| Benchmark | Score (%) |
|---|---|
| val-omni | 25.69 |
| val-hendrycks | 87.77 |
Test benchmarks
| Benchmark | Score (%) |
|---|---|
| gsm8k | 92.34 |
| math500 | 77.60 |
| minerva | 31.99 |
| olympiad | 45.63 |
| aime2426 | 12.22 |
| amc23 | 70.00 |
Loading example
Install recent versions of transformers, torch, accelerate. This example illustrates loading and generation; benchmark scores require the run's evaluation protocol.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "Zesearch/Zevo-Math-L2"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(
repo_id, torch_dtype="auto", device_map="auto"
)
model.eval()
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Solve the following problem: What is 17 * 23?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt", add_special_tokens=False).to(model.device)
with torch.inference_mode():
outputs = model.generate(**inputs, max_new_tokens=512, do_sample=False)
print(tokenizer.decode(outputs[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Use the tokenizer and chat template included in this repository. The generation length above is illustrative, not the benchmark-specific output budget.
Intended use and limitations
Released for research on autonomous model evolution. Scores describe the reported evaluation suite and do not establish reliability on arbitrary inputs. Outputs may be incorrect or biased.
License and provenance
Use is subject to the applicable base-model license and terms linked above. The public run provides the experiment journal and training history. This release contains inference weights, tokenizer/configuration files, and evaluation metadata; it excludes optimizer state and internal execution logs.
- Downloads last month
- 195
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Zesearch/Zevo-Math-L2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)