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(adr-013): close acceptance-gate boxes 1-5; only user-gated spend remains
Browse filesThe LMA-side runner scaffold (the one outstanding non-budget-gated box) now
exists in the sister repo: llm-mental-alterations/composer_replication_runs/
with 15 green mock-driven tests (collect+pass with no torch/trl/modal/framework
installed), documented in LMA ADR-0017. Marks boxes 1-5 done; the only open
item is the explicit user go/no-go on real LMA-checkpoint / Modal budget spend.
89 unmodified lines9091929394959697989910010110210310410510610710810911089 unmodified lines## Acceptance gate- [ ] `MMLUFormatReward` implemented + tested: correct→+1, wrong→0,unparseable→−0.2, multiple-answers→−0.1, length-penalty; a "always C" /option-prior exploit is detectable via logged option distribution. Rationalestyle is NOT scored.- [ ] `dual_kl_logger` logs both KLs; unit test on a toy policy/ref pair assertsKL(p‖p)==0 and KL increases as the policy moves.- [ ] `channel_ladder_configs()` returns A0–A4 with the documented α/β/kl_beta;unit test asserts A1 has both channels off, A2 SDPO-only, A3 replay-only.- [ ] LMA runner scaffold exists with mock-driven unit tests (no real model load,no Modal, no budget spend) proving the wiring: altered-ckpt → collator →ComposerReplicationTrainer(A2 config) → reward_fn → step.- [ ] `docs/ALTERED_MINDS_TIE_IN.md` updated: Phase-3 hyperparameters replaced bya pointer to this ADR's ladder; the amplification-risk finding documented.- [ ] **Out of scope (user-gated):** any real LMA checkpoint load or Modal/budgetspend. Documented as the explicit go-decision.## More Information89 unmodified lines9091929394959697989910010110210310410510610710810911011111211311411511689 unmodified lines## Acceptance gate- [x] `MMLUFormatReward` implemented + tested: correct→+1, wrong→0,unparseable→−0.2, multiple-answers→−0.1, length-penalty; a "always C" /option-prior exploit is detectable via logged option distribution. Rationalestyle is NOT scored.- [x] `dual_kl_logger` logs both KLs; unit test on a toy policy/ref pair assertsKL(p‖p)==0 and KL increases as the policy moves.- [x] `channel_ladder_configs()` returns A0–A4 with the documented α/β/kl_beta;unit test asserts A1 has both channels off, A2 SDPO-only, A3 replay-only.- [x] LMA runner scaffold exists with mock-driven unit tests (no real model load,no Modal, no budget spend) proving the wiring: altered-ckpt → collator →ComposerReplicationTrainer(A2 config) → reward_fn → step. **Shipped in the LMArepo (NOT this one), 2026-05-29:** `llm-mental-alterations/composer_replication_runs/`(`moral_scenarios_replay.py`, `train_grpo.py`, `eval_post_rl.py`,`tests/test_runner_wiring.py` — 15 mock tests green, collect+pass with notorch/trl/modal/framework installed). Documented in LMA ADR-0017.- [x] `docs/ALTERED_MINDS_TIE_IN.md` updated: Phase-3 hyperparameters replaced bya pointer to this ADR's ladder; the amplification-risk finding documented.- [ ] **Out of scope (user-gated):** any real LMA checkpoint load or Modal/budgetspend. Documented as the explicit go-decision. ← **the single remaining gate;this is the go/no-go the user holds.** All capability is built + tested up tothis line.## More Information
docs/adrs/ADR-013-lma-integration-channel-ladder.md+13-7