1
Upload a Dataset
The first step in fine-tuning is to upload a Dataset that
contains examples of the task you want the model to learn. You may also upload a dataset using the UI.
2
Create an Adapter
The next step is to create an Adapter — a small set of
auxiliary parameters that are added to the base model to learn the specific
task.
3
Prompt your Adapter
Once you have a fine-tuned adapter (or even during training, once you have a
checkpoint), you can prompt your adapter using an existing deployment of the
same base model to spot-check its quality. Shared endpoints are available for quick testing without needing to first create a private deployment.
4
Evaluate your Adapter
Before going to production, you may want to Evaluate
your adapter to ensure it meets the desired response quality.
5
Create a Production Deployment
When you’re ready to serve your fine-tuned adapter in production, create a
Private Deployment.Note that you are creating a base model deployment which supports multi-LoRA, meaning your newly trained adapter
and any other adapters, can be prompted by specifying the
adapter_id
in the generate
function.Next Steps
- Learn about the different fine-tuning task types and methods.
- Try out integrations with Weights & Biases and Comet to access more metrics and compare different runs.