Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 6 min read Research mediumAdept

Fixing Open LLM Leaderboard with Math-Verify

The Open LLM Leaderboard's MATH-Hard evaluation systematically underscored models because its answer pipeline required an exact Minerva-style answer string, parsed answers with SymPy that couldn't handle boxed LaTeX, intervals, matrices or percentages, and compared results without rounding, numeric evaluation, variable assignment or set equivalence. Swapping in Math-Verify (a 3-line change) and re-evaluating all 3,751 submitted models raised scores by 4.66 points on average (61 more problems solved), with the biggest gains in Algebra and Prealgebra where set and matrix answers are common. Qwen scores more than doubled and DeepSeek scores nearly tripled, reshuffling the MATH-Hard top 20 so that Nvidia's AceMath now leads, and moving some models 200+ places overall.

Assumes: LLM benchmarking basicsfew-shot prompting

Related posts

  • NPHardEval Leaderboard: Unveiling the Reasoning Abilities of Large Language Models through Complexity Classes and Dynamic Updates

    Hugging Face mediumAdept

    NPHardEval is a dynamic LLM reasoning benchmark of 900 automatically generated algorithmic questions: 9 problems (3 P, 3 NP-complete, 3 NP-hard), each at 10 difficulty levels. Its questions are refreshed monthly to prevent overfitting and avoid numerical computation so that logical reasoning is measured on its own. Models are scored by Weighted Accuracy, which weights higher difficulty levels linearly more, and by Failure Rate, the share of responses that cannot be parsed. Closed models led, with GPT-4 Turbo best overall. Claude 2 did best on NP-complete questions, and open models such as Yi-34b, Qwen-14b, Phi-2 and Mistral-7b beat closed ones on some tasks. Instructions for reproducing the zero-shot and few-shot runs are included.

  • Open R1: Update #2

    Hugging Face hardMaster

    OpenR1-Math-220k is a math reasoning dataset built by generating 800k DeepSeek R1 traces for 400k NuminaMath 1.5 problems on 512 local H100s. Switching inference from vLLM to SGLang nearly doubled throughput, from 15 to 25 generations per hour per H100. Traces were filtered with Math-Verify plus a Llama-3.3-70B-Instruct judge, which recovered 28k rejected problems, while reward-model selection among correct answers gave no gain over random choice. Fine-tuning Qwen2.5-Math-Instruct on the 94k default split nearly matches DeepSeek-Distill-Qwen-7B, and the update also covers community GRPO results, small curated datasets (s1K, LIMO) and controlling chain-of-thought length with budget forcing and cosine rewards.

  • What's going on with the Open LLM Leaderboard?

    Hugging Face mediumAdept

    MMLU scores for the same model vary widely depending on which implementation runs the benchmark. The original Berkeley code, Stanford HELM and the EleutherAI Harness differ in prompt formatting and in how they score answers: letter-only log-likelihood, generated text matched against the expected answer, or full-answer sequence log-likelihood. These choices change both absolute scores and model rankings. For example, LLaMA-65B scores 0.637 on HELM, 0.636 on the original implementation and 0.488 on the Harness. Benchmark numbers are only comparable when they come from the same implementation, so the Harness was updated to match the original MMLU method and the leaderboard is being re-run.

  • 📚 3LM: A Benchmark for Arabic LLMs in STEM and Code

    Hugging Face mediumAdept

    3LM is a benchmark for evaluating Arabic LLMs on STEM reasoning and code generation, built from three datasets: 865 native MCQs extracted from Arabic grade 8–12 educational materials via OCR (with Pix2Tex for math) and LLM-assisted extraction, 1,744 synthetic mid-to-high difficulty MCQs generated with the YourBench pipeline, and Arabic translations of HumanEval+ and MBPP+ validated by backtranslation with a ROUGE-L F1 cutoff of 0.8. Across 40+ models, Qwen2.5-72B-Instruct led MCQ accuracy (71.8% native, 67.0% synthetic), Gemma-3-27B led completion-style STEM (43.2%), and GPT-4o led code (83.5% pass@1+ on HumanEval-ar, 63.6% on MBPP-ar). Arabic and English pass@1 scores correlate at about 0.97, and instruction-tuned models proved more robust than base models under distractor perturbation. Datasets and lighteval/evalplus evaluation scripts are open-sourced.

  • How NuminaMath Won the 1st AIMO Progress Prize

    Hugging Face hardMaster

    NuminaMath 7B TIR won the first AIMO Progress Prize by solving 29 of 50 private test problems, using a DeepSeekMath-Base 7B model fine-tuned in two stages: first on several hundred thousand chain-of-thought math solutions, then on about 60k GPT-4-generated tool-integrated reasoning traces that interleave rationales, Python code and execution output. At inference, a self-consistency plus tool-integrated reasoning (SC-TIR) decoder samples 48 candidates, executes generated code for up to 4 rounds so the model can self-correct from tracebacks, then majority-votes the answer, which cut variance under Kaggle's random problem order. Models were 8-bit GPTQ-quantized to fit 2xT4 GPUs without bfloat16 support, and internal AMC/AIME validation sets were used to avoid overfitting the 50-problem public leaderboard. Training details include full fine-tuning with TRL packing, DeepSpeed ZeRO-3 and 10 hours on 8xH100.

The quest for software engineering knowledge.

Look:
Layout: