/ Модель

Характеристики

Лицензия
fair-noncommercial-research-license
Библиотека
transformers
Опубликована
10 июн 2026

MobileMoE-L-Base

Генерация текстаТекст → текст3 профессии

Базовая англоязычная MoE-модель Meta для эффективного продолжения текста на устройствах с ограниченными ресурсами.

16скачиваний за 30 дней7лайковвеса обновлены25 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

MobileMoE-L-Base — базовая языковая модель семейства MobileMoE, разработанного Meta для локального запуска на мобильных устройствах. Это предобученный и прошедший mid-training чекпойнт на архитектуре Mixture-of-Experts: 5,3 млрд параметров всего, из которых 922 млн активны при генерации. В модели 32 слоя, группированное запросное внимание и 60 маршрутизируемых экспертов; для каждого токена выбираются четыре эксперта, а общий эксперт работает постоянно.

Модель предназначена для продолжения текста и оценки базовых языковых способностей при ограничениях на вычисления и память. Она принимает и генерирует текст, обучена для английского языка и поддерживает контекст до 8192 токенов. По данным карточки, на ряде базовых тестов MobileMoE сопоставима с более крупными моделями при меньших вычислительных затратах; заявленные результаты относятся к конкретным бенчмаркам и не гарантируют качество в каждом сценарии.

Это базовая, не настроенная на инструкции модель: у неё нет шаблона чата, поэтому она рассчитана на текстовое продолжение, а не на готовое следование запросам пользователя. Для загрузки требуется Transformers с trust_remote_code=True, поскольку архитектура пока не входит в upstream Transformers. Лицензия FAIR Noncommercial Research License ограничивает коммерческое использование.

Сценарии применения

  • продолжение английского текста по начальному фрагменту
  • оценка базовых языковых моделей на бенчмарках
  • локальная генерация текста на устройстве с ограниченными вычислительными ресурсами

Ограничения

Модель не настроена на инструкции и не имеет шаблона чата, поэтому не предназначена для прямого диалогового использования без дополнительной настройки. Для загрузки требуется trust_remote_code=True; лицензия не разрешает коммерческое использование.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

MobileMoE-L (Base) Model Card

MobileMoE is a family of on-device Mixture-of-Experts (MoE) language models with sub-billion active parameters, designed to push the quality–efficiency Pareto frontier for on-device LLMs, including three model scales (S/M/L): 0.3B/0.5B/0.9B active parameters (1.3B/2.8B/5.3B total), with <3 GB INT4 weight footprints to fit in mobile DRAM. Each scale is released in three variants: a Base model (pre-training + mid-training), an SFT model (supervised fine-tuning), and a QAT model (quantization-aware training). You are currently in the MobileMoE-L-Base repository — the pre-trained 0.9B-active base model.

SML
Active / total params272M / 1.3B528M / 2.8B922M / 5.3B
Layers202632
Model dimension76810241280
Heads (Q / KV)12 / 416 / 420 / 4
Routed experts606060
Top-k444
INT4 weight memory0.68 GB1.48 GB2.75 GB
BaseMobileMoE-S-BaseMobileMoE-M-BaseMobileMoE-L-Base
SFTMobileMoE-S-SFTMobileMoE-M-SFTMobileMoE-L-SFT
QAT (INT4)MobileMoE-S-QATMobileMoE-M-QATMobileMoE-L-QAT

For the detailed technical report: 📝 MobileMoE: Scaling On-Device Mixture of Experts

For more versions, check out the 🤗 MobileMoE Collection

MobileMoE establishes a new Pareto frontier for on-device LLMs

MobileMoE establishes a new Pareto frontier for on-device LLMs. Average benchmark accuracy, computed over 14 benchmarks spanning commonsense, knowledge, science, comprehension, and reasoning, is plotted against (a) per-token inference compute Finf = 2Nact (GFLOPs) and (b) total parameters Ntotal (B); in (b), x-axis tick labels show total params (B) | projected INT4 memory (GB).

Key Features

  • A new Pareto frontier for on-device LLMs. Across 14 foundational benchmarks, MobileMoE matches or exceeds leading on-device dense LLMs at 2–4× fewer inference FLOPs, and matches or surpasses the state-of-the-art MoE OLMoE-1B-7B with up to 60% fewer parameters.
  • Scaling-law-derived architecture. The architecture is derived from an on-device MoE scaling law that jointly optimizes under mobile memory and compute constraints, identifying an on-device sweet spot: moderate sparsity, with fine-grained experts and shared expert.
  • Four-stage recipe. Pre-training → mid-training → instruction fine-tuning → INT4 quantization-aware training, all on open-source datasets.

Model Information

Model: MobileMoE-L-Base (pre-trained + mid-trained) Active Parameters: 922M Total Parameters: 5.3B Layers: 32 Model Dimension: 1280 Attention Heads: 20 KV Heads: 4 (GQA) Head Dimension: 64 Routed Experts: 60 (fine-grained, FFN hidden dim 640 each) Active Experts per Token: 4 (top-k sigmoid routing, with normalization) Shared Expert: 1, always on (FFN hidden dim 2560) Vocabulary Size: 128,256 Other Features: QK-Norm, tied input/output embeddings, RoPE (θ = 500,000) Input Modality: Text Output Modality: Text Languages: English Training Stages: Pre-training → mid-training Context Length: 8,192 tokens Precision: BF16 Model Developer: Meta Model Release Date: Aug 2026 License: MobileMoE is FAIR NC licensed

Results

All numbers below are for the base (pre-trained) models, re-evaluated under identical settings with greedy decoding using lm-eval; few-shot counts are given in parentheses after the benchmark name, and benchmarks shown without one are evaluated 0-shot.

Foundational benchmarks

CapabilityBenchmarkMobileLLM-ProOLMo 2 1BSmolLM2 1.7BQwen3.5 2BOLMoE-1B-7BMobileMoE-L
Active / total params1.1B1.5B1.7B1.9B1.3B / 6.9B922M / 5.3B
Commonsense ReasoningHellaSwag66.268.471.465.977.074.6
PIQA76.675.977.674.780.580.0
SIQA48.444.044.243.543.954.3
WinoGrande63.265.066.164.669.168.2
KnowledgeMMLU (5-shot)32.342.450.254.152.659.6
NaturalQuestions (5-shot)15.614.115.410.920.626.7
TriviaQA (5-shot)43.247.149.632.662.358.1
ScienceARC-Challenge (25-shot)52.545.253.354.355.057.0
ARC-Easy76.673.473.471.476.681.7
OpenBookQA43.239.843.837.845.042.8
ReadingBoolQ77.562.972.469.474.875.7
DROP (3-shot)22.534.627.353.629.864.7
ReasoningBIG-Bench Hard (3-shot)33.033.334.048.233.537.8
GSM8K (8-shot)6.638.631.065.312.355.7
Average47.048.950.753.352.459.8

Training

MobileMoE uses a four-stage recipe. This checkpoint is the output of stage 2 (mid-training).

MobileMoE four-stage training recipe

MobileMoE four-stage training recipe: pre-training (PT) → mid-training (MT) → instruct supervised fine-tuning (SFT) → quantization-aware training (QAT) with INT4 precision.

Pre-trainingMid-trainingSFTQAT
Context length2,0488,1928,1928,192
Total tokens~6T~500B~126B~21B
Peak learning rate4×10-44×10-54×10-64×10-6
LR scheduleCosineLinearCosineCosine
Token dispatchdrop-and-paddrop-and-paddroplessdropless

How to use

MobileMoE uses a custom architecture (model_type: mobilemoe) that is not yet part of upstream transformers, so trust_remote_code=True is required. The modeling code ships in this repo (configuration_mobilemoe.py, modeling_mobilemoe.py).

Requirements

pip install "torch>=2.1" "transformers>=4.57" "safetensors>=0.4" "accelerate>=1.0"

Verified with the following versions:

PackageVersion
torch2.8.0 (cu128)
transformers4.57.6
tokenizers0.22.2
safetensors0.7.0
accelerate1.13.0

For batch evaluation we recommend vLLM (≥ 0.10.2) with enforce_eager=True.

Text generation

This is a base model — it has no chat template and is not instruction-tuned. Prompt it with plain text continuation:

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM

MODEL_ID = "facebook/MobileMoE-L-Base"

tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
    MODEL_ID,
    trust_remote_code=True,
    dtype=torch.bfloat16,
)
model.to("cuda" if torch.cuda.is_available() else "cpu")
model.eval()

prompt = "Why are open-source on-device language models great?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    input_ids=inputs["input_ids"],
    attention_mask=inputs["attention_mask"],
    max_new_tokens=64,
    do_sample=False,
    temperature=None,
    top_p=None,
    pad_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Known issues. Loading the tokenizer on transformers 4.57.6 prints a fix_mistral_regex=True warning. Please ignore it and do not set the flag, as MobileMoE uses the Llama-3 tokenizer whose default tokenization is already correct.

Citation

@article{chen2026mobilemoe,
  title={MobileMoE: Scaling On-Device Mixture of Experts},
  author={Chen, Yanbei and Huang, Hanxian and Chang, Ernie and Szwejbka, Jacob and Desai, Digant and Liu, Zechun and Chandra, Vikas and Krishnamoorthi, Raghuraman},
  journal={arXiv preprint arXiv:2605.27358},
  year={2026}
}

License

MobileMoE is distributed under the FAIR Noncommercial Research License.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
c42b303

0 моделей