Quick Links
- Install the Library
- Prepare your Data
- Check and Upload your Data
- Start Fine-Tuning
- Monitor Progress
- Using a Downloaded Model
- Deploy your Fine-Tuned Model
- Colab Notebook Finetuning Project Tutorial
Install the Library
To get started, install thetogether Python library:
TOGETHER_API_KEY environment variable:
Upload your Data
See the data preparation instruction to understand the requirements and its readiness. To upload your data, run the following code:id of the file you just uploaded, but if you forget it, you can get the id’s of all the files you have uploaded using files.list(). You’ll need these id’s that start with file-960be810-4d.... in order to start a fine-tuning job.
Start Fine-Tuning
Once you’ve uploaded your dataset, copy your file id from the output above and select a base model to fine-tune. Check out the full models list available for fine-tuning. Run the following command to start your fine-tuning job usingfine_tuning.create:
resp response to highlight some of the useful information about your finetune job.