ncm-12gb: Next-Concept Model weights trained on a single 12 GB GPU
Gianluca Meola Β· v0.2, 23 November 2026 (v0.1: 20 November 2026 UTC)
Contact: gianluca.meola89@gmail.com
Latest update β v0.2 Β· 23 November 2026
- New: six looped generators (a shared block of 4 layers applied up to 3 times), trained on the official tokenizer for 409,600 stories, seeds 42 and 43: trained from scratch with 16 applied layers, and grown during training 12 β 16 and 12 β 16 β 20 applied layers.
- Result: growing shows no measurable loss of quality (no difference beyond the study's 4.7% two-seed threshold), at equal or lower compute counted as applied layers averaged over steps: two-seed means 24.52 (grown 12 β 16) and 24.17 (grown 12 β 16 β 20, ending at 20 applied layers) against 25.10 for the 16-applied-layer model trained from scratch. It is not shown that growth improves quality: both comparisons with the from-scratch model are ties under the rule fixed before the second-seed runs. Only grown 12 β 16 β 20 against the 12-layer v0.1 generator (β6.6%) exceeds the threshold, with more compute.
- Official tokenizer means the authors' TinyStories release of October 2026 (
hazyresearch/ncm-checkpoints, revisiond342ce8aaea58830eef3b8ad473664673e41f692). The authors replaced it on 23 November 2026; these generators were not trained or evaluated with the new release and need the October files.- Unchanged: the four v0.1 checkpoints and their results.
- Details: section 4 of the code repository README and its CHANGELOG.
Version history
| Version | Date | What's new | DOI |
|---|---|---|---|
| v0.2 | 23 Nov 2026 | Six looped generators (16 from scratch, grown 12 β 16, grown 12 β 16 β 20; seeds 42 and 43) | 10.5281/zenodo.24478988 |
| v0.1 | 20 Nov 2026 (UTC); Zenodo 21 Nov | Two tokenizers and two generators (official tokenizer and our 2,400-step tokenizer) | 10.5281/zenodo.24408541 |
Weights from the study Training a Next-Concept Model on a single 12 GB GPU. Next-Concept Models (paper) generate text coarse to fine: a VQ-VAE tokenizer encodes a whole story into a 12-level hierarchy of discrete codes, and a generator predicts that hierarchy level by level. These are research checkpoints from short training budgets, not production models. Results, methods and limits are documented in the code repository.
Contents
The folders mirror runs/ in the code repository, so downloading this repository into the root of a clone of the code repository is enough to use them.
| Folder | What it is | Parameters | Gen. PPL |
|---|---|---|---|
runs/mytok-12std-dati-rv_9830400_38400x256_s42/ |
Tokenizer: 12 levels, codebooks initialised from data, dead codes restarted during the first 1,200 steps, 38,400 steps Γ 256 stories, seed 42 | 36.4M | 91.46 with a generator trained on 51,200 stories |
runs/mytok-12std-dati-rv_614400_2400x256_s42/ |
Tokenizer: same recipe, 2,400 steps Γ 256 stories (needed by the generator below) | 36.4M | 108.17 (mean of 2 generator seeds, 51,200 stories) |
runs/gen-mytok12std-dati-rv-2400x256_409600_3200x128_c50_lr1e-3_flex_s42/ |
Generator on the 2,400-step tokenizer above, 409,600 stories, constant corruption 0.5, FlexAttention, lr 1e-3, seed 42 | 88.6M | 42.76 |
runs/gen-tokuff_409600_3200x128_c50_lr1e-3_flex_s42/ |
Generator on the authors' official tokenizer (not included here), same recipe | 88.6M | 26.04 |
New in v0.2: looped generators on the authors' official tokenizer (October 2026 release, revision d342ce8aβ¦, not included here), 409,600 stories, constant corruption 0.5, FlexAttention, lr 1e-3. Architecture: 4 layers, then a block of 4 layers applied with shared weights, then 4 layers; 88.6M parameters each. Folder names start with runs/gen-tokuff_409600_3200x128_c50_lr1e-3_flex_.
| Folder suffix | What it is | Seed | Gen. PPL |
|---|---|---|---|
cicli4-4x2-4_s42/ |
16 applied layers (block applied twice), trained from scratch | 42 | 25.20 |
cicli4-4x2-4_s43/ |
same | 43 | 25.00 |
cicli4-4x2-4-cresce1600_s42/ |
grown: 12 applied layers, 16 from step 1,600 | 42 | 24.78 |
cicli4-4x2-4-cresce1600_s43/ |
same | 43 | 24.25 |
cicli4-4x3-4-cresce1067-2133_s42/ |
grown: 12 applied layers, 16 from step 1,067, 20 from step 2,133 | 42 | 24.53 |
cicli4-4x3-4-cresce1067-2133_s43/ |
same | 43 | 23.81 |
For comparison, the v0.1 12-layer generator on the official tokenizer at the same budget scores 26.04 (seed 42; 25.71 with seed 43, not included).
Gen. PPL is generative perplexity under GPT-2 large on 1,280 unconditional samples (lower is better), measured with the authors' evaluation scripts. For reference, the authors' released TinyStories model scores 16.58 in the same measurement and real text 9.67 (as reported in the paper).
Each folder holds config.yaml (the exact training settings) and export/ with the weights and the evaluation summary. Tokenizer folders also contain export/config.yaml, the configuration a generator loads as base_config.
Requirements
- The code repository, with the upstream NCM code at the pinned commit (see its
third_party/README.md). - The authors' TinyStories files in
artifacts/tinystories/of the code repository (config.yaml, BPE vocabulary and merges; the official tokenizer checkpoint for the official-tokenizer generator), from hazyresearch/ncm-checkpoints. They are not redistributed here. - The official files must come from revision
d342ce8aaea58830eef3b8ad473664673e41f692ofhazyresearch/ncm-checkpoints(the authors' October 2026 release); the authors replaced them on 23 November 2026.
Loading
The .pt files contain only tensors and plain containers and load with torch.load(path, map_location="cpu", weights_only=True).
To evaluate a generator from the code repository root:
python -I evaluation/gen_ppl_run.py --run gen-mytok12std-dati-rv-2400x256_409600_3200x128_c50_lr1e-3_flex_s42
The looped generators store one entry per applied layer (tied tensors share storage). evaluation/gen_ppl_run.py reads the cicli section of the run's config.yaml and builds a generator with that many layers; a standard generator of the same depth loading these weights computes the same function. Use the code repository at v0.2 or later (the cicli option does not exist in v0.1).
Training data
TinyStories (Eldan and Li, 2023), as pre-tokenised by the NCM authors (dataset hazyresearch/ncm-datasets, folder tinystories). See the TinyStories dataset card for its terms.
Limitations
- Trained with budgets far below the paper's (409,600 stories for the generators against 102.4M reported in the paper).
- TinyStories only: short, simple English children's stories. The models are not meant for any other use.
- The 38,400-step tokenizer gives a Gen. PPL ratio of about 1.4Γ to the official tokenizer with a 51,200-story generator. The packaged generator instead uses the 2,400-step tokenizer and gives about 1.6Γ at 409,600 stories. These are different comparisons. No generator trained on the 38,400-step tokenizer is included; generators require their matching tokenizer.
- The looped generators use the official tokenizer (October 2026 release) only, with two training seeds per configuration. One block size and one schedule of growth steps were tested; compute is compared as applied layers, not measured FLOPs. No 20-layer model was trained from scratch at this budget. Growing a looped transformer by increasing the number of loops during training is prior work (e.g. arXiv:2609.19107); these checkpoints document its use in an NCM generator.
License
MIT, like the code repository. The models depend on the NCM code by the paper's authors (MIT) and on TinyStories data.
Citation
Meola, G. (2026). Training a Next-Concept Model on a single 12 GB GPU (v0.2). Zenodo. https://doi.org/10.5281/zenodo.24478988 (all versions: https://doi.org/10.5281/zenodo.24408540). v0.1: https://doi.org/10.5281/zenodo.24408541
Code and all training records: https://github.com/janlu89/ncm-12gb