Views
No views yet
Dream-org/Dream-v0-Instruct-7B for scoring partially-denoised dLLM intermediate states.q_proj + v_proj| Mask ratio | Acc |
|---|---|
| 0.0-0.1 | 0.918 |
| 0.5-0.6 | 0.818 |
| 0.9-1.0 | 0.578 |
1from transformers import AutoModel
2from safetensors.torch import load_file
3import torch
4
5base = AutoModel.from_pretrained(
6 "Dream-org/Dream-v0-Instruct-7B",
7 trust_remote_code=True,
8 attn_implementation="sdpa",
9 torch_dtype=torch.bfloat16,
10 device_map="cuda",
11)
12state_dict = load_file("adapter.safetensors")
13# Use DiffusionPRM from the companion code repo to reassemble.