pjlab-sys4nlp/llama-moe
⛷️ LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training (EMNLP 2024) observed · 2026-09-03
Health v2 · maintenance only
19/100
- Activity 0
- Release rhythm 8
- Longevity 81
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1136
- days_rel: n/a
- days_push: 635
- n_releases_24m: 0
Adoption not part of the score
1001 stars · 61 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
LLaMA-MoE is a Python toolkit and model series for building Mixture-of-Experts (MoE) language models from dense LLaMA models via expert construction and continual pre-training. It provides multiple expert partitioning methods, gating strategies, and efficient training utilities with FlashAttention-v2 and streaming data loading.
Use cases
- convert a dense LLaMA model into a mixture-of-experts model
- continually pre-train an MoE LLM on my own dataset
- compare expert construction methods like clustering or co-activation graph partitioning
- train a small affordable sparse MoE model with top-K gating
- fine-tune an MoE language model with supervised fine-tuning
- monitor gate load and balance loss during MoE training
When to choose
- you want to build or study MoE models derived from existing dense LLMs
- you need a lightweight ~3.5B activated-parameter open model for research or deployment
- you want reproducible code from a published EMNLP 2024 paper on MoE construction
When to avoid
- you need a production inference server rather than a training/research toolkit
- you lack multi-GPU resources for continual pre-training
- you want a general-purpose LLM fine-tuning framework without MoE specifics
Facets
library · maturity active
llm-training machine-learning deep-learning sdk large-language-models machine-learning deep-learning python mixture-of-experts llama continual-pre-training expert-partitioning moe model-training huggingface natural-language-processing gpu linux
6 sources
- readme: https://github.com/pjlab-sys4nlp/llama-moe · fetched 2026-09-03 · fb75f77e7ac1
- homepage: https://arxiv.org/abs/2406.16554 · fetched 2026-08-29 · ff7adda366dc
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pjlab-sys4nlp/llama-moe | main | 19 |
For agents
markdown · JSON · MCP: product_card(name="pjlab-sys4nlp/llama-moe")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem