Downloads · 30 days
1.5K
72% of all-time downloads
UT-IFML/dQwen3.5-9B-Base
dQwen3.5-9B-Base is a text generation model from UT-IFML. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A masked diffusion language model adapted from Qwen3.5-9B. The backbone is hybrid: only its attention layers are made bidirectional, and the Gated DeltaNet layers stay causal. This is a base model, with no instruction…
Downloads · 30 days
1.5K
72% of all-time downloads
All-time downloads
2.2K
Public
Parameters
9B
35.8 GB on disk
Likes
12
Public
Click a slice to open those files.
.safetensors17.9 GB · 100%
From the Hugging Face model README
A masked diffusion language model adapted from Qwen3.5-9B. The backbone is hybrid: only its attention layers are made bidirectional, and the Gated DeltaNet layers stay causal. This is a base model, with no instruction tuning.
Paper: dQwen3.5: Hybrid-Attention Diffusion Language Models
Code: https://github.com/AntonXue/dQwen
| model | total params | backbone |
|---|---|---|
| dQwen3.5-0.8B-Base | 0.75B | hybrid |
| dQwen3.5-2B-Base | 1.88B | hybrid |
| dQwen3.5-4B-Base | 4.21B | hybrid |
| dQwen3.5-9B-Base (this repo) | 8.95B | hybrid |
| dQwen3-1.7B-Base | 1.72B | full attention (control) |
Needs a CUDA GPU and transformers>=5.13 (tested with torch 2.7.1+cu128, flash-linear-attention 0.5.1).
import torch
from transformers import AutoModel
model = AutoModel.from_pretrained("UT-IFML/dQwen3.5-9B-Base", trust_remote_code=True, dtype=torch.bfloat16).cuda().eval()
stop_strings = ["\n\n", "\ndef", "\nclass", "<|endoftext|>"]
print(model.generate("def fibonacci(n):\n", gen_length=512, stop_strings=stop_strings).text)
generate decodes the whole canvas at once, committing positions above a confidence
threshold (tau=0.9); pass block_length=32 for left-to-right block decoding, or
tau=None, steps_per_block=k for a fixed budget. The 50B-token checkpoint from the
paper is revision="step25000-swa".
@article{xue2026dqwen,
title = {dQwen3.5: Hybrid-Attention Diffusion Language Models},
author = {Xue, Anton and Rout, Litu and Akella, Aditya and Klivans, Adam and Sanghavi, Sujay and Shakkottai, Sanjay},
journal = {arXiv preprint arXiv:2609.20751},
year = {2026}
}