> For the complete documentation index, see [llms.txt](https://docs.biodock.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model.md).

# Path 2: Train a fully-automated AI model

*What you'll get: your own AI model that finds, outlines and measures your objects on any number of images.*

This tutorial takes you from raw images to results from a model you trained yourself. Expect about 15 minutes of work, and about an hour of waiting while the model trains.

## How it works

Training a model is like training a new lab member. You show them examples, they study, you check their work, and when they are good enough they do the work for you.

1. **Set up a project.** Add your images, choose what you are looking for and at what scale. [Set up your project](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model/set-up-your-project.md)
2. **Label.** Outline every object in a few tiles of your images, with AI help. [Label and train](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model/label-and-train.md)
3. **Train and check.** Biodock trains a model on your labels. You compare its answers with yours. [Train, check and improve](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model/train-check-and-improve.md)
4. **Improve.** Let the model label new tiles, fix its mistakes, and train again. Each training makes a new version and never overwrites an old one. Two or three rounds is normal.
5. **Run it.** Use the model on all your images, now and later. [Run your AI model](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model/run-your-ai-model.md)

{% hint style="info" %}
To follow along, use the sample images in your personal account's **Files**: the folder **Sample Data: iPSC differentiated neurons**, with four Control and four Treatment images. The steps below count the nuclei in them.
{% endhint %}

Prefer to watch? The [Train your own model](https://docs.biodock.ai/start/video-tutorials.md#train-your-own-model-17-videos) videos cover the same steps.

{% content-ref url="/pages/YxjUeRmjLpV2CLnz8ZcY" %}
[Set up your project](https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model/set-up-your-project.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.biodock.ai/start/path-2-train-a-fully-automated-ai-model.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
