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

# Compositions

> Creating dataset recipes for optimal fine-tuning

A **Composition** is the "recipe" for your fine-tune. Rather than just selecting a single dataset, a composition allows you to mix multiple data sources to find the optimal balance for your model.

<img src="https://mintcdn.com/maitai-cbe2cd27/o70b7aP0pbkBNV82/images/forge/models/Build_Models_Compositions.png?fit=max&auto=format&n=o70b7aP0pbkBNV82&q=85&s=90238dfd7ad40b07b697e2f937aaf83a" alt="Compositions" width="1645" height="855" data-path="images/forge/models/Build_Models_Compositions.png" />

### Compositions as Recipes

Think of a composition as a way to combine various data sources:

* **Mix Multiple Datasets**: Combine real production data with synthetic data from **Synthetic Conversation Trees**.
* **Balance Data Ratios**: You might want 70% core tasks, 20% edge cases, and 10% "negative" examples (what NOT to do).
* **Experimentation**: Create multiple compositions with different dataset ratios to see which one yields the best performance during validation.

## Next

* Start training: [Fine-tune Runs](/build/models/fine_tune_runs)
* Full end-to-end walkthrough: [Fine-tune a Model](/examples/fine_tuning)
