How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="GSAI-ML/LLaDA-8B-Instruct", trust_remote_code=True)
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("GSAI-ML/LLaDA-8B-Instruct", trust_remote_code=True, dtype="auto")
Quick Links

LLaDA-8B-Instruct

We introduce LLaDA, a diffusion model with an unprecedented 8B scale, trained entirely from scratch, rivaling LLaMA3 8B in performance.

Project Page

Code

Updates

[2025-10-21] We have modified modeling_llada.py to support the input of attention_mask.

Downloads last month
518,706
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 10 Ask for provider support

Model tree for GSAI-ML/LLaDA-8B-Instruct

Adapters
30 models
Finetunes
28 models
Quantizations
11 models

Spaces using GSAI-ML/LLaDA-8B-Instruct 9