LLaMA-MoE is an open-source project that builds mixture-of-experts language models from LLaMA through expert partitioning and continual pre-training. The repository is centered on making MoE research more accessible by offering smaller and more affordable models with only about 3.0 to 3.5 billion activated parameters, which helps reduce deployment and experimentation costs. Its architecture works by splitting LLaMA feed-forward networks into sparse experts and adding gating mechanisms so that only selected experts are activated during inference and training. The project is not just a model release, but also a research framework that includes multiple expert construction methods, several gating strategies, and tooling for continual pre-training on filtered SlimPajama-based datasets. It also emphasizes training efficiency through features such as FlashAttention-v2 integration and fast streaming dataset loading, which are important for large-scale experimentation.

Features

  • Sparse MoE models with roughly 3.0 to 3.5B activated parameters
  • Multiple expert construction methods for partitioning feed-forward networks
  • Support for TopK noisy gating and Switch gating strategies
  • Continual pre-training pipeline built around filtered SlimPajama data
  • FlashAttention-v2 integration and streaming dataset loading
  • Monitoring utilities for routing, loss, throughput, and model utilization

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow LLaMA-MoE

LLaMA-MoE Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LLaMA-MoE!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

5 days ago