Skip to main content
Version: v0.24.x

Data generation

Overview​

The Data Generation page allows you to create high-quality training data using large language models (LLMs). You can:

  • Generate new rows (entire synthetic datasets)
  • Generate new columns (labels, summaries, or other outputs) based on existing datasets

All jobs are scoped to your current project.

Data generation list view​

When you land on the Data Generation tab, you'll see a table of all jobs in the current project.

Data Generation page listing jobs with the Name, Dataset, Problem Type, Created, and Status columns

Table columns​

Each row includes:

  • Name: The job name
  • Dataset: The input dataset (only shown for Generate Columns jobs)
  • Problem Type: Generate Rows or Generate Columns
  • Created: The date and time the job was created
  • Status: For example, queued, running, completed, or failed

Table features​

  • Search by name, dataset, or problem type, using the boxes under the column headings
  • Click the edit mode icon at the top left of the table to select and delete multiple jobs
  • To exit edit mode, click ✕ in the action bar that appears below the navigation bar, or click the edit mode icon again

Row actions​

Click ⋮ on any row to:

  • Copy: Open a new data generation job with the same settings filled in
  • Delete: Remove the job

Row action menu on a data generation job with the Copy and Delete options

Rename a job​

You can rename a data generation job in either of these ways:

  • In the list, click the edit mode icon at the top left of the table, then click the job's name. Type the new name and press Enter, or press Esc to cancel.
  • On the job's page, click the pencil icon next to the job name, enter the new name, and click Rename.

Start a new data generation job​

Click the New Data Generation button to open the job creation form.

The form is divided into the following sections:

Data generation details​

A name (for example, liable-parrotfish) is generated for each new job. To change it, click the pencil icon next to the page title.

  • Select Recipe: Start from an example configuration. Choosing a recipe fills in the whole form. The options are:

    • Generate Haikus (default)
    • Text to SQL
    • Essay Rating
    • Custom: Start from a blank configuration

    Recipes are useful for trying out the system or prototyping ideas. This field appears only when Show Data Generation Recipes is on in Settings (it's on by default).

  • Problem Type:

    • Generate Rows (default): The LLM creates brand new records.
    • Generate Columns: The LLM adds new columns to an existing dataset.
  • Number of samples: How many rows to generate (default: 10, but typically you'll want 1,000 or more).

  • Output Problem Type: The problem type assigned to the dataset the job creates. Choose Causal LM, Classification LM, Multimodal Causal LM, or Causal LM (Reinforcement Learning). For example, pick Classification LM if you're generating data to train a classifier. With Generate Columns, this field is set to the input dataset's problem type when you select the dataset.

If you choose Generate Columns, a Dataset Selection section appears so you can pick the input dataset the LLM will enrich.

New Data Generation page showing the Data Generation Details section with the Select Recipe, Problem Type, Number of samples, and Output Problem Type fields

Dataset selection (if generating columns)​

This section appears only if you select Generate Columns as your problem type.

Choose a dataset from your project that the LLM will read from and enrich (for example, by generating labels or answers).

Dataset Selection section shown when the problem type is Generate Columns

Use cases include:

  • Labeling call center transcripts
  • Annotating support tickets with topics
  • Adding summaries or titles to long-form text

This is ideal for producing high-quality, labeled datasets that can be used to fine-tune smaller LLMs, reducing production inference costs.

LLM config​

Configure the LLM used for data generation. This is typically a large, hosted model.

  • Large Language Model: Choose from the models your administrator has set up for your organization
  • Max New Tokens: The maximum number of tokens the model can generate (default: 4096)

These models are not the ones you will fine-tune — they are used to create high-quality labeled data for training your smaller, production-ready models.

LLM Config section with the Large Language Model and Max New Tokens fields

Transformation instruction templates​

This section defines how the LLM should generate your data. It has these fields:

  • Random Seed Dictionary: Lists of options that are mixed into the prompt to make the generated data more varied (shown for Generate Rows)
  • User Prompt Template: The instruction the LLM follows for each row
  • New column names (optional): The names of the columns to generate. If you leave it empty, a single column called output is generated.

Improve Config is the quickest way to fill in these fields. To use it:

  1. Open the Improve Config dialog

    Click the Improve Config ✨ button at the top right of the page.

    This opens the Improve Configuration dialog.

  2. Describe what you want

    Describe the data you want. This is optional. If you leave it blank, a general improvement prompt is used.

    Example instructions:

    • "I want a haiku about nature, especially themes like the moon or the stars."
    • "Generate a call center transcript with 3 binary classification labels."
    • "Create more diverse examples with better formatting."

    Improve Config dialog with a text box for describing the data you want

  3. Run Improve Config

    Click Improve Config in the dialog.

    An LLM fills in the Random Seed Dictionary, the User Prompt Template, and the New column names.

  4. Review the generated fields

    Review the generated fields to ensure they match your intent. Edit them if needed.

    Transformation Instruction Templates section filled in by Improve Config, showing the Random Seed Dictionary, User Prompt Template, and New column names fields

You can also fill in these fields yourself, but Improve Config is the fastest and most reliable way.

Optional: Check or reset the config​

At the top right of the page:

  • Click Check Config 🔍 to run a few test examples and preview generated rows
  • Click Reset Settings to clear the form and start fresh

Check Config preview showing a few generated test rows

Start data generation​

Click Start Data Generation at the top right of the page to begin the job using the provided instructions and model settings.

After you start: viewing a data generation job​

Once your job starts, its page opens. The Status section shows:

  • The status (for example, queued, running, or completed), the Runtime, and the Progress. An ETA is also shown while the job runs.
  • Done: The number of rows generated so far
  • Total Generation Cost (may be $0 for small jobs)
  • Created: The date the job was created
  • Total Input Tokens and Total Generated Tokens
  • Speed (generated tokens/s)

If some rows couldn't be generated, a warning shows how many rows were dropped and why. If a response was longer than Max New Tokens, try increasing that value. For other errors, check the logs.

You'll also see:

  • Charts: A Text Length Distribution chart and a word cloud of generated terms, once the job has generated data
  • Configuration: A summary of the prompts and settings
  • A log of generation activity

At the top right of the page, click Delete to remove the job.

Data generation job page for a completed job, showing the Status section with the runtime, progress, cost, token counts, speed, and a dropped rows warning, and the Charts section with the Text Length Distribution chart

View your generated dataset​

When the job is complete, click Check Result Dataset at the top right of the job page to open the new dataset.

This takes you to the dataset page, where you can:

  • View row/column metadata
  • Explore token statistics
  • Preview a sample of your data

To learn more about working with datasets, see the Datasets documentation.


Feedback