# What Is Fine-Tuning? Definition & Alternatives

> Fine-tuning retrains a pre-trained AI model on your own examples. Learn the definition, how it differs from RAG, when it is worth it plus an example.

Source: https://akaia-platform.de/en/glossary/fine-tuning
Language: en

---

AI basics

## What is fine-tuning?

Fine-tuning is the targeted further training of a pre-trained language model on your own example data so that it handles a specific task, style or format more reliably.

Also: Model fine-tuning · Retraining

A [large language model](https://akaia-platform.de/en/glossary/large-language-model) is first pre-trained on huge amounts of text. Fine-tuning then trains it further on a much smaller, curated set of examples. This changes the model’s weights, or with methods such as LoRA a small set of additional weights. The model learns to respond in a particular pattern.

### Fine-tuning or RAG?

The two are often confused, but they solve different problems:

-   **Fine-tuning** changes behaviour: tone, format, domain language, classification.
-   **[RAG](https://akaia-platform.de/en/glossary/rag)** supplies knowledge: the model stays unchanged and receives the relevant passages from your documents with every question.

For company knowledge that changes constantly, RAG is usually the better choice. New documents are usable right away, answers can cite sources and visibility stays under control. Fine-tuning pays off for very uniform tasks with thousands of good examples.

### Effort and data protection

Fine-tuning needs carefully prepared training data, compute time and a repeat whenever you switch models. If the training data contains personal data, you need a legal basis and a plan for deletion requests, because a single record is hard to remove from a trained model. Clear [prompts](https://akaia-platform.de/en/glossary/prompt) with a few examples in the context often achieve a similar result.

### Example

A heating equipment manufacturer wants to sort incoming service requests into twelve fixed categories, from “burner fault” to “spare parts order”. It fine-tunes a model on 8,000 requests that are already categorised. Questions about error codes, on the other hand, are answered via RAG from the current service manuals, because those change with every product generation.

### How AKAIA uses it

In AKAIA, company knowledge reaches the answers through knowledge collections and synced apps (RAG), each with its source. You shape how an agent works through its instructions and skills, and new documents are usable right away. Your data is not used for training; that is contractually excluded with all model providers.

-   **[Agents](https://akaia-platform.de/en/agents)**

    Build your own agents without code.

-   **[Documents](https://akaia-platform.de/en/documents)**

    Analyse, cite and create files.

Glossary

### Related terms

Terms that often come up together.

-   ### [RAG](https://akaia-platform.de/en/glossary/rag)

    Retrieval-Augmented Generation

    Retrieval-augmented generation (RAG) is a method in which a system first retrieves relevant passages from your own sources and a language model then writes an answer grounded in those sources.

-   ### [Large language model (LLM)](https://akaia-platform.de/en/glossary/large-language-model)

    LLM

    A large language model (LLM) is an AI model trained on very large amounts of text that understands and generates language by predicting, token by token, the most likely next piece of text.

-   ### [Prompt](https://akaia-platform.de/en/glossary/prompt)

    Prompt engineering

    A prompt is the input given to an AI model: the question, instruction or task together with any context, from which the model generates its answer.

-   ### [Embedding](https://akaia-platform.de/en/glossary/embedding)

    Vector embedding

    An embedding is a list of numbers (a vector) that represents the meaning of a text, image or other content, so that content with similar meaning sits close together in that numerical space.

#### Related pages

-   **[Marketing](https://akaia-platform.de/en/use-cases/marketing)**

    Use cases

Next step

### From definition to practice.

Search, chat, agents and tasks in one platform. Hosted in Frankfurt, every model processed in the EU.

[Get started](https://app.alphos-services.com/register) · [Talk to sales](https://akaia-platform.de/en/contact)

No per-seat fee · From €399 a month · Cancel monthly
