Mindket

Diffusion-Qwen3.8-27B

Newversion 1 · updated

Overview

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.

At a glance

You need
  • Python
  • A GPU with about 56 GB of memory in bf16
  • The packages below, with flash-linear-attention optional but strongly recommended
Runs in
  • Python with transformers, accelerate, safetensors and huggingface_hub installed
  • An NVIDIA GPU with about 56 GB of memory in bf16, which the card lists as the hardware need
  • The Triton fast path, which asks for an Ampere-or-newer GPU such as the A100, L4, RTX 30xx or H100
Start with
pip install -U transformers accelerate huggingface_hub safetensors flash-linear-attention

About

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.

IndustryWho uses itHow they use itExample
ResearchLanguage model researchersStudy a diffusion conversion of an autoregressive modelCompare parallel unmasking with left-to-right decoding
SoftwareML engineersExperiment with the dqwen loading and inference codeTry different thr values for speed against quality
EducationStudents of language modelingSee how a causal model becomes bidirectionalRead 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

  • Python with transformers, accelerate, safetensors and huggingface_hub installed
  • An NVIDIA GPU with about 56 GB of memory in bf16, which the card lists as the hardware need
  • The Triton fast path, which asks for an Ampere-or-newer GPU such as the A100, L4, RTX 30xx or H100
Use caseWhoWhat they get back
Diffusion text generationResearchersText produced by iterative parallel unmasking
Streaming stepsEngineersEach step's tokens, with undecided ones marked by the mask id
Speed and quality tuningExperimentersA trade-off set by the confidence threshold

How to set it up

You need these first:

  • Python
  • A GPU with about 56 GB of memory in bf16
  • The packages below, with flash-linear-attention optional but strongly recommended
  1. Install the packages with the pip command below.
  2. Download the repository with snapshot_download, as the Python script does.
  3. Add the downloaded folder to the Python path and import the dqwen loader.
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)
ToolWhat it does
load_pretrainedLoads the model with the diffusion patch applied
generateProduces a full answer by iterative unmasking
streamYields 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.

  1. Start with masked positions
  2. The model predicts all of them at once
  3. Tokens above the threshold are committed
  4. The rest stay masked for the next pass
  5. Text after the first EOS is dropped

Good to know

  • Size: 26.9B parameters per Hugging Face, about 53.8 GB in BF16 and about 13.4 GB at 4-bit, as an estimate
  • Languages: English and Japanese are listed
  • Training: a LoRA with r=32 merged into the weights, a short run, with data and sequence length not recorded
  • Fast path: it falls back to plain PyTorch for training, padding masks, batch above 1, 4-bit and pre-Ampere GPUs, and DQWEN_FAST=0 turns it off
Weight size in GB
BF1653.8 GB
4-bit estimate13.4 GB
  • License: apache-2.0
  • Cost to run: none named, no API key or account. You need a GPU with roughly 56 GB of memory at bf16 precision
  • Data it reaches: it downloads files from Hugging Face, adds the folder to the Python path and runs the dqwen code that ships in it
  • Not for: production use, since the card calls it an experimental research checkpoint that is not benchmarked

README and files

README

Diffusion-Qwen3.8-27B

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.

About

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:

  • Python with transformers, accelerate, safetensors and huggingface_hub installed
  • An NVIDIA GPU with about 56 GB of memory in bf16, which the card lists as the hardware need
  • The Triton fast path, which asks for an Ampere-or-newer GPU such as the A100, L4, RTX 30xx or H100
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:

  • Python
  • A GPU with about 56 GB of memory in bf16
  • The packages below, with flash-linear-attention optional but strongly recommended
  1. Install the packages with the pip command below.
  2. Download the repository with snapshot_download, as the Python script does.
  3. Add the downloaded folder to the Python path and import the dqwen loader.
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:

  • Size: 26.9B parameters per Hugging Face, about 53.8 GB in BF16 and about 13.4 GB at 4-bit, as an estimate
  • Languages: English and Japanese are listed
  • Training: a LoRA with r=32 merged into the weights, a short run, with data and sequence length not recorded
  • Fast path: it falls back to plain PyTorch for training, padding masks, batch above 1, 4-bit and pre-Ampere GPUs, and DQWEN_FAST=0 turns it off
Title: Weight size in GB
BF16: 53.8 GB
4-bit estimate: 13.4 GB
  • License: apache-2.0
  • Cost to run: none named, no API key or account. You need a GPU with roughly 56 GB of memory at bf16 precision
  • Data it reaches: it downloads files from Hugging Face, adds the folder to the Python path and runs the dqwen code that ships in it
  • Not for: production use, since the card calls it an experimental research checkpoint that is not benchmarked

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 26.9B
  • Weights: about 53.8 GB in BF16; about 13.4 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 2,015
  • Likes: 33
  • License: apache-2.0
  • Languages: en, ja
  • Based on: Qwen/Qwen3.8-27B
  • Tags: transformers, safetensors, qwen3_5_text, text-generation, diffusion-lm, masked-diffusion, llada, summermc-diffusion, experimental, qwen3.8, conversational

Links

Get the model

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.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Diffusion-Qwen3.8-27B This page2,0153326.9Bapache-2.0
ConeML 1.2B ExperimentalShares experimental · text-generation · conversational44021.2Bcc-by-nc-4.0
Qwen3.5-4B-QwenputerShares qwen3_5_text · text-generation · conversational2,5981899.4Bapache-2.0
Qwenputer-npuShares qwen3_5_text · text-generation · conversational49079.8Bapache-2.0
Qwen3.8-27B-GSQ-RCO-IQ3_S-recovered-GGUFShares qwen3.8 · conversational2,6051726.9Bapache-2.0
VLX-Seek-1.5-10BShares text-generation · conversational · transformers137,7723910Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

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…

New29.4k

Guizang PPT Skill

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…

New29.8k

Claude Code Skills & Plugins

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…

New29.8k

Similar in Research

See all in Research

EarthJev

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…

New

getting-over-it-rl-jax

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…

New

ReFoCo

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…

New