End-to-end examples
The training
sessions cookbook
| Recipe | Description |
|---|---|
| Chat SFT |
Supervised fine-tuning on chat datasets with the
cross_entropy loss. |
| GSM8K RL |
Reinforcement learning on grade-school math problems. |
| Code RL |
Reinforcement learning on competitive-programming problems. Generated solutions run against unit tests in a local sandbox and are rewarded on pass rate. |
| Preference KTO |
Preference alignment from binary desirable and undesirable feedback with Kahneman-Tversky optimization (KTO). |
To deploy a saved checkpoint to a SageMaker AI real-time endpoint, see the deployment notebook