Architecture · Evaluation

JetMoE

Paper preview
JetMoE
Paper summary

MyShell's JetMoE-8B is an open MoE model trained for under $100K that matches or beats LLaMA2-7B, showing that competitive LLM training can be achieved on modest budgets with public data.

Ask this paper

Key points
01

MoA + MoE architecture: 24 blocks each combine a Mixture of Attention heads (MoA) and a Mixture of MLP Experts (MoE), with 8 experts per layer and top-2 activation giving 2.2B active parameters out of 8B total.

02

Cheap training: Trained on 1.25T publicly available tokens using 96 H100s for about two weeks at under $100K of compute, an order of magnitude less than typical 7B training runs.

03

Benchmark wins: Beats LLaMA2-7B on MMLU (49.2 vs 46.9) and GSM8K (27.8 vs 14.5), and is competitive with far larger open models on standard benchmarks.

04

Democratization signal: Full weights and training recipe are released, reinforcing that efficient MoE + strong data pipelines let smaller labs ship frontier-quality open models.

Abstract

Large Language Models (LLMs) have achieved remarkable results, but their increasing resource demand has become a major obstacle to the devel- opment of powerful and accessible super-human intelligence. This report introduces JetMoE-8B, a new LLM trained with less than $0.1 million, using 1.25T tokens from carefully mixed open-source corpora and 30,000 H100 GPU hours. Despite its low cost, the JetMoE-8B demonstrates impressive performance, with JetMoE-8B outperforming the Llama2-7B model and JetMoE-8B-Chat surpassing the Llama2-13B-Chat model. These results suggest that LLM training can be much more cost-effective than gener- ally thought. JetMoE-8B is based on an efficient Sparsely-gated Mixture- of-Experts (SMoE) architecture, composed of attention and feedforward experts. Both layers are sparsely activated, allowing JetMoE-8B to have 8B parameters while only activating 2B for each input token, reducing inference computation by about 70% compared to Llama2-7B. Moreover, JetMoE-8B is highly open and academia-friendly, using only public datasets and training code. All training parameters and data mixtures have been detailed in this report to facilitate future efforts in the development of open foundation models. This transparency aims to encourage collaboration and further advancements in the field of accessible and efficient LLMs. The mod- els are publicly available at https://github.com/myshell-ai/JetMoE.

Every Monday
Get next week’s papers.
Subscribe on Substack