All numbers are reproducible end-to-end with
bash eval.sh in the GitHub repo.
gFID / IS follow the
ADM evaluation protocol (50k samples vs
VIRTUAL_imagenet256_labeled.npz).
This Hugging Face Hub repository hosts
all released weights for the paper — 6 tokenizers and 9 AR models (~63 GB total). The matching code, training scripts, and full documentation live on
GitHub.
All checkpoints are
safetensors following the 🤗 Accelerate convention (
model.safetensors,
model_1.safetensors, …). After download the layout matches the relative paths expected by
eval.sh /
app.py in the code repo — no
mv step required.
1pip install -U "huggingface_hub[cli]"
2export HF_XET_HIGH_PERFORMANCE=1 # parallel Xet transfer
3
4# everything (~63 GB)
5hf download Zyriix/prologue --local-dir ckpts
6
7# or just the headline model used by the demo (LXL, 9.9 GB + 6.7 GB tokenizer)
8hf download Zyriix/prologue \
9 --include "ar-prologue-l-xl/*" \
10 --include "prologue-l-tokenizer/*" \
11 --local-dir ckpts
See the
GitHub README for per-model commands and an inference-only slim layout (drops the ~50 % of bytes used for resuming training).
1git clone https://github.com/Zyriix/prologue.git && cd prologue
2bash setup_env.sh && conda activate prologue
3
4# unpack the released ckpts (see above)
5hf download Zyriix/prologue \
6 --include "ar-prologue-l-xl/*" \
7 --include "prologue-l-tokenizer/*" \
8 --local-dir ckpts
9
10# (a) full headline-table reproduction
11bash eval.sh
12
13# (b) interactive Gradio demo: fix prologue, resample visual
14python app.py
1from huggingface_hub import snapshot_download
2ckpt_dir = snapshot_download(
3 repo_id="Zyriix/prologue",
4 allow_patterns=["ar-prologue-l-xl/*", "prologue-l-tokenizer/*"],
5 local_dir="ckpts",
6 max_workers=8,
7)
8# Then call into prologue/ as a library (load_models / sample_tokens):
9# from sample_vis import load_models, sample_tokens
10# See app.py for a full minimal example.
1@article{zheng2026prologue,
2 title = {Autoregressive Visual Generation Needs a Prologue},
3 author = {Zheng, Bowen and Luo, Weijian and Yang, Guang and Zhang, Colin and Hu, Tianyang},
4 journal = {arXiv preprint arXiv:2605.06137},
5 year = {2026},
6 url = {https://arxiv.org/abs/2605.06137}
7}
Inspired by (chronological)
LPIPS (2018) ·
vector-quantize-pytorch (2020) ·
VQGAN / taming-transformers (2020) ·
guided-diffusion (2021) ·
VAR (2024.04) ·
LlamaGen (2024.06) ·
TiTok (2024.06) ·
Open-MAGVIT2 (2024.09) ·
ImageFolder (2024.10) ·
AliTok (2025.06).