Flow decoders for NCM's intermediate levels

Decoders from the blog post What NCM's intermediate levels contain. Each one reads the cumulative latent of a frozen NCM tokenizer (hazyresearch/ncm-checkpoints) after any level of the hierarchy. Code: github.com/david-knigge/ncm.

Folder Dataset Decoder Input codes in training Steps
ts TinyStories masked diffusion corrupted 50k
ts-ar TinyStories autoregressive clean 50k
lm1b-clean LM1B masked diffusion clean 100k
lm1b LM1B masked diffusion corrupted 100k
xsum-clean XSum masked diffusion clean 50k
xsum XSum masked diffusion corrupted 50k
wmt14-clean WMT14 De-En masked diffusion clean 50k
wmt14 WMT14 De-En masked diffusion corrupted 50k
sudoku-hard Sudoku (hard) masked diffusion corrupted 40k

Each folder holds final.pt: the EMA weights, the training step and the training arguments, in the layout that flow_decoder reads with --run <folder>. Corrupted means that, during training, a share of the input codes falling from 0.9 at the first level to 0.1 at the last is replaced by random codes.

Usage

hf download hazyresearch/ncm-checkpoints --local-dir artifacts
hf download hazyresearch/ncm-datasets --repo-type dataset --local-dir data
hf download davidknigge/ncm-flow-decoder --local-dir runs
python -m flow_decoder.evaluate --run runs/ts --artifacts artifacts --data data --out evals/ts --n 512
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support