gbatzolis commited on
Commit
3261def
·
verified ·
1 Parent(s): 465efb1

Add model card

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md CHANGED
@@ -1,3 +1,71 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ tags:
4
+ - text-generation
5
+ - diffusion
6
+ - language-model
7
+ - bitstream-diffusion
8
+ library_name: pytorch
9
  ---
10
+
11
+ # CoBit — Continuous Bitstream Diffusion language models
12
+
13
+ Released checkpoints for **"Towards Closing the Autoregressive Gap in Language
14
+ Modeling via Entropy-Gated Continuous Bitstream Diffusion"** (Batzolis, Girolami,
15
+ Ambrogioni, 2026). Code, configs and full reproduction instructions:
16
+ **https://github.com/GBATZOLIS/BitstreamDiffusion** · paper: [arXiv:2605.07013](https://arxiv.org/abs/2605.07013)
17
+
18
+ Text is modelled as a continuous diffusion process over fixed-width binary
19
+ bitstreams, with a matched-filter residual parameterization and an
20
+ entropy-rate-gated stochastic sampler. All checkpoints are **EMA weights**;
21
+ evaluate them with the repo's eval configs (default `apply_ema=True`).
22
+
23
+ ## Checkpoints
24
+
25
+ | File | Model | Dataset | Steps | GenPPL (best reported) |
26
+ |---|---|---|---|---|
27
+ | `checkpoints/cobit_s_lm1b_1M_ema.pt` | CoBit-S (130M) | LM1B | 1.0M | 59.76 @ H 4.31 (256 NFE) |
28
+ | `checkpoints/cobit_s_owt_750k_ema.pt` | CoBit-S (130M) | OpenWebText | 750K | 27.06 @ H 5.26 (256 NFE) |
29
+ | `checkpoints/cobit_m_owt_750k_ema.pt` | **CoBit-M (462M)** | OpenWebText | 750K | **9.87 @ H 5.25 (512 NFE)** |
30
+
31
+ ### CoBit-M (462M) — OpenWebText, Table 2
32
+
33
+ | NFE | γ | GenPPL ↓ | Entropy |
34
+ |---|---|---|---|
35
+ | 256 | 0.21 | 19.48 | 5.40 |
36
+ | 256 | 0.13 | 18.47 | 5.378 |
37
+ | 384 | 0.24 | 13.06 | 5.33 |
38
+ | 512 | 0.26 | 9.87 | 5.25 |
39
+
40
+ Real OpenWebText reference: GenPPL 15.07, entropy 5.44. GenPPL is GPT-2-Large
41
+ perplexity; entropy is GPT-2-token unigram entropy.
42
+
43
+ ## Usage
44
+
45
+ ```bash
46
+ git clone https://github.com/GBATZOLIS/BitstreamDiffusion && cd BitstreamDiffusion
47
+ python -m pip install -r requirements.txt "huggingface_hub>=0.23"
48
+
49
+ # Fetch checkpoints into the paths the configs expect:
50
+ python scripts/download_from_hf.py --repo-id gbatzolis/CoBit
51
+
52
+ # Reproduce the CoBit-M Table-2 numbers:
53
+ bash scripts/owt/eval_cobit_m.sh
54
+ ```
55
+
56
+ Also bundled: the OWT 16-bit code tokenizer (`tokenizer/`) and the
57
+ dataset-specific entropy-rate schedule tables (`entropy_tables/`).
58
+
59
+ ## Citation
60
+
61
+ ```bibtex
62
+ @misc{batzolis2026bitstream,
63
+ title = {Towards Closing the Autoregressive Gap in Language Modeling
64
+ via Entropy-Gated Continuous Bitstream Diffusion},
65
+ author = {Batzolis, Georgios and Girolami, Mark and Ambrogioni, Luca},
66
+ year = {2026},
67
+ eprint = {2605.07013},
68
+ archivePrefix = {arXiv},
69
+ primaryClass = {cs.LG}
70
+ }
71
+ ```