Skip to main content
Requires an authenticated session with an active project. See the quickstart guide for more info. This example uses the banking77 example dataset.
1

Upload the training data

Data must be in JSONL format. Add --dry-run to verify compatibility and view metadata without uploading.
Note the dataset ID it returns.
2

Write a recipe json

Set DATASET_ID to the ID from the previous step, then paste the whole block (lora finetunes Qwen3-8b on the banking 77 dataset):
3

Create the recipe

Returns the recipe ID you pass to train.
4

Launch the run

Training is a long running operation which can take 1hr+ depending on the datatset and model. Billing charges apply. For more info see our pricing page.
Blocks until training finishes, then prints the model ID, model version ID, and operation ID.
The model weights can be exported with the following command. (Note that model exports require a pro plan and are limited to 1 per month):

NEXT STEPS

Evaluate a model

Score it and find where it fails.

Deploy a model

Serve it behind an inference endpoint.