# Fine Tuning

Kiln makes it easy to fine-tune a wide variety of models like GPT-4o, Llama, Mistral, Gemma, and many more. Check out our fine tuning docs to get started:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Fine Tuning Guide</strong></td><td>Our end-to-end walkthrough of fine-tuning a model in Kiln. Includes generating training data.</td><td><a href="/files/reaAySjXgTjdVkcX2Tzy">/files/reaAySjXgTjdVkcX2Tzy</a></td><td><a href="/pages/UQ5mUIArq32hihhGE4Sv">/pages/UQ5mUIArq32hihhGE4Sv</a></td></tr><tr><td><strong>Train a Reasoning Model</strong></td><td>Using a process called distillation, create your own reasoning model.</td><td><a href="/files/Q49HXGUBF6ORGBiL01mv">/files/Q49HXGUBF6ORGBiL01mv</a></td><td><a href="/pages/RaqHbAJUWPl2zk68NF3E">/pages/RaqHbAJUWPl2zk68NF3E</a></td></tr><tr><td><strong>Fine Tune For Tool Use</strong></td><td>Train a model to use a specific set of tools, at the right time, with the right parameters.</td><td><a href="/files/RqmwElvFlPnm4q3vJ1Nq">/files/RqmwElvFlPnm4q3vJ1Nq</a></td><td><a href="/pages/SbUpu30PLNTEjXCKTNOK">/pages/SbUpu30PLNTEjXCKTNOK</a></td></tr></tbody></table>

{% hint style="success" %}
**Before Fine-Tuning, consider using Kiln's** [**Automatic Prompt Optimizer**](/docs/prompts/automatic-prompt-optimizer.md)**.** It has many of the benefits of fine-tuning (automated data driven optimization), while the result is much easier to deploy than a fine-tuned model.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kiln.tech/docs/fine-tuning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
