examples/README.md
Each example lives in its own self-contained folder. The full index and layout conventions are documented at https://huggingface.co/docs/trl/example_overview.
grpo_wordle), the model (sft_gpt_oss), or the technique (grpo_qlora). Load folder-local assets relative to the script (Path(__file__).parent / ...), not the working directory.trl/scripts), and every trainer's documentation page has a runnable snippet.# /// script header and document the exact run command(s) in the module docstring (python examples/<folder>/<script>.py ...), including multi-GPU variants where relevant.docs/source/example_overview.md, with a Colab badge if the example has a notebook that runs on free Colab.