Export and import generators
MOSTLY AI allows you to export already trained generators from one environment and import them into another.
The export and import of generators is useful for organizations that need a separation of concerns. For example, you can deploy MOSTLY AI in a secure cluster where you keep original data secure and private, and where it is safe to train generators on the original data. The data remains secure as the generator learns only the statistical properties and never memorizes specific data points.
You can then export the trained generator from the secure environment and import it into another instance of the MOSTLY AI Platform. That instance can be made available to everyone in your organization. People can use it to generate privacy-safe synthetic data and extract data insights with the Assistant without access to the original data.
Export a generator
If you use the UI of the MOSTLY AI Platform, you can export a generator in one of two ways.
Prerequisites
To export a generator, you must be its Owner
or have the Editor
role if the generator was shared with you.
Steps
- Export a generator directly from the Generators page.
- From the Generators page, click the kebab menu of a generator, and select Export to file.
- Export a generator after you open it.
- From the Generators page, click a generator to open it.
- Click the kebab menu in the upper right, and select Export to file.
Result
The exported generator downloads as a .mostly
package to your local drive. The file is encrypted and can only be imported as a generator into another instance of the MOSTLY AI Platform.
Import a generator
You can import generators into another instance of the MOSTLY AI Platform with the UI and the Python client.
You can use the UI of another instance of the MOSTLY AI Platform to import exported generators.
Steps
- On the Generators page, click Import from file.
- On the Import Generator prompt, click in the upload area to browse or drag-and-drop the exported generator ZIP file.
- Click Proceed.
Result
The imported generator opens immediately. You can now use it to generate synthetic data in the new environment.