All models

jetmoe

A language model that sparsely activates attention and feed-forward experts for each input token.

Language · 29 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (36 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
JetMoE
Parameters
50.2K
Operations
29
Framework
PyTorch
Recurrent
No
Published
2024
Cited by
74 (as of 13 November 2026)
Authors
Yikang Shen, Zhen Guo, Tianle Cai, Zengyi Qin
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m5485
Graph hash
e48549bf905806c17c8af3eb73d7fd5c7b2008805e47be90d02f707f5ccbfea4
Skeleton hash
e6ef272b784345aed4fe1ba6c43aead8c7af1d505067ce9695f60bdf9221bb6a
Architecture hash
89f3b472907b3e8fad7a687180979ca61850b40b3afdea7d1ab43401f2e88920
Diagram SHA-256
4c164bd236ecff5c01415ab918b856529743878fb2e75585dcd6709505699361
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

About this model's family

JetMoE-8B is a large language model from a technical report about training cost: it was trained with less than $0.1 million, using 1.25T tokens from open-source corpora and 30,000 H100 GPU hours.

Its architecture is a sparse mixture of experts inspired by ModuleFormer, in which sparse activation is applied to both the attention and the feed-forward layers. Each block has two such layers, a Mixture of Attention heads (MoA) and a Mixture of MLP Experts (MoE). Each of these layers has 8 experts, and 2 of them are activated for each input token. Within the attention experts, the key and value projection matrices are shared across experts. The report says this lets JetMoE-8B have 8B parameters while activating only 2B for each input token, reducing inference computation by about 70% compared to Llama2-7B.

Training followed a two-phase recipe, with phase 1 using a constant learning rate with linear warmup on 1 trillion tokens. The report states that JetMoE-8B outperforms Gemma, LLaMA2 and DeepseekMoE on the OpenLLM leaderboard, with the best scores in all tasks except ARC-challenge and WinoGrande. Its table of results gives an OpenLLM Leaderboard average of 53.0 for JetMoE-8B and 51.0 for LLaMA2.

Key idea. JetMoE-8B applies sparse activation to both attention and feed-forward layers, giving 8B parameters with 2B active per token, and was trained for under $0.1 million.

  • JetMoE
  • JetMoE-8B
  • mixture of experts
  • sparse mixture of experts
  • MoE language model
  • mixture of attention heads
  • low-cost LLM training
  • text generation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{shen2024jetmoereachingllama2performance,
      title={JetMoE: Reaching Llama2 Performance with 0.1M Dollars}, 
      author={Yikang Shen and Zhen Guo and Tianle Cai and Zengyi Qin},
      year={2024},
      eprint={2404.07413},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2404.07413}, 
}