> For the complete documentation index, see [llms.txt](https://aizen-corp.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aizen-corp.gitbook.io/docs/model-building-commands/training-commands/import-trained-model.md).

# import trained-model

The `import trained-model` command imports a previously exported trained model from an S3 bucket. It is used, along with the `export trained-model` command, to transfer ML models between two Aizen installations.

## Syntax

{% code overflow="wrap" %}

```
import trained-model <model name>,<run id>,source=<datasource name> 
```

{% endcode %}

## Parameters

| Parameter           | Description                                                                         |
| ------------------- | ----------------------------------------------------------------------------------- |
| `<model name>`      | The name of the ML model                                                            |
| `<run id>`          | The specific training run identifier                                                |
| `<datasource name>` | The data source that contains the S3 bucket definition where the model was exported |

## Example

{% code overflow="wrap" %}

```
import trained-model fare_2_ml_model,1,source=s3_export_datasource
```

{% endcode %}
