--- library_name: peft license: apache-2.0 base_model: Qwen/Qwen2.5-Math-7B-Instruct base_model_relation: adapter pipeline_tag: text-generation language: - en tags: - zevo - math - text-generation - grpo --- # Zevo-Math-L4 Zevo-Math-L4 is a math model produced by Zevo through autonomous model evolution at autonomy level L4. Zevo chooses the base model, training method, training data, and execution details. **[Explore the public run](https://console.zevoai.dev/runs/e0abbe99-8afd-4caa-b8bb-3d48f6a2ce78?from=public)** · **[Zevo collection](https://huggingface.co/collections/Zesearch/zevo-6b14a9ed6ba099b8ab318b5f)** · **[Math collection](https://huggingface.co/collections/Zesearch/zevo-math-6b14a9ed5aa894b8be7969f6)** ## Model information | Field | Value | |---|---| | Base model | [Qwen/Qwen2.5-Math-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Math-7B-Instruct) | | Release format | LoRA adapter | | Selected iteration | 15 | | Selected-stage training method | GRPO | | Run ID | `e0abbe99-8afd-4caa-b8bb-3d48f6a2ce78` | 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.41 | | Test suite average | 53.45 | | Initial baseline Test (paper comparison) | 52.10 | | 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 | 23.94 | | val-hendrycks | 88.89 | ### Test benchmarks | Benchmark | Score (%) | |---|---:| | gsm8k | 95.98 | | math500 | 80.20 | | minerva | 33.46 | | olympiad | 41.33 | | aime2426 | 12.22 | | amc23 | 57.50 | ## Loading example Install recent versions of `transformers`, `torch`, `accelerate` and `peft`. This example illustrates loading and generation; benchmark scores require the run's evaluation protocol. ```python import torch from transformers import AutoModelForCausalLM, AutoTokenizer from peft import PeftModel repo_id = "Zesearch/Zevo-Math-L4" tokenizer = AutoTokenizer.from_pretrained(repo_id) base = AutoModelForCausalLM.from_pretrained( "Qwen/Qwen2.5-Math-7B-Instruct", torch_dtype="auto", device_map="auto" ) model = PeftModel.from_pretrained(base, repo_id) 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. This repository contains the adapter, not a copy of the base weights. Load the exact base model listed above. ## 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.