Article complete

Llemma is Here, An Open Language Model For Mathematics

The model is built on top of CodeLlama and outperforms Google's Minerva.

Logo featuring the word "Llemma" in a modern, minimalist font with a square at the end.

Key takeaways

  • Introduce Llemma, an open language model for mathematics, outperforming Google's Minerva.
  • Provide both 7 billion and 34 billion parameter models, exceeding other open base models.
  • Demonstrate superior problem-solving abilities compared to Minerva, even with fewer parameters.
  • Extend capabilities to diverse tasks, including tool use and formal mathematics.

Takeaways drafted with AI from the article text.

Researchers from EleutherAI have introduced Llemma, an open language model designed for mathematics, along with a Proof-Pile-2 dataset. This project, which is built with continuous pretraining of CodeLlama, has garnered significant attention in the academic and research community.

Llemma stands out by offering both 7 billion and 34 billion parameter models, surpassing the capabilities of all other open base models, including Google's Minerva, even at similar model scales. The achievement is particularly noteworthy as the 34-billion parameter Llemma model approaches the performance of Google's Minerva, which boasts 62 billion parameters, despite having just half the parameters.

https://twitter.com/zhangir_azerbay/status/1714098025956864031

This new development from EleutherAI not only parallels Minerva, a closed model specially designed for mathematics by Google Research but also manages to exceed Minerva's problem-solving capabilities on an equi-parameter basis. Notably, Llemma's capabilities extend to a broader spectrum of tasks, including tool use and formal mathematics, which further distinguishes it in the realm of mathematical language modeling.

Llemma's models were initialized with Code Llama weights and subsequently trained across a network of 256 A100 GPUs on StabilityAI's Ezra cluster. The 7-billion model underwent extensive training, spanning 200 billion tokens and 23,000 A100 hours, while the 34-billion model received 50 billion tokens of training over 47,000 A100 hours.

In addition to its exceptional performance on chain-of-thought tasks when compared on an equal-parameter basis with Minerva, Llemma benefits from majority voting, providing an extra boost to its performance.

The collaborative effort of institutions such as Princeton University, EleutherAI, University of Toronto, Vector Institute, University of Cambridge, Carnegie Mellon University, and University of Washington has culminated in the creation of Llemma.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

More in this story

Eleuther AI · 4 stories
  1. NVIDIA, Microsoft Introduce New Language Model MT-NLG With 530 Billion Parameters, Leaves GPT-3 Behind
  2. The Controversy Behind Microsoft-NVIDIA’s Megatron-Turing Scale
  3. Microsoft, NVIDIA test waters for a large-scale generative language model with promising results
  4. You are here: Llemma is Here, An Open Language Model For Mathematics
About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.