Ross ROSS = Recommend OSS · open-source software intelligence for agents

pjlab-sys4nlp/llama-moe

⛷️ LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training (EMNLP 2024) observed · 2026-09-03

github.com/pjlab-sys4nlp/llama-moe · homepage · Python · Apache-2.0 (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
pjlab-sys4nlp/llama-moemain19

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