Lune

ICLR2024Top-tier venue

Llemma: An Open Language Model for Mathematics

Zhangir Azerbayev, Hailey Schoelkopf, Keiran Paster, Marco Dos Santos, Stephen Marcus McAleer, Albert Q. Jiang, Jia Deng, Stella Biderman, Sean Welleck

Abstract

We present Llemma, a large language model for mathematics. We continue pretraining Code Llama on the Proof-Pile-2, a mixture of scientific papers, web data containing mathematics, and mathematical code, yielding Llemma. On the MATH benchmark Llemma outperforms all known open base models, as well as the unreleased Minerva model suite on an equi-parameter basis. Moreover, Llemma is capable of tool use and formal theorem proving without any further finetuning. We openly release all artifacts, including 7 billion and 34 billion parameter models, the Proof-Pile-2, and code to replicate our experiments.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

151 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision cites Measuring Massive Multitask Language Understanding
  • Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision cites Language Models are Few-Shot Learners
  • Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision cites Finetuned Language Models are Zero-Shot Learners
  • Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision cites Training language models to follow instructions with human feedback
  • Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Measuring Massive Multitask Language Understanding
  • Measuring Massive Multitask Language Understanding cites Language Models are Few-Shot Learners
  • AlphaMath Almost Zero: Process Supervision without Process cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • AlphaMath Almost Zero: Process Supervision without Process cites Training language models to follow instructions with human feedback
  • Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies cites Language Models are Few-Shot Learners
  • Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies cites Training language models to follow instructions with human feedback
  • Finetuned Language Models are Zero-Shot Learners cites Language Models are Few-Shot Learners
  • Finetuned Language Models are Zero-Shot Learners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Finetuned Language Models are Zero-Shot Learners cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Finetuned Language Models are Zero-Shot Learners
  • MAmmoTH2: Scaling Instructions from the Web cites Measuring Massive Multitask Language Understanding
  • MAmmoTH2: Scaling Instructions from the Web cites Language Models are Few-Shot Learners
  • MAmmoTH2: Scaling Instructions from the Web cites Finetuned Language Models are Zero-Shot Learners
  • MAmmoTH2: Scaling Instructions from the Web cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MAmmoTH2: Scaling Instructions from the Web cites Training language models to follow instructions with human feedback
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers151

  1. AlphaMath Almost Zero: Process Supervision without ProcessGuoxin Chen, Minpeng Liao, Chengxi Li, Kai FanNeurIPS 2024 · 219 citations
  2. MAmmoTH2: Scaling Instructions from the WebXiang Yue, Tianyu Zheng, Ge Zhang, Wenhu ChenNeurIPS 2024 · 176 citations
  3. Twin-Merging: Dynamic Integration of Modular Expertise in Model MergingZhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu et al.NeurIPS 2024 · 139 citations
  4. Scaling Laws with Vocabulary: Larger Models Deserve Larger VocabulariesChaofan Tao, Qian Liu, Longxu Dou, Niklas Muennighoff et al.NeurIPS 2024 · 135 citations
  5. Easy-to-Hard Generalization: Scalable Alignment Beyond Human SupervisionZhiqing Sun, Longhui Yu, Yikang Shen, Weiyang Liu et al.NeurIPS 2024 · 125 citations

Builds on28

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  3. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  4. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations
  5. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations

Related papers

  1. Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
  2. TheoremLlama: Transforming General-Purpose LLMs into Lean4 ExpertsRuida Wang, Jipeng Zhang, Yizhen Jia, Rui Pan et al.EMNLP 2024 · 9 citations
  3. MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu et al.ICLR 2024 · 637 citations
  4. MathlibLemma: Folklore Lemma Generation and Benchmark for Formal MathematicsXinyu Liu, Zixuan Xie, Amir Moeini, Claire Chen et al.ICML 2026 · 2 citations
  5. MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical CodeZimu Lu, Aojun Zhou, Ke Wang, Houxing Ren et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines