madaan/minimal-text-diffusion

A minimal implementation of diffusion models for text generation

42
/ 100
Emerging

Implements discrete diffusion for text using a BERT encoder with tied embedding/output weights, where the model learns to predict clean embeddings from noisy versions via progressive denoising steps. Supports classifier-guided generation for conditional sampling and includes word-level tokenization with options for BPE. Built on PyTorch with configurable sequence lengths and diffusion schedules, designed for training on arbitrary text corpora with minimal dependencies.

410 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 16 / 25

How are scores calculated?

Stars

410

Forks

38

Language

Python

License

MIT

Last pushed

May 11, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/madaan/minimal-text-diffusion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.