Export and import generators

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.

Steps

  • Export a generator directly from the Generators page.
    1. From the Generators page, click the kebab menu of a generator, and select Export to file. MOSTLY AI - Export a generator - 01 - From Generators page, kebab menu, Export to file
  • Export a generator after you open it.
    1. From the Generators page, click a generator to open it.
    2. Click the kebab menu in the upper right, and select Export to file. MOSTLY AI - Export a generator - 01 - Open kebab menu 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

  1. On the Generators page, click Import from file. MOSTLY AI - Import a generator - 01 - Click Import from file
  2. On the Import Generator prompt, click in the upload area to browse or drag-and-drop the exported generator ZIP file. MOSTLY AI - Import a generator - 02 - Click upload area
  3. Click Proceed.

Result

The imported generator opens immediately. You can now use it to generate synthetic data in the new environment.