> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helicone.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Fine-Tuning

> Easily fine-tune a model using your request logs inside of Helicone.

Fine-tuning allows you to reduce your costs and improve your applications performance - all using the data already inside of Helicone. Read more about
it here: [OpenAI's fine-tuning guide](https://platform.openai.com/docs/guides/fine-tuning)

**1. Create a dataset**

Navigate to the request page and use filters to get your desired dataset

![Filtering requests on the request page to create a dataset in Helicone.](https://mintcdn.com/helicone/psm-vDV7pnoZSp6H/images/features/fine-tuning/filters.png?fit=max\&auto=format\&n=psm-vDV7pnoZSp6H\&q=85\&s=1cd7f2954c52e622e2a2dfa17773ef13)

Press `Create Dataset` and name it

![Creating and name your dataset in Helicone.](https://mintcdn.com/helicone/psm-vDV7pnoZSp6H/images/features/fine-tuning/create-dataset.png?fit=max\&auto=format\&n=psm-vDV7pnoZSp6H\&q=85\&s=4275061e6b9c53c6e3672554acec419e)

> [!TIP]
>
> You need at least 10 requests within a dataset to fine-tune.

**2. Start a fine-tuning job**

Navigate to the fine-tune page and creete a new fine-tuning job.

![Starting a fine-tuning job in Helicone.](https://mintcdn.com/helicone/psm-vDV7pnoZSp6H/images/features/fine-tuning/fine-tune-job.png?fit=max\&auto=format\&n=psm-vDV7pnoZSp6H\&q=85\&s=64b10b6cdd65e3a93143c8d90ee0d2ef)

**3. Replace your model name**

Once your fine-tuning job is completed, all you have to do is replace the model name and you can start using the new fine-tuned model!

![Python integration example showing how to replace the model name after fine-tuning in Helicone.](https://mintcdn.com/helicone/psm-vDV7pnoZSp6H/images/features/fine-tuning/model.png?fit=max\&auto=format\&n=psm-vDV7pnoZSp6H\&q=85\&s=09f8fd05b64cb2091961e139e77d5a1a)

Example Python integration


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.