inclusionAI / LLaDA2.0-mini-CAP

huggingface.co
Total runs: 330
24-hour runs: 0
7-day runs: -2.4K
30-day runs: -2.4K
Model's Last Updated: Dezember 19 2025
text-generation

Introduction of LLaDA2.0-mini-CAP

Model Details of LLaDA2.0-mini-CAP

LLaDA2.0-mini-CAP

LLaDA2.0-mini-CAP is an enhanced version of LLaDA2.0-mini that incorporates Confidence-Aware Parallel (CAP) Training for significantly improved inference efficiency. Built upon the 16B-A1B Mixture-of-Experts (MoE) diffusion architecture, this model achieves faster parallel decoding while maintaining strong performance across diverse benchmarks.


📊 Performance Comparison
Efficiency vs. Quality Trade-off
Model Average Score Tokens/Forward (TPF) Speedup
LLaDA2.0-mini 70.15 2.55 1.0×
LLaDA2.0-mini-CAP 67.32 3.72 1.46×

Evaluated on 12 diverse benchmarks covering knowledge, reasoning, coding, and mathematics.

Key Insights
  • 1.46× faster generation with only a 2.83% performance trade-off
  • Ideal for latency-sensitive applications requiring real-time responses
  • Maintains competitive accuracy across all task categories

🔬 What is CAP Training?

Confidence-Aware Parallel (CAP) Training is a novel training technique designed to enhance parallel decoding efficiency in diffusion language models.

Technical Overview

The training objective combines two complementary losses:

L(θ) = L_SFT(θ) + λL_conf(θ)

Where:

  • L_SFT : Supervised fine-tuning loss ensuring prediction correctness
  • L_conf : Confidence loss that minimizes entropy only for correctly predicted tokens
  • λ : Hyperparameter balancing the two objectives
Why CAP Works
  1. Sharpens Correct Predictions : While standard training ensures correctness, it provides diminishing incentive to increase confidence on already-correct tokens. CAP explicitly optimizes for high-confidence predictions.
  2. Enables Aggressive Parallelism : Higher confidence allows the model to decode multiple tokens simultaneously with greater reliability, reducing the total number of forward passes needed.
  3. Selective Optimization : By focusing only on correct predictions, CAP avoids penalizing the model's exploration of uncertain outputs.

📦 Model Variants
Model ID Description Hugging Face Link
inclusionAI/LLaDA2.0-mini-CAP CAP-enhanced model optimized for fast inference 🤗 Model Card
inclusionAI/LLaDA2.0-mini Base instruction-tuned model 🤗 Model Card

🔍 Model Overview

LLaDA2.0-mini-CAP inherits the architecture of LLaDA2.0-mini:

  • Type : Mixture-of-Experts (MoE) Diffusion Language Model with CAP Training
  • Total Parameters (Non-Embedding) : 16B
  • Number of Layers : 20
  • Attention Heads : 16
  • Context Length : 32,768 tokens
  • Position Embedding : Rotary (RoPE)
  • Vocabulary Size : 157,184
  • Training Enhancement : Confidence-Aware Parallel (CAP) Training

💻 Usage
🤗 Hugging Face Transformers
import torch
import torch.nn.functional as F
from transformers import AutoModelForCausalLM
from transformers import AutoTokenizer

model_path = "/path/to/LLaDA2.0-mini-CAP"
device = "cuda:0"
model = AutoModelForCausalLM.from_pretrained(
    model_path, trust_remote_code=True, device_map=device
)
model = model.to(torch.bfloat16)
model.eval()
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

prompt = "Why does Camus think that Sisyphus is happy?"
input_ids = tokenizer.apply_chat_template(
    [{"role": "user", "content": prompt}],
    add_generation_prompt=True,
    tokenize=True,
    return_tensors="pt",
)
generated_tokens = model.generate(
    inputs=input_ids,
    eos_early_stop=True,
    gen_length=512,
    block_length=32,
    steps=32,
    temperature=0.0,
)
generated_answer = tokenizer.decode(
    generated_tokens[0],
    skip_special_tokens=True,
)
print(generated_answer)
Best Practices

To achieve optimal performance, we recommend the following settings:

  1. Sampling Parameters :
    We suggest using Temperature=0.0 , block_length=32 , and steps=32 . Using a higher temperature value may occasionally result in language mixing and a slight decrease in model performance.
  2. Adequate Output Length :
    We recommend using an output length of 32768 tokens for most queries.

🌐 License

This project is licensed under the terms of the Apache License 2.0 .


🤝 Contact & Collaboration

For questions, collaborations, or feedback, please reach out via Hugging Face or open an issue in the repository .

👉 Join us in advancing open, efficient, and intelligent language models!


Runs of inclusionAI LLaDA2.0-mini-CAP on huggingface.co

330
Total runs
0
24-hour runs
-1.5K
3-day runs
-2.4K
7-day runs
-2.4K
30-day runs

More Information About LLaDA2.0-mini-CAP huggingface.co Model

More LLaDA2.0-mini-CAP license Visit here:

https://choosealicense.com/licenses/apache-2.0

LLaDA2.0-mini-CAP huggingface.co

LLaDA2.0-mini-CAP huggingface.co is an AI model on huggingface.co that provides LLaDA2.0-mini-CAP's model effect (), which can be used instantly with this inclusionAI LLaDA2.0-mini-CAP model. huggingface.co supports a free trial of the LLaDA2.0-mini-CAP model, and also provides paid use of the LLaDA2.0-mini-CAP. Support call LLaDA2.0-mini-CAP model through api, including Node.js, Python, http.

LLaDA2.0-mini-CAP huggingface.co Url

https://huggingface.co/inclusionAI/LLaDA2.0-mini-CAP

inclusionAI LLaDA2.0-mini-CAP online free

LLaDA2.0-mini-CAP huggingface.co is an online trial and call api platform, which integrates LLaDA2.0-mini-CAP's modeling effects, including api services, and provides a free online trial of LLaDA2.0-mini-CAP, you can try LLaDA2.0-mini-CAP online for free by clicking the link below.

inclusionAI LLaDA2.0-mini-CAP online free url in huggingface.co:

https://huggingface.co/inclusionAI/LLaDA2.0-mini-CAP

LLaDA2.0-mini-CAP install

LLaDA2.0-mini-CAP is an open source model from GitHub that offers a free installation service, and any user can find LLaDA2.0-mini-CAP on GitHub to install. At the same time, huggingface.co provides the effect of LLaDA2.0-mini-CAP install, users can directly use LLaDA2.0-mini-CAP installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

LLaDA2.0-mini-CAP install url in huggingface.co:

https://huggingface.co/inclusionAI/LLaDA2.0-mini-CAP

Url of LLaDA2.0-mini-CAP

LLaDA2.0-mini-CAP huggingface.co Url

Provider of LLaDA2.0-mini-CAP huggingface.co

inclusionAI
ORGANIZATIONS

Other API from inclusionAI

huggingface.co

Total runs: 2.7K
Run Growth: 96
Growth Rate: 3.44%
Updated:September 24 2026
huggingface.co

Total runs: 796
Run Growth: 442
Growth Rate: 55.67%
Updated:September 24 2026
huggingface.co

Total runs: 674
Run Growth: 620
Growth Rate: 94.51%
Updated:September 15 2026
huggingface.co

Total runs: 287
Run Growth: -34
Growth Rate: -12.36%
Updated:März 04 2026
huggingface.co

Total runs: 269
Run Growth: -80
Growth Rate: -28.47%
Updated:August 24 2026
huggingface.co

Total runs: 242
Run Growth: -389
Growth Rate: -156.85%
Updated:Juni 15 2026