Views
No views yet
| Base model | GSAI-ML/LLaDA-8B-Instruct (32 layers, 8.0B params) |
| Student | 16 layers (first-8 + last-8 from teacher), 4.5B params |
| Architecture | Same as teacher — full width (d_model=4096, 32 heads) |
| Param reduction | 43.5% fewer parameters |
| Training | Knowledge distillation (KL + CE on masked positions) |
| Checkpoint | Step 500 (intermediate, training ongoing) |
1from transformers import AutoConfig
2import sys
3
4# Load via local Fast-dLLM class (recommended)
5sys.path.insert(0, "path/to/Fast-dllm/llada")
6from model.modeling_llada import LLaDAModelLM
7from model.configuration_llada import LLaDAConfig
8
9hf_config = AutoConfig.from_pretrained(
10 "jaygala223/llada-distilled-16L-checkpoint-500", trust_remote_code=True)
11config = LLaDAConfig(**{k: v for k, v in hf_config.to_dict().items()
12 if k not in ("model_type", "transformers_version", "auto_map")})
13config.use_cache = False
14
15draft_model = LLaDAModelLM.from_pretrained(
16 "jaygala223/llada-distilled-16L-checkpoint-500",
17 trust_remote_code=True,
18 torch_dtype="bfloat16",
19 config=config,
20)
21draft_model.eval()