> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/model-training/best-practices.md).

# Best practices

## Best practices for continuous model training, such as training frequency, selecting sample documents, and monitoring model performance metrics.

**Here are some best practices for continuous model training:**

**Perform regular training:**

* Perform regular training cycles to ensure your model is up to date and adapts to changes in data and requirements.
* The frequency of training can vary depending on the type of data and training progress, but it is important to train regularly to maintain model performance.

**Use updated sample documents:**

* Use recent sample documents that are representative of the data your model will face.
* This may include adding new documents, removing outdated documents, or editing metadata to ensure the training data is current and relevant.

**Select diverse samples:**

* Make sure your training data covers a wide variety of scenarios and use cases to ensure the model is robust and versatile.
* Consider different variations in layouts, languages, formats, and content to ensure the model works well in different situations.

**Monitor model performance:**

* Regularly monitor the performance of the model using relevant metrics such as accuracy, precision, and recall.
* Analyze the results of classification tests and validation checks to identify weak points and spot opportunities for improvement.

**Incorporate continuous feedback:**

* Incorporate feedback from users and experts to continuously improve the model.
* Collect feedback on misclassifications or inadequate results and use this information to adjust and optimize the model.

**Automate the training process:**

* Automate the training process to increase efficiency and minimize human error.
* Use tools and scripts to automatically perform model training, evaluation, and updating when new data is available or changes are required.

By implementing these best practices for continuous model training, you can ensure that your model is constantly improving and achieving optimal performance to meet the needs of your use case.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/model-training/best-practices.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
