Train a new generator

Train a new generator

With generators, MOSTLY AI makes it easy to use Generative AI to train your own AI models on single- and multi-table datasets. You can then use a trained generator to generate endless amounts of high-quality and privacy-protected synthetic data.

You can quickly train a new generator with a single tabular data file.

📑

You can also train generators with two-table and multi-table datasets. For more information, see Set table relationships.

If you use the web application, you can start the training of a new generator from the Generators page.

Steps

  1. On the Generators page, click + New generator.

    MOSTLY AI - Generators page - Click New generator

    Step result: You now have a generator object created in the MOSTLY AI database and the generator is listed on the Generators page.

    The Add data window appears prompting you to add tabular data for your generator to train on.

  2. Add a table with file upload.

    1. From the Add data window, click Upload file.
      💡

      You can also add data from a database or cloud bucket when you select Connect to a source. To learn more, see Add data from a database and Add data from a cloud storage bucket.

      MOSTLY AI - Generators page - Click Upload file
    2. Under Upload file, drag a local file onto the box or click the box to browse your local file system.
      💡

      If you need a dataset, download one from the Datasets page.

      MOSTLY AI - Generators page - Drag to upload or click to browse
    3. (Optional) Enter a name for the table.
      The table name appears in the list of tables added to the generator. Also, the table name that you provide is what appears in each generated synthetic dataset. MOSTLY AI - Generators page - Name the new table
    4. Click Proceed.
  3. Train the generator.

    1. Click Configure models in the upper right. MOSTLY AI - Data configuration - Click Configure models
    2. On the Model configuration page, click Start training. MOSTLY AI - Model configuration - click Start training

Result

Your generator now starts training. When the training completes, your generator is ready to generate synthetic data.