Views
No views yet
| Model | Size | Train. PPL | Diffusion type | HuggingFace Link |
|---|---|---|---|---|
gidd-unif-10b | 10B | 9.15 | uniform | https://huggingface.co/dvruette/gidd-unif-10b |
gidd-mask-3b | 3B | 11.3 | masked | https://huggingface.co/dvruette/gidd-mask-3b |
gidd-unif-3b | 3B | 11.7 | uniform | https://huggingface.co/dvruette/gidd-unif-3b |
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4device = "cuda" if torch.cuda.is_available() else "cpu"
5model_name = "dvruette/gidd-mask-3b"
6
7tokenizer = AutoTokenizer.from_pretrained(model_name)
8model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True, torch_dtype=torch.bfloat16)
9model.eval().to(device)
10
11prompt = "In a shocking finding, scientist discovered a herd of unicorns living in a remote, previously unexplored valley, in the Andes Mountains. Even more surprising to the researchers was the fact that the unicorns spoke perfect English."
12inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=True).input_ids[:, :-1].to(device)
13
14generated_ids = model.generate(
15 inputs=inputs,
16 max_length=128,
17 block_length=128,
18 steps=256,
19 sampling_method="adaptive",
20 temperature=0.0,
21 show_progress=True,
22)
23
24print(tokenizer.batch_decode(generated_ids, skip_special_tokens=False)[0])| Model | Train FLOPs | ARC-E | ARC-C | WinoG | PIQA | OBQA | BoolQ | GSM8k |
|---|---|---|---|---|---|---|---|---|
gidd-mask-3b | 1e21 | 49.9 | 29.4 | 51.6 | 64.8 | 30.6 | 60.9 | 1.67 |
gidd-unif-3b | 1e21 | 50.6 | 29.4 | 51.1 | 63.5 | 28.8 | 56.4 | 2.05 |
gidd-unif-10b | 1e22 | 61.8 | 35.7 | 55.5 | 66.3 | 32.8 | 60.3 | 2.43 |
1@article{von2025scaling,
2 title={Scaling Behavior of Discrete Diffusion Language Models},
3 author={von R{\"u}tte, Dimitri and Fluri, Janis and Pooladzandi, Omead and Sch{\"o}lkopf, Bernhard and Hofmann, Thomas and Orvieto, Antonio},
4 journal={arXiv preprint arXiv:2512.10858},
5 year={2025}
6}