{"repo":"teilomillet/retrain","free":true,"listed":false,"github":"https://github.com/teilomillet/retrain","clone":"git clone https://github.com/teilomillet/retrain.git","description":"a Python library that uses Reinforcement Learning (RL) to train LLMs.","language":"Python","stars":43,"topics":["deepseek","llm","mcp","rl","rlvr"],"license":null,"category":"ai-agents","readme_excerpt":"retrain retrain is a TOML-first RLVR (Reinforcement Learning with Verifiable Rewards) trainer for LLMs, built to make experiments easier to run, compare, and repeat. If you are new, start with install - explore commands - run a tiny config. Field report: retrain ran every experiment in Why Trained Open Models Score Zero on Spider 2.0-DBT — 140 training configs and 94 tracked runs over four weeks, from 4B to 35B, capacity gates to resumable SFT. The result was negative; the trainer held up. The paper doubles as a worked example of running a real training campaign with retrain. Install Requires Python 3.12+. If you are developing this repo directly: Explore the CLI Use these first to understand what exists before you train: Useful inspection commands while iterating: Tiny TOML Demo Create mini.toml : max tokens = 1024 below is an intentional smoke-test profile. The standard default for full runs is max tokens = 10240 . Run it: Override fields from CLI without editing TOML: Quick Start from Template Other templates: retrain Workflow The normal retrain loop is: 1. Define TOML config ( retrain.toml or campaign.toml ) 2. Dry-run with retrain explain ... 3. Train with retrain ... 4. Inspect with retrain status logs Use retrain man --topic capacity only when you are sizing longer runs. Why retrain - Experiment-first workflow: config - explain - run - compare - Composable advantage pipeline: GRPO/MaxRL + GTPO/HICRA/SEPA - Pluggable backends and inference engines - Pluggable rewards (m","default_branch":null,"files":null,"tree":[],"storefront":"/r/teilomillet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/teilomillet/retrain/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}