Skip to main content ->
Ai2

OLMoE: An open, small, and state-of-the-art mixture-of-experts model

Niklas Muennighoff / September 4, 2024

We're introducing OLMoE, jointly developed with Contextual AI, which is the first mixture-of-experts model to join the OLMo family. OLMoE brings two important aspects to the space of truly open models - it is the first model to be on the Pareto frontier of performance and size, while also being released with open data, code, evaluations, logs, and intermediate training checkpoints. Over the last few years, mixture-of-experts architectures have become a core technology used by closed AI labs to more efficiently serve and train leading language models (LMs). We've seen similar gains in our training stack, where this MoE model trained 2x faster than equivalent dense models.

OLMoE is a sparse MoE model with 1 billion active and 7 billion total parameters. It was trained on 5 trillion tokens built on a new data mix incorporating lessons from Ai2's Dolma and building heavily on DataComp-Baseline. We performed extensive experimentation on many crucial MoE details, including the routing algorithm, auxiliary loss functions, and sparse upcycling. A comparison of the model to other Ai2 OLMo models and models of similar size categories is below.

The release of this model is also accompanied by a preview version of our new Tulu 3 post-training pipeline. This version includes additional instruction data from HuggingFace's No Robots human data, math, and code data, and a subset of Nvidia's Daring Anteater synthetic data. This mix gives noticeable improvements across math, code, and instruction following evaluations, which is then passed into the standard UltraFeedback preference tuning with Direct Preference Optimization (DPO). A comparison of the gains from supervised fine-tuning (SFT) and DPO is shown below.

Variants and details

We are releasing many variants and checkpoints of this model to enable multiple directions of LM research.

  • 244 checkpoints for the pretrained model, one every 5000 steps.
  • The annealed and unannealed checkpoints.
  • Fine-tuned versions on both the annealed and unannealed base models.
  • Fine-tuned versions with and without load balancing through the experts.

For more details, check out:

Subscribe to receive monthly updates about the latest Ai2 news.