Skip to content
SurogateSurogateDocs
↑↓ to move↵ to openesc to close

Examples library

Every feature in Surogate has a maintained example you can run and copy. The repository example index maps training and serving features to their configs, launch scripts and API clients. Install Surogate first (see Installation), then run the commands from the repository root.

WorkflowExamples
SFT, LoRA, QLoRA, precision and model familiesModel recipes
Full fine-tuning, adapters, distributed training, memory and monitoringTraining features
Scratch and continued pretrainingPretraining
Local data, column mapping, mixing and validationDatasets
Preference optimizationDPO
Teacher capture and tokenizer transplantationDistillation
Split/colocated GRPO, evaluation and checkpointsGRPO
One small model, one job, one GPU, with before/after scoresGRPO kits
Judge rewards and multi-turn on-policy distillationRULER, TurnOPD
HTTP APIs, media, adapters, placement, caching and speculationServing
bash
surogate sft examples/sft/qwen3/qwen3-lora-bf16.yaml
surogate dpo examples/dpo/qwen3.yaml
bash examples/serve/launch.sh chat

For every supported workflow and what it needs, see the feature map. Benchmark fixtures are kept separate from these user-facing examples.

Next: Configuration explains how an example config is put together, so you can adapt one to your model and data.