/ Модель

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

Контекст
131 072 токена
Параметры
1,2 млрд
Размер весов
32,5 ГБ
Лицензия
Apache 2.0
Архитектура
llada2_moe · MoE
Библиотека
transformers
Опубликована
5 сен 2026

LLaDA2.2-mini

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

LLaDA2.2-mini — диффузионная MoE-модель для генерации текста и диалогов с длинным контекстом, вызовом инструментов и редактированием последовательности.

1 357скачиваний за 30 дней32лайкавеса обновлены5 сен 2026

Бенчмарки

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

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

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

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

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

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

LLaDA2.2-mini — компактная по числу активируемых при инференсе параметров языковая модель InclusionAI из серии LLaDA2.2. Это диффузионная модель Mixture-of-Experts (MoE) с архитектурой LLaDA2MoeModelLM; метаданные указывают 1,2 млрд параметров, а карточка описывает 16 млрд общих параметров и 1,4 млрд активируемых при инференсе. Модель рассчитана на генерацию текста и диалог, включая многошаговое взаимодействие с инструментами и исправление ошибок.

Контекстное окно составляет 128K токенов. Механизм Levenshtein Editing с управляющими токенами DELETE и INSERT позволяет удалять и вставлять фрагменты при генерации, а Block Routing ограничивает активацию MoE-экспертов на уровне блоков диффузии. В README рекомендованы Transformers версии 5.2.0 или новее; для длинноконтекстных сценариев с инструментами предлагается SGLang.

Качество и скорость зависят от порогов денойзинга: низкие пороги могут ускорить инференс, но приводить к повторяющимся или нестабильным ответам. Модель распространяется по лицензии Apache-2.0. В предоставленных материалах языки обучения или поддерживаемые естественные языки не перечислены.

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

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

Ограничения

При настройках денойзинга с низкими порогами ответы могут становиться повторяющимися или нестабильными. В README приведены разные оценки размера: метаданные указывают 1,2 млрд параметров, тогда как карточка сообщает 16 млрд общих и 1,4 млрд активируемых при инференсе.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

LLaDA2.2-mini

LLaDA2.2-mini is the lightweight variant of the agentic diffusion language model in the LLaDA2 series. Built upon the LLaDA2.0-mini architecture, it inherits the core innovations of the LLaDA2.2 series — Levenshtein Editing (introducing DELETE and INSERT control tokens) — enabling long-context tool calling, multi-turn interaction, and robust error correction, while maintaining a smaller parameter footprint and lower inference cost. For more details, please refer to our technical report.


📊 Benchmarks

The following table compares LLaDA2.0-mini, LLaDA2.1-mini, and LLaDA2.2-mini across General and Agentic capabilities.


🚀 Key Features

  • Efficient 128K Diffusion Infrastructure: LLaDA2.2-mini extends the context window to 128K and introduces the Block Routing mechanism, which restricts MoE expert activation at the diffusion block level, enabling efficient long-context agentic tasks.

  • Levenshtein Editing: Introduces DELETE and INSERT control tokens, enabling diffusion decoding to edit sequence structure, remove redundant content, and create insertion points during parallel generation.

  • Agentic Reinforcement Learning: Proposes Levenshtein Editing ELBO-based Block-level Policy Optimization (L-EBPO), leveraging agentic environment rewards to train Levenshtein editing and error correction capabilities in multi-turn tool-use scenarios.

  • Lightweight & Efficient: With a total of 16B parameters and only 1.4B activated during inference, it significantly reduces computational cost while maintaining strong capabilities.


📦 Model Variants

Model IDDescriptionHugging Face Link
inclusionAI/LLaDA2.2-flashAgentic MoE Diffusion Language Model (100B) with Levenshtein editing capabilities.🤗 Model Card
inclusionAI/LLaDA2.2-miniLightweight Agentic MoE Diffusion Language Model (16B) with Levenshtein editing capabilities.🤗 Model Card

🔍 Model Overview

Key specifications of LLaDA2.2-mini:

  • Type: Mixture-of-Experts (MoE) Diffusion Language Model with Levenshtein Editing
  • Context Length: 128K tokens
  • Levenshtein Editing Control Tokens: DELETE, INSERT
  • Total Parameters (excl. Embedding): 16B
  • Layers: 20
  • Attention Heads: 16
  • KV Heads: 4
  • Experts: 256 (8 activated per token)
  • Positional Encoding: Rotary Position Embedding (RoPE)
  • Vocabulary Size: 157,184

🤗 Hugging Face Transformers Usage

Please ensure transformers>=5.2.0 and related dependencies are installed.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "inclusionAI/LLaDA2.2-mini"

model = AutoModelForCausalLM.from_pretrained(
    model_path,
    trust_remote_code=True,
    device_map="auto",
)
model = model.to(torch.bfloat16)
model.eval()

tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

prompt = "Calculate 1+5-28*0.5-200=?"
input_ids = tokenizer.apply_chat_template(
    [{"role": "user", "content": prompt}],
    add_generation_prompt=True,
    tokenize=True,
    return_tensors="pt",
).input_ids

generated_tokens = model.generate(
    inputs=input_ids,
    eos_early_stop=True,
    gen_length=512,
    block_length=32,
    threshold=0.5,
    editing_threshold=0.0,
    temperature=0.0,
)

generated_answer = tokenizer.decode(
    generated_tokens[0],
    skip_special_tokens=True,
)
print(generated_answer)

Best Practices

For optimal performance, we recommend the following configurations:

  1. Sampling Parameters: Use block_length=32, temperature=0.0, top_p=None, top_k=None as stable defaults.

  2. Denoising Threshold: Adjust threshold, editing_threshold, and max_post_steps based on the speed-quality trade-off for your use case. Lower thresholds can improve inference speed but may lead to repetitive or unstable outputs.

  3. Output Length: For most queries, an output length of 32768 tokens is recommended.

  4. Long-Context Agentic Tasks: For long-context tool calling and multi-turn agentic applications, we recommend using SGLang as the serving backend. Ensure the server configuration supports a 128K context window and the model's MoE diffusion inference requirements.


🤖 ModelScope

If you are in mainland China, we strongly recommend accessing our models via 🤖 ModelScope.


🌐 License

This project is licensed under the Apache License 2.0.


🤝 Contact & Collaboration

For any questions, collaboration opportunities, or feedback, please reach out to us via Hugging Face or submit an issue on our GitHub repository.

Join us in advancing open, efficient, and intelligent diffusion language models for agentic applications!


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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
LLaDA2MoeModelLM
Ревизия весов
038922e

0 моделей