---
title: Retrain a Model
sidebarTitle: Retrain a Model
---

## Description

The `retrain()` function retrains the model, for example, if new version of MindsDB is available.

## Syntax

Use the `retrain()` method to retrain a model:

```python
model_name.retrain()
```
