English

Llemma: An Open Language Model For Mathematics

Computation and Language 2024-03-19 v3 Artificial Intelligence Logic in Computer Science

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.

Keywords

Cite

@article{arxiv.2310.10631,
  title  = {Llemma: An Open Language Model For Mathematics},
  author = {Zhangir Azerbayev and Hailey Schoelkopf and Keiran Paster and Marco Dos Santos and Stephen McAleer and Albert Q. Jiang and Jia Deng and Stella Biderman and Sean Welleck},
  journal= {arXiv preprint arXiv:2310.10631},
  year   = {2024}
}

Comments

Updated references; corrected description of COPRA search budget

R2 v1 2026-06-28T12:52:23.436Z