Reinforcement Learning
Transformers
English
post-training
distillation
agentic-coding
composer-2.5
cursor
kimi-k2
grpo
dapo
diloco
openenv
trl
verl
research
methodology
Run this model with HF Jobs
Run Codeseys/composer-replication-framework on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Codeseys/composer-replication-framework. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Codeseys/composer-replication-framework on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Codeseys/composer-replication-framework with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Codeseys/composer-replication-framework with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Codeseys/composer-replication-framework", device_map="auto") - Notebooks
- Google Colab
- Kaggle
docs: main is canonical branch; retire main-lags-master foot-gun
Browse filesRecord the 2026-06-09 decision that `main` is the canonical branch on both
HF repos. main==master converged via fast-forward; push to main going
forward. Reframe gotcha #1 from "main lags master" to "RESOLVED, keep it
synced" — the Modal SHA pins stay correct but their stale-main rationale
no longer applies.
61 unmodified lines62636465666768697071727374756768767778798081828361 unmodified lines- **`…-dd7b` (P3):** A4 combined arm + final A0–A4 comparison table. Blocked on A2 **and** A3 (its value is reading the combined effect against the isolated baselines).
## Branch convention (canonical: `main`)
**`main` is the canonical branch on both HF repos** (decided 2026-06-09). As of that date`main == master == fb13ea3` (framework) / `37c0ea5` (LMA) — converged via clean fast-forward.**Push to `main`** (or to both in lockstep). `master` is retained only as a mirror; do not letthe two drift. A fresh `git clone` now defaults to `main` and gets the complete tree (incl.`make_dr_grpo_config` + ADR-014), so the old "must checkout master" foot-gun is RETIRED as longas `main` stays current.
## Load-bearing gotchas (carry these forward)
1. **`main` LAGS `master` on both HF repos.** Any Modal `git clone … && pip install` MUST `git checkout master` / pin a master SHA, or `ImportError: make_dr_grpo_config`.1. **Branch sync (RESOLVED 2026-06-09, keep it that way).** `main` previously LAGGED `master` (frozen at Wave 19), which is why older Modal images pin a `master` SHA "because main predates `make_dr_grpo_config`." That divergence is now fixed (`main == master`). **Keep pushing to `main`** so it never lags again; the SHA pins in Modal images remain correct but their "main is stale" rationale no longer applies once both branches stay in sync.2. **SDPO on real agent traces requires `strip_thinking=False`** — ~67% of error-recovery turns are pure thinking; stripping yields empty masks. Keep `max_seq_len ≥ 1536`.3. **OUTPUT_DIR clobber:** any sweep dimension (objective/lr/seed) you'll compare side-by-sidedocs/PROJECT_STATE_AND_REMAINING_WORK.md+14-2