Fine-tune a model
Fine-tune a model
In this guide we will demonstrate how to use Humanloop’s fine-tuning workflow to produce improved models leveraging your user feedback data.
Fine-tune a model
In this guide we will demonstrate how to use Humanloop’s fine-tuning workflow to produce improved models leveraging your user feedback data.
This feature is not available for the Free tier. Please contact us if you wish to learn more about our Enterprise plan
humanloop.complete_deployed() or the humanloop.chat_deployed() endpoints, along with the humanloop.feedback() with the API or Python SDK.A common question is how much data do I need to fine-tune effectively? Here we can reference the OpenAI guidelines:
The more training examples you have, the better. We recommend having at least a couple hundred examples. In general, we’ve found that each doubling of the dataset size leads to a linear increase in model quality.
The first part of fine-tuning is to select the data you wish to fine-tune on.
Using the + Filter button above the table of the logs you would like to fine-tune on.
For example, all the logs that have received a positive upvote in the feedback captured from your end users.

ada:ft-your-org:custom-model-name-2022-02-15-04-21-04.ada, babbage, curie, or davinci.
The fine-tuning process runs asynchronously and may take up to a couple of hours to complete depending on your data snapshot size.
🎉 You can now use this fine-tuned model in a Prompt and evaluate its performance.