1
Configure storage (BYOB)
Set up your dataset storage using GCS, AWS S3, or Azure Blob Storage on the BYOB page.For models, you can optionally use External AWS S3 Bucket Integration.
2
Prepare your reward pipeline and rollouts
Keep your reward functions, rollout servers, and training metrics under your control. Generate rewards from your environment and write them to examples in your dataset (or export a dataset that contains per-example rewards).
- Reward functions and reward models remain proprietary and never need to be shared
- Rollouts and evaluation infrastructure run in your environment
- Model checkpoints can be registered to your storage registry if desired
3
Create a dataset that includes rewards
Create or point a
Dataset at your BYOB storage. Ensure each example contains the information required by your reward pipeline (for example, prompts, outputs/trajectories, and numeric rewards).You can reuse existing supervised data by attaching reward signals produced by your pipeline, or export a fresh dataset into your bucket for consumption by RFT.
4
Run reinforcement fine-tuning step from Python
Use the Python SDK to create a reinforcement fine-tuning step that reads from your BYOB dataset and produces a new checkpoint.See the Create Reinforcement Fine-tuning Step API reference for full parameters and options.
When continuing from a LoRA checkpoint, training parameters such as
lora_rank, learning_rate, max_context_length, and batch_size_samples must match the original LoRA training.5
Verify outputs and enforce controls
- Validate the new checkpoint functions as expected in your environment
- If exporting models to your storage, apply your registry policies and access reviews
- Review audit logs and rotate any temporary credentials used for the run
You now have an end-to-end secure RFT workflow with BYOB datasets, proprietary reward pipelines, and isolated training jobs that generate new checkpoints.