Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Generates text by parallel unmasking from Qwen3.8-27B converted into a masked diffusion language model. An experimental research checkpoint for researchers and ML engineers with a large GPU.
Diffusion-Qwen3.8-27B is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U transformers accelerate huggingface_hub safetensors flash-linear-attention
Diffusion-Qwen3.8-27B is Qwen3.8-27B converted into a masked diffusion language model, in the style of LLaDA and Dream. Instead of writing left to right, it fills in text by unmasking many positions in parallel over several passes. The card calls it an experimental research checkpoint that is not benchmarked.
It suits researchers and engineers who want to study how an ordinary causal model can be turned into a diffusion one.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | Language model researchers | Study a diffusion conversion of an autoregressive model | Compare parallel unmasking with left-to-right decoding |
| Software | ML engineers | Experiment with the dqwen loading and inference code | Try different thr values for speed against quality |
| Education | Students of language modeling | See how a causal model becomes bidirectional | Read the how-it-works notes next to the code |
People who need a benchmarked, production-ready model can skip it, since the card says it is not for production use.
| Use case | Who | What they get back |
|---|---|---|
| Diffusion text generation | Researchers | Text produced by iterative parallel unmasking |
| Streaming steps | Engineers | Each step's tokens, with undecided ones marked by the mask id |
| Speed and quality tuning | Experimenters | A trade-off set by the confidence threshold |
You need these first:
pip install -U transformers accelerate huggingface_hub safetensors flash-linear-attention
Load the model with the dqwen loader, then call generate for a full answer or stream to watch each step. The thr value sets how sure the model must be before it commits a token in a step. A lower value is faster and a higher one gives better quality.
import sys
from huggingface_hub import snapshot_download
path = snapshot_download("summerMC/Diffusion-Qwen3.8-27B")
sys.path.insert(0, path)
from dqwen.hub import load_pretrained, generate, stream
dlm, tok = load_pretrained(path)
print(generate(dlm, tok, "What is the capital of France?", gen_len=128, thr=0.9))
for ids, newly_committed, step in stream(dlm, tok, "Write a haiku about the sea."):
pass # undecided tokens are dlm.mask_idThe script names the checkpoint under the summerMC account, so check which id you load. A Triton fast path is on by default, and you can turn it off like this.
dlm, tok = load_pretrained(path, fast=False)
| Tool | What it does |
|---|---|
| load_pretrained | Loads the model with the diffusion patch applied |
| generate | Produces a full answer by iterative unmasking |
| stream | Yields each step so you can watch tokens get committed |
You ask it what the capital of France is, with a generation length of 128 and a threshold of 0.9. It fills the answer in by parallel unmasking rather than one token at a time, and the call prints the finished text.
Most chat models write one token after another. This one starts with masked positions and commits the tokens it is confident about, a few passes at a time. A first small step is to run the generate call above with its default settings.
The conversion removes the causal mask in the full-attention layers. The Gated DeltaNet layers get a forward and a reverse scan, with a per-channel gate that starts at 0. Its mask token reuses the fim pad token, given its own learned embedding. Training uses a loss on the masked tokens, weighted by 1/t, and decoding commits tokens above a confidence threshold. A plain AutoModelForCausalLM load gives a causal model, so the dqwen patch is required.
Generates text by parallel unmasking from Qwen3.8-27B converted into a masked diffusion language model. An experimental research checkpoint for researchers and ML engineers with a large GPU.
Made by summerAIO on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Diffusion-Qwen3.8-27B is Qwen3.8-27B converted into a masked diffusion language model, in the style of LLaDA and Dream. Instead of writing left to right, it fills in text by unmasking many positions in parallel over several passes. The card calls it an experimental research checkpoint that is not benchmarked.
Who it suits: It suits researchers and engineers who want to study how an ordinary causal model can be turned into a diffusion one.
Industry | Who uses it | How they use it | Example
Research | Language model researchers | Study a diffusion conversion of an autoregressive model | Compare parallel unmasking with left-to-right decoding
Software | ML engineers | Experiment with the dqwen loading and inference code | Try different thr values for speed against quality
Education | Students of language modeling | See how a causal model becomes bidirectional | Read the how-it-works notes next to the code
People who need a benchmarked, production-ready model can skip it, since the card says it is not for production use.
Where to use it:
Use case | Who | What they get back
Diffusion text generation | Researchers | Text produced by iterative parallel unmasking
Streaming steps | Engineers | Each step's tokens, with undecided ones marked by the mask id
Speed and quality tuning | Experimenters | A trade-off set by the confidence threshold
How to set it up: You need these first:
pip install -U transformers accelerate huggingface_hub safetensors flash-linear-attention
How to use it: Load the model with the dqwen loader, then call generate for a full answer or stream to watch each step. The thr value sets how sure the model must be before it commits a token in a step. A lower value is faster and a higher one gives better quality.
import sys
from huggingface_hub import snapshot_download
path = snapshot_download("summerMC/Diffusion-Qwen3.8-27B")
sys.path.insert(0, path)
from dqwen.hub import load_pretrained, generate, stream
dlm, tok = load_pretrained(path)
print(generate(dlm, tok, "What is the capital of France?", gen_len=128, thr=0.9))
for ids, newly_committed, step in stream(dlm, tok, "Write a haiku about the sea."):
pass # undecided tokens are dlm.mask_id
The script names the checkpoint under the summerMC account, so check which id you load. A Triton fast path is on by default, and you can turn it off like this.
dlm, tok = load_pretrained(path, fast=False)
Tool | What it does
load_pretrained | Loads the model with the diffusion patch applied
generate | Produces a full answer by iterative unmasking
stream | Yields each step so you can watch tokens get committed
Example: You ask it what the capital of France is, with a generation length of 128 and a threshold of 0.9. It fills the answer in by parallel unmasking rather than one token at a time, and the call prints the finished text.
For newcomers and experts: Most chat models write one token after another. This one starts with masked positions and commits the tokens it is confident about, a few passes at a time. A first small step is to run the generate call above with its default settings.
The conversion removes the causal mask in the full-attention layers. The Gated DeltaNet layers get a forward and a reverse scan, with a per-channel gate that starts at 0. Its mask token reuses the fim pad token, given its own learned embedding. Training uses a loss on the masked tokens, weighted by 1/t, and decoding commits tokens above a confidence threshold. A plain AutoModelForCausalLM load gives a causal model, so the dqwen patch is required.
Start with masked positions
The model predicts all of them at once
Tokens above the threshold are committed
The rest stay masked for the next pass
Text after the first EOS is dropped
Good to know:
Title: Weight size in GB
BF16: 53.8 GB
4-bit estimate: 13.4 GB
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download summerAIO/Diffusion-Qwen3.8-27B
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Diffusion-Qwen3.8-27B This page | 2,015 | 33 | 26.9B | apache-2.0 | |
| ConeML 1.2B ExperimentalShares experimental · text-generation · conversational | 440 | 2 | 1.2B | cc-by-nc-4.0 | |
| Qwen3.5-4B-QwenputerShares qwen3_5_text · text-generation · conversational | 2,598 | 189 | 9.4B | apache-2.0 | |
| Qwenputer-npuShares qwen3_5_text · text-generation · conversational | 490 | 7 | 9.8B | apache-2.0 | |
| Qwen3.8-27B-GSQ-RCO-IQ3_S-recovered-GGUFShares qwen3.8 · conversational | 2,605 | 17 | 26.9B | apache-2.0 | |
| VLX-Seek-1.5-10BShares text-generation · conversational · transformers | 137,772 | 39 | 10B | apache-2.0 |
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…
yuji-nozawa · Kit
Pretrained vision transformer checkpoints in three sizes from a research paper on training attention heads to focus on image regions. For researchers who extra…