# generative-curation Code and cached results that reproduce every figure, table and reported number of the paper, each checked against the paper's own files. Everything renders offline from a 26 MB cache with the code that drew the paper; the recomputes behind the cache, down to retraining, are documented per input. **Paper:** [arXiv](https://arxiv.org/abs/2612.02061) · **Docs:** [reproducibility](docs/reproducibility.md) · [render environment](docs/render-env.md) · [data](docs/data.md) · [provenance](docs/provenance.md) ## Install ```bash git clone git@github.com:marin-community/generative-curation.git && cd generative-curation uv sync ``` Python 3.12. Tier 1 TPU and Tier 2 jobs also need the pinned as-run Marin tree (SSH): `git submodule update --init --depth 1 --filter=blob:none third_party/marin third_party/marin-rerun`. ## Quickstart ```bash uv run gencur verify --offline # every figure, table and text artifact, about 15 s uv run gencur claims --offline # every number the text reports uv run gencur figure fig:main-results --out out/ --check # one artifact uv run pytest # the offline test suite, about 15 s ``` Each line reports `PASS`, `RECORDED` (carried as data) or `DIFF`, with the checks behind it. `uv run gencur env check` compares this machine with the paper's render pins. ## Sections | Folder | Paper part | README | |---|---|---| | `sec1_intro` | Abstract, Section 1, conclusion | [sections/sec1_intro](sections/sec1_intro/README.md) | | `sec3_gc_llm` | Section 3, Appendices A-D | [sections/sec3_gc_llm](sections/sec3_gc_llm/README.md) | | `sec4_gc_cascade` | Section 4, Appendices E-F | [sections/sec4_gc_cascade](sections/sec4_gc_cascade/README.md) | | `sec5_pretraining` | Section 5, Appendices G, I, K and M | [sections/sec5_pretraining](sections/sec5_pretraining/README.md) | | `sec6_analyses` | Section 6 | [sections/sec6_analyses](sections/sec6_analyses/README.md) | | `app_natural_mix` | Appendix H (impact of data mixing) | [sections/app_natural_mix](sections/app_natural_mix/README.md) | | `app_ablations` | Appendix J (data curation ablations) | [sections/app_ablations](sections/app_ablations/README.md) | | `app_alt_baselines` | Appendix L (alternative baseline reproduction) | [sections/app_alt_baselines](sections/app_alt_baselines/README.md) | | `app_domain_cpt` | Appendix N | [sections/app_domain_cpt](sections/app_domain_cpt/README.md) | | `app_budget_aware` | Appendix O | [sections/app_budget_aware](sections/app_budget_aware/README.md) | ## Tiers - **Tier 0**, cache to artifact: offline, seconds, exact at each artifact's level (`byte`, `stream`, `values`, `copy`). - **Tier 1**, intermediates to cache: CPU recomputes and TPU re-evaluations, each compared with the cache. - **Tier 2**, from scratch: corpora, training and judges, as Iris job specs (`gencur recompute ID --tier 2 --dry-run`). Levels, statuses, the commands per tier and their cost: [docs/reproducibility.md](docs/reproducibility.md). To run a recompute cell on your own TPU VM or GPU host instead of Iris: `gencur launch` ([docs](docs/reproducibility.md#without-iris)). ## Citation ```bibtex @misc{ryan2026generative, title = {Generative Curation Yields Bigger and Better Data for Pretraining LLMs}, author = {Ryan, Michael J. and Held, William and Kotha, Suhas and Choi, Yejin and Yang, Diyi and Liang, Percy}, year = {2026}, eprint = {2612.02061}, archivePrefix = {arXiv}, primaryClass = {cs.CL}, url = {https://arxiv.org/abs/2612.02061} } ``` ## License Code: Apache 2.0, as each source file's SPDX header states. Vendored files keep the license of their origin ([provenance](docs/provenance.md)).