# TRL Recipes > Reproducible post-training recipes built with Hugging Face TRL (`SFTTrainer`, `AsyncGRPOTrainer`), including exact launch scripts for HF Jobs and local GPUs, evaluation commands, hyperparameters, datasets, and TRL version/patch pinning. Direct static host (no iframe wrapper): https://trl-lib-trl-recipes.static.hf.space/index.html Hugging Face Space repository: https://huggingface.co/spaces/trl-lib/trl-recipes Lightweight JSON catalog: https://trl-lib-trl-recipes.static.hf.space/catalog.json ## How to fetch a recipe - **Self-contained Markdown (`text/markdown`):** `https://trl-lib-trl-recipes.static.hf.space/recipes///index.md` or `https://trl-lib-trl-recipes.static.hf.space/guides//index.md` - **Hub raw Markdown (same files on huggingface.co):** `https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes///index.md` - **Per-recipe structured JSON (with default commands):** `https://trl-lib-trl-recipes.static.hf.space/recipes///recipe.json` - **Download runnable launchers & scripts:** `hf download trl-lib/trl-recipes --repo-type space --include "recipes//*"` ## Recipes - [Carbon-X — Carbon-X (`HuggingFaceBio/Carbon-X`)](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/Carbon-X/index.md): SFTTrainer, AsyncGRPOTrainer · H100, H200 · Local, HF Jobs. Post-training of Carbon-X, a 14B DNA and language model: SFT of the midtrained Carbon-X-Base on FineDNA, then async GRPO with verifiable DNA rewards, thinking off. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/Carbon-X/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/Carbon-X/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/Carbon-X/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/carbon-x/Carbon-X/index.md)) - [Harness adapters — Inkling-2-Mini (`thinkingmachines/Inkling-2-Mini`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Inkling-2-Mini/index.md): AsyncGRPOTrainer · H200, B200 · HF Jobs. LoRA adapters for agent harnesses on Inkling 2 Mini, trained with async GRPO. Released: Inkling-2-Mini-pi-adapted, for pi at reasoning effort high (coding + cyber tasks, a tool-efficiency bonus and a length penalty; PRESET=pi-adapted), and the effort-none adapters (pi, hermes, opencode, DeepSeek Harness on scale800 + TermGrade, one job per harness). The Qwen3.8-27B recipe's settings, with what Inkling needs. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Inkling-2-Mini/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Inkling-2-Mini/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Inkling-2-Mini/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/Inkling-2-Mini/index.md)) - [Harness adapters — Qwen3.8-Flash-Next (`Qwen/Qwen3.8-Flash-Next`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-Flash-Next/index.md): AsyncGRPOTrainer · SLURM only. A pi harness adapter for the 180B Qwen3.8-Flash-Next, thinking on, trained with async GRPO on agentic coding and terminal tasks (scale800 + TermGrade). One 8-GPU B300 node: vLLM tensor + expert parallel on 4 GPUs, the LoRA trainer sharded with FSDP2 over the other 4. SLURM scripts only. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-Flash-Next/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-Flash-Next/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-Flash-Next/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/Qwen3.8-Flash-Next/index.md)) - [Harness adapters — LFM2.5-24B-A2B (`LiquidAI/LFM2.5-24B-A2B`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM2.5-24B-A2B/index.md): AsyncGRPOTrainer · H200 · Local, HF Jobs. One LoRA adapter per agent harness (pi, hermes, opencode), trained with async GRPO inside the unmodified harness on verifiable Harbor tasks, with safeagents checking every tool call. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM2.5-24B-A2B/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM2.5-24B-A2B/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM2.5-24B-A2B/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/LFM2.5-24B-A2B/index.md)) - [Harness adapters — LFM3-1.7B (`LiquidAI/LFM3-1.7B`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM3-1.7B/index.md): AsyncGRPOTrainer · H200 · Local, HF Jobs. One LoRA adapter per agent harness (pi, hermes, opencode), trained with async GRPO inside the unmodified harness on verifiable Harbor tasks, with safeagents checking every tool call. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM3-1.7B/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM3-1.7B/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/LFM3-1.7B/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/LFM3-1.7B/index.md)) - [Harness adapters — Qwen3.8-27B (`Qwen/Qwen3.8-27B`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-27B/index.md): AsyncGRPOTrainer · H200, B200 · Local, HF Jobs. One LoRA adapter per agent harness (pi, hermes, opencode) on Qwen3.8-27B, trained with async GRPO on agentic coding and terminal tasks (scale800 + TermGrade), one job per harness, thinking off. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-27B/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-27B/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/Qwen3.8-27B/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/Qwen3.8-27B/index.md)) - [Harness adapters — TwIL-8B (`webAI-Official/TwIL-8B`)](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/TwIL-8B/index.md): AsyncGRPOTrainer · H200 · Local, HF Jobs. Experiment: one LoRA adapter per agent harness (pi, hermes, opencode) on a model not trained on agentic data, with more agent steps and a longer rollout timeout. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/TwIL-8B/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/TwIL-8B/recipe.json) · [YAML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/TwIL-8B/recipe.yaml) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/recipes/harness-adapters/TwIL-8B/index.md)) ## Guides - [Multi-Harness RL (`LiquidAI/LFM2.5-2.6B`)](https://trl-lib-trl-recipes.static.hf.space/guides/multi-harness-rl/index.md): AsyncGRPOTrainer. Train a small model with RL inside unmodified agent harnesses (OpenCode, Claude Code, Codex, Mini-SWE-Agent) so it improves across all of them. ([HTML](https://trl-lib-trl-recipes.static.hf.space/guides/multi-harness-rl/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/guides/multi-harness-rl/recipe.json) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/guides/multi-harness-rl/index.md)) - [RL Environment Pipeline (`Qwen/Qwen3.8-27B`)](https://trl-lib-trl-recipes.static.hf.space/guides/openenv-coding-tasks/index.md): AsyncGRPOTrainer. Build verifiable coding tasks and select examples that give the base model a mix of successful and unsuccessful rollouts. ([HTML](https://trl-lib-trl-recipes.static.hf.space/guides/openenv-coding-tasks/index.html) · [JSON](https://trl-lib-trl-recipes.static.hf.space/guides/openenv-coding-tasks/recipe.json) · [Hub raw](https://huggingface.co/spaces/trl-lib/trl-recipes/raw/main/guides/openenv-coding-tasks/index.md)) ## Projects - [Carbon-X](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/index.md): SFTTrainer, AsyncGRPOTrainer · 1 recipe. Carbon-X is an open 14B model for DNA understanding and generation from Hugging Face Bio. It reads raw DNA inside an ordinary chat and answers in English: whether a variant is benign or pathogenic, what a region does, which organism a sequence comes from, and the next bases of a sequence. Release blog post: HuggingFaceBio/Carbon-X-Release. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/carbon-x/index.html)) - [Harness adapters](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/index.md): AsyncGRPOTrainer · 6 recipes. Small LoRA adapters trained with RL inside unmodified agent harnesses (pi, hermes, opencode): one adapter per model and harness, all served from one base model. A tool call is checked by safeagents before it runs. Blog post: harness-hub/harness-adapters. ([HTML](https://trl-lib-trl-recipes.static.hf.space/recipes/harness-adapters/index.html)) ## Machine-Readable Indexes - [catalog.json](https://trl-lib-trl-recipes.static.hf.space/catalog.json): Lightweight JSON catalog of all recipes, facets, and direct URLs - [llms-full.txt](https://trl-lib-trl-recipes.static.hf.space/llms-full.txt): Single-file Markdown bundle of all project, recipe, and guide pages (patch diffs linked, not inlined) - [recipes.json](https://trl-lib-trl-recipes.static.hf.space/recipes.json): Full archive JSON including embedded launcher scripts and TRL patches - [sitemap.xml](https://trl-lib-trl-recipes.static.hf.space/sitemap.xml): XML sitemap of all HTML pages