The Basics
🎨 Data Designer Tutorial: The Basics
📚 What you'll learn
This notebook demonstrates the basics of Data Designer by generating a simple product review dataset.
📦 Import Data Designer
-
data_designer.configprovides access to the configuration API. -
DataDesigneris the main interface for data generation.
⚙️ Initialize the Data Designer interface
-
DataDesigneris the main object responsible for managing the data generation process. -
When initialized without arguments, the default model providers are used.
🎛️ Define model configurations
-
Each
ModelConfigdefines a model that can be used during the generation process. -
The "model alias" is used to reference the model in the Data Designer config (as we will see below).
-
The "model provider" is the external service that hosts the model (see the model config docs for more details).
-
By default, we use build.nvidia.com as the model provider.
🏗️ Initialize the Data Designer Config Builder
-
The Data Designer config defines the dataset schema and generation process.
-
The config builder provides an intuitive interface for building this configuration.
-
The list of model configs is provided to the builder at initialization.
🎲 Getting started with sampler columns
-
Sampler columns offer non-LLM based generation of synthetic data.
-
They are particularly useful for steering the diversity of the generated data, as we demonstrate below.
You can view available samplers using the config builder's info property:
─────────────────────────────────────────── NeMo Data Designer Samplers ─────────────────────────────────────────── ┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓ ┃ Type ┃ Parameter ┃ Data Type ┃ Required ┃ Constraints ┃ ┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩ │ bernoulli │ p │ number │ ✓ │ >= 0.0, <= 1.0 │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ bernoulli_mixture │ p │ number │ ✓ │ >= 0.0, <= 1.0 │ │ │ dist_name │ string │ ✓ │ │ │ │ dist_params │ dict │ ✓ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ binomial │ n │ integer │ ✓ │ │ │ │ p │ number │ ✓ │ >= 0.0, <= 1.0 │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ category │ values │ string[] | integer[] | number[] │ ✓ │ len > 1 │ │ │ weights │ number[] | null │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ datetime │ start │ string │ ✓ │ │ │ │ end │ string │ ✓ │ │ │ │ unit │ string │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ gaussian │ mean │ number │ ✓ │ │ │ │ stddev │ number │ ✓ │ │ │ │ decimal_places │ integer | null │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ person │ locale │ string │ │ │ │ │ sex │ string | null │ │ │ │ │ city │ string | string[] | null │ │ │ │ │ age_range │ integer[] │ │ len > 2, len < 2 │ │ │ select_field_values │ object | null │ │ │ │ │ with_synthetic_personas │ boolean │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ person_from_faker │ locale │ string │ │ │ │ │ sex │ string | null │ │ │ │ │ city │ string | string[] | null │ │ │ │ │ age_range │ integer[] │ │ len > 2, len < 2 │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ poisson │ mean │ number │ ✓ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ scipy │ dist_name │ string │ ✓ │ │ │ │ dist_params │ dict │ ✓ │ │ │ │ decimal_places │ integer | null │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ subcategory │ category │ string │ ✓ │ │ │ │ values │ dict │ ✓ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ timedelta │ dt_min │ integer │ ✓ │ >= 0 │ │ │ dt_max │ integer │ ✓ │ > 0 │ │ │ reference_column_name │ string │ ✓ │ │ │ │ unit │ string │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ uniform │ low │ number │ ✓ │ │ │ │ high │ number │ ✓ │ │ │ │ decimal_places │ integer | null │ │ │ │ │ sampler_type │ string │ │ │ ├────────────────────┼──────────────────────────┼───────────────────────────────────┼──────────┼──────────────────┤ │ uuid │ prefix │ string | null │ │ │ │ │ short_form │ boolean │ │ │ │ │ uppercase │ boolean │ │ │ │ │ sampler_type │ string │ │ │ └────────────────────┴──────────────────────────┴───────────────────────────────────┴──────────┴──────────────────┘
Let's start designing our product review dataset by adding product category and subcategory columns.
[02:04:02] [INFO] ✅ Validation passed
Next, let's add samplers to generate data related to the customer and their review.
[02:04:02] [INFO] ✅ Validation passed
🦜 LLM-generated columns
-
The real power of Data Designer comes from leveraging LLMs to generate text, code, and structured data.
-
When prompting the LLM, we can use Jinja templating to reference other columns in the dataset.
-
As we see below, nested json fields can be accessed using dot notation.
[02:04:02] [INFO] ✅ Validation passed
🔁 Iteration is key – preview the dataset!
-
Use the
previewmethod to generate a sample of records quickly. -
Inspect the results for quality and format issues.
-
Adjust column configurations, prompts, or parameters as needed.
-
Re-run the preview until satisfied.
[02:04:02] [INFO] 🖼️ Preview generation in progress
[02:04:02] [INFO] |-- 🔒 Jinja rendering engine: secure
[02:04:02] [INFO] ✅ Validation passed
[02:04:02] [INFO] ⛓️ Sorting column configs into a Directed Acyclic Graph
[02:04:02] [INFO] Skipping model health checks because DATA_DESIGNER_SKIP_MODEL_HEALTH_CHECKS=1
[02:04:02] [INFO] ⚡ Using async task-queue preview
[02:04:02] [INFO] 📝 llm-text model config for column 'product_name'
[02:04:02] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[02:04:02] [INFO] |-- model alias: 'nemotron-lightning'
[02:04:02] [INFO] |-- model provider: 'nvidia'
[02:04:02] [INFO] |-- inference parameters:
[02:04:02] [INFO] | |-- generation_type=chat-completion
[02:04:02] [INFO] | |-- max_parallel_requests=4
[02:04:02] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[02:04:02] [INFO] | |-- temperature=1.00
[02:04:02] [INFO] | |-- top_p=0.95
[02:04:02] [INFO] | |-- max_tokens=2048
[02:04:02] [INFO] 📝 llm-text model config for column 'customer_review'
[02:04:02] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[02:04:02] [INFO] |-- model alias: 'nemotron-lightning'
[02:04:02] [INFO] |-- model provider: 'nvidia'
[02:04:02] [INFO] |-- inference parameters:
[02:04:02] [INFO] | |-- generation_type=chat-completion
[02:04:02] [INFO] | |-- max_parallel_requests=4
[02:04:02] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[02:04:02] [INFO] | |-- temperature=1.00
[02:04:02] [INFO] | |-- top_p=0.95
[02:04:02] [INFO] | |-- max_tokens=2048
[02:04:02] [INFO] ⚡️ Async generation: 2 column(s) (column 'product_name', column 'customer_review'), 4 tasks across 1 row group(s)
[02:04:02] [INFO] 🚀 (1/1) Dispatching with 2 records
[02:04:02] [INFO] 🎲 (1/1) Preparing samplers to generate 2 records across 6 columns
[02:04:06] [INFO] 📊 Progress [4.1s]:
[02:04:06] [INFO] |-- 🚀 column 'product_name': 2/2 (100%) 0.5 rec/s
[02:04:06] [INFO] |-- 🐔 column 'customer_review': 2/2 (100%) 0.5 rec/s
[02:04:06] [INFO] ✅ Async generation complete [4.1s]: 4 ok, 0 failed across 2 column(s)
[02:04:06] [INFO] 📊 Model usage summary:
[02:04:06] [INFO] |-- model: nvidia/nemotron-3.5-lightning-30b-a3b
[02:04:06] [INFO] |-- tokens: input=354, output=276, reasoning=0, total=630, tps=151
[02:04:06] [INFO] |-- requests: success=4, failed=0, total=4, rpm=57
[02:04:06] [INFO] 📐 Measuring dataset column statistics:
[02:04:06] [INFO] |-- 🎲 column: 'product_category'
[02:04:06] [INFO] |-- 🎲 column: 'product_subcategory'
[02:04:06] [INFO] |-- 🎲 column: 'target_age_range'
[02:04:06] [INFO] |-- 🎲 column: 'customer'
[02:04:06] [INFO] |-- 🎲 column: 'number_of_stars'
[02:04:06] [INFO] |-- 🎲 column: 'review_style'
[02:04:06] [INFO] |-- 📝 column: 'product_name'
[02:04:06] [INFO] |-- 📝 column: 'customer_review'
[02:04:06] [INFO] 👏 Preview complete!
Generated Columns ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Name ┃ Value ┃ ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_category │ Home & Kitchen │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ product_subcategory │ Furniture │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ target_age_range │ 50-65 │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ customer │ { │ │ │ 'uuid': '55596e24-c42a-4fc7-b6c0-2bba17e997f5', │ │ │ 'locale': 'en_US', │ │ │ 'first_name': 'Angela', │ │ │ 'last_name': 'Camacho', │ │ │ 'middle_name': None, │ │ │ 'sex': 'Female', │ │ │ 'street_number': '14171', │ │ │ 'street_name': 'Ferrell Groves', │ │ │ 'city': 'Joymouth', │ │ │ 'state': 'New Mexico', │ │ │ 'postcode': '42936', │ │ │ 'age': 35, │ │ │ 'birth_date': '1991-08-10', │ │ │ 'country': 'Nauru', │ │ │ 'marital_status': 'never_married', │ │ │ 'education_level': 'graduate', │ │ │ 'unit': '', │ │ │ 'occupation': 'Psychotherapist, child', │ │ │ 'phone_number': '861.899.2113x89297', │ │ │ 'bachelors_field': 'education' │ │ │ } │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ number_of_stars │ 1 │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ review_style │ rambling │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ product_name │ SupportiveArms Sofa │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ customer_review │ Oh my gosh you guys I just have to get this off my chest because I am literally │ │ │ shaking right now I just opened the box and I am so excited but also so mad I paid │ │ │ four hundred dollars for this and it is literally the flimsiest thing I have ever │ │ │ felt in my life the arms are like made of like cardboard basically and when I sit │ │ │ down my legs just kind of splay out everywhere it’s so embarrassing for a sofa that │ │ │ cost this much money and the cushions are like rocks they don’t even squish I’ve had │ │ │ it for like two days and already one of the pillows has a giant stain on it from the │ │ │ cat I mean seriously what is wrong with quality control these days I tried to call │ │ │ customer service but the lady was so rude she just kept putting me on hold and then │ │ │ the line just dropped dead I am so over it I want my money back but I don’t even │ │ │ want to look at this thing ever again it’s just sitting in my living room looking │ │ │ like a giant lumpy rock I hate it I hate it I hate it lol │ └─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────┘
| product_category | product_subcategory | target_age_range | customer | number_of_stars | review_style | product_name | customer_review | |
|---|---|---|---|---|---|---|---|---|
| 0 | Home & Kitchen | Furniture | 50-65 | {'uuid': '55596e24-c42a-4fc7-b6c0-2bba17e997f5... | 1 | rambling | SupportiveArms Sofa | Oh my gosh you guys I just have to get this of... |
| 1 | Home Office | Lighting | 18-25 | {'uuid': 'fbad5275-88cf-4e36-956e-251b09de3949... | 1 | brief | AuroraDesk | Just finished setting this up and it's total g... |
📊 Analyze the generated data
-
Data Designer automatically generates a basic statistical analysis of the generated data.
-
This analysis is available via the
analysisproperty of generation result objects.
──────────────────────────────────────── 🎨 Data Designer Dataset Profile ───────────────────────────────────────── Dataset Overview ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ number of records ┃ number of columns ┃ percent complete records ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ 2 │ 8 │ 100.0% │ └─────────────────────────────────┴─────────────────────────────────┴─────────────────────────────────────────────┘ 🎲 Sampler Columns ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ column name ┃ data type ┃ number unique values ┃ sampler type ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_category │ string │ 2 (100.0%) │ category │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ product_subcategory │ string │ 2 (100.0%) │ subcategory │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ target_age_range │ string │ 2 (100.0%) │ category │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ customer │ dict │ 2 (100.0%) │ person_from_faker │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ number_of_stars │ int │ 1 (50.0%) │ uniform │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ review_style │ string │ 2 (100.0%) │ category │ └────────────────────────────────┴─────────────────┴─────────────────────────────────┴────────────────────────────┘ 📝 LLM-Text Columns ┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ┃ prompt tokens ┃ completion tokens ┃ ┃ column name ┃ data type ┃ number unique values ┃ per record ┃ per record ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_name │ string │ 2 (100.0%) │ 74.5 +/- 0.5 │ 4.5 +/- 0.7 │ ├───────────────────────┼───────────────┼────────────────────────────┼───────────────────┼────────────────────────┤ │ customer_review │ string │ 2 (100.0%) │ 68.0 +/- 3.0 │ 128.5 +/- 120.9 │ └───────────────────────┴───────────────┴────────────────────────────┴───────────────────┴────────────────────────┘ ╭────────────────────────────────────────────────── Table Notes ──────────────────────────────────────────────────╮ │ │ │ 1. All token statistics are based on a sample of max(1000, len(dataset)) records. │ │ 2. Tokens are calculated using tiktoken's cl100k_base tokenizer. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────
🆙 Scale up!
-
Happy with your preview data?
-
Use the
createmethod to submit larger Data Designer generation jobs.
[02:04:06] [INFO] OpenTelemetry metrics available at http://127.0.0.1:9464/metrics
[02:04:06] [INFO] 🎨 Creating Data Designer dataset
[02:04:06] [INFO] |-- 🔒 Jinja rendering engine: secure
[02:04:06] [INFO] ✅ Validation passed
[02:04:06] [INFO] ⛓️ Sorting column configs into a Directed Acyclic Graph
[02:04:06] [INFO] Skipping model health checks because DATA_DESIGNER_SKIP_MODEL_HEALTH_CHECKS=1
[02:04:06] [INFO] ⚡ Using async task-queue builder
[02:04:06] [INFO] 📝 llm-text model config for column 'product_name'
[02:04:06] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[02:04:06] [INFO] |-- model alias: 'nemotron-lightning'
[02:04:06] [INFO] |-- model provider: 'nvidia'
[02:04:06] [INFO] |-- inference parameters:
[02:04:06] [INFO] | |-- generation_type=chat-completion
[02:04:06] [INFO] | |-- max_parallel_requests=4
[02:04:06] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[02:04:06] [INFO] | |-- temperature=1.00
[02:04:06] [INFO] | |-- top_p=0.95
[02:04:06] [INFO] | |-- max_tokens=2048
[02:04:06] [INFO] 📝 llm-text model config for column 'customer_review'
[02:04:06] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[02:04:06] [INFO] |-- model alias: 'nemotron-lightning'
[02:04:06] [INFO] |-- model provider: 'nvidia'
[02:04:06] [INFO] |-- inference parameters:
[02:04:06] [INFO] | |-- generation_type=chat-completion
[02:04:06] [INFO] | |-- max_parallel_requests=4
[02:04:06] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[02:04:06] [INFO] | |-- temperature=1.00
[02:04:06] [INFO] | |-- top_p=0.95
[02:04:06] [INFO] | |-- max_tokens=2048
[02:04:06] [INFO] ⚡️ Async generation: 2 column(s) (column 'product_name', column 'customer_review'), 20 tasks across 1 row group(s)
[02:04:06] [INFO] 🚀 (1/1) Dispatching with 10 records
[02:04:06] [INFO] 🎲 (1/1) Preparing samplers to generate 10 records across 6 columns
[02:04:07] [WARNING] Observed retryable model-task error: kind=rate_limit, http_status=429; the row task will be deferred.
[02:04:15] [INFO] 📊 Progress [8.3s]:
[02:04:15] [INFO] |-- 🥱 column 'product_name': 4/10 (40%) 0.5 rec/s
[02:04:15] [INFO] |-- 🐱 column 'customer_review': 1/10 (10%) 0.1 rec/s
[02:04:22] [INFO] 📊 Progress [15.5s]:
[02:04:22] [INFO] |-- 😐 column 'product_name': 6/10 (60%) 0.4 rec/s
[02:04:22] [INFO] |-- 🐱 column 'customer_review': 1/10 (10%) 0.1 rec/s
[02:04:29] [INFO] 📊 Progress [22.6s]:
[02:04:29] [INFO] |-- 😐 column 'product_name': 7/10 (70%) 0.3 rec/s
[02:04:29] [INFO] |-- 😺 column 'customer_review': 3/10 (30%) 0.1 rec/s
[02:04:30] [INFO] 🔄 (1/1) Salvaging 6 deferred task(s)
[02:04:37] [INFO] 📊 Progress [30.9s]:
[02:04:37] [INFO] |-- 😊 column 'product_name': 9/10 (90%) 0.3 rec/s
[02:04:37] [INFO] |-- 😸 column 'customer_review': 6/10 (60%) 0.2 rec/s
[02:04:49] [INFO] 🔄 (1/1) Preserving 3 retryable task(s); records will keep retrying.
[02:04:57] [WARNING] Provider showing degraded performance: 50% of last 20 task outcomes were retryable errors (rate_limit=10, success=10); cumulative outcomes: rate_limit=16, success=17; deferred_tasks=1. Run may take longer than expected; salvage will retry these.
[02:05:23] [INFO] 📊 Progress [76.9s]:
[02:05:23] [INFO] |-- 🤩 column 'product_name': 10/10 (100%) 0.1 rec/s
[02:05:23] [INFO] |-- 😼 column 'customer_review': 8/10 (80%) 0.1 rec/s
[02:05:31] [INFO] 📊 Progress [84.9s]:
[02:05:31] [INFO] |-- 🤩 column 'product_name': 10/10 (100%) 0.1 rec/s
[02:05:31] [INFO] |-- 🦁 column 'customer_review': 10/10 (100%) 0.1 rec/s
[02:05:31] [INFO] ✅ Async generation complete [84.9s]: 20 ok, 0 failed across 2 column(s)
[02:05:32] [INFO] 📊 Model usage summary:
[02:05:32] [INFO] |-- model: nvidia/nemotron-3.5-lightning-30b-a3b
[02:05:32] [INFO] |-- tokens: input=1758, output=2649, reasoning=0, total=4407, tps=51
[02:05:32] [INFO] |-- requests: success=20, failed=27, total=47, rpm=33
[02:05:32] [INFO] 📐 Measuring dataset column statistics:
[02:05:32] [INFO] |-- 🎲 column: 'product_category'
[02:05:32] [INFO] |-- 🎲 column: 'product_subcategory'
[02:05:32] [INFO] |-- 🎲 column: 'target_age_range'
[02:05:32] [INFO] |-- 🎲 column: 'customer'
[02:05:32] [INFO] |-- 🎲 column: 'number_of_stars'
[02:05:32] [INFO] |-- 🎲 column: 'review_style'
[02:05:32] [INFO] |-- 📝 column: 'product_name'
[02:05:32] [INFO] |-- 📝 column: 'customer_review'
| product_category | product_subcategory | target_age_range | customer | number_of_stars | review_style | product_name | customer_review | |
|---|---|---|---|---|---|---|---|---|
| 0 | Books | Fiction | 25-35 | {'uuid': '935e2c32-88b7-4d6e-a094-df033fcf9ca6... | 5 | brief | Ink & Idle | I'm obsessed with Ink & Idle! It's the perfect... |
| 1 | Electronics | Accessories | 25-35 | {'uuid': 'cbafc5a2-e531-4b7b-b5a7-93c706cc5e76... | 2 | brief | Quantum Pulse Band | The product arrived well-packaged, but feels c... |
| 2 | Electronics | Cameras | 25-35 | {'uuid': '64bbca3a-a9f9-4465-9a7d-aef82b7be853... | 5 | rambling | SnapStream Pocket | Oh my goodness you guys I am literally shaking... |
| 3 | Books | Classics | 35-50 | {'uuid': '4274ad42-7397-43a4-9180-a41b23c7169f... | 3 | detailed | Lexicon Legends | I recently purchased Lexicon Legends from the ... |
| 4 | Books | Non-Fiction | 65+ | {'uuid': '14e6af08-c8c8-4209-a188-6ff6a20f8e67... | 2 | brief | Golden Chapter Guide | Found it promising at first, but ultimately un... |
──────────────────────────────────────── 🎨 Data Designer Dataset Profile ───────────────────────────────────────── Dataset Overview ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ number of records ┃ number of columns ┃ percent complete records ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ 10 │ 8 │ 100.0% │ └─────────────────────────────────┴─────────────────────────────────┴─────────────────────────────────────────────┘ 🎲 Sampler Columns ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ column name ┃ data type ┃ number unique values ┃ sampler type ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_category │ string │ 3 (30.0%) │ category │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ product_subcategory │ string │ 7 (70.0%) │ subcategory │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ target_age_range │ string │ 5 (50.0%) │ category │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ customer │ dict │ 10 (100.0%) │ person_from_faker │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ number_of_stars │ int │ 5 (50.0%) │ uniform │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ review_style │ string │ 4 (40.0%) │ category │ └────────────────────────────────┴─────────────────┴─────────────────────────────────┴────────────────────────────┘ 📝 LLM-Text Columns ┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ┃ prompt tokens ┃ completion tokens ┃ ┃ column name ┃ data type ┃ number unique values ┃ per record ┃ per record ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_name │ string │ 10 (100.0%) │ 73.5 +/- 0.5 │ 4.0 +/- 0.8 │ ├───────────────────────┼───────────────┼────────────────────────────┼───────────────────┼────────────────────────┤ │ customer_review │ string │ 10 (100.0%) │ 68.0 +/- 1.5 │ 200.5 +/- 255.0 │ └───────────────────────┴───────────────┴────────────────────────────┴───────────────────┴────────────────────────┘ ╭────────────────────────────────────────────────── Table Notes ──────────────────────────────────────────────────╮ │ │ │ 1. All token statistics are based on a sample of max(1000, len(dataset)) records. │ │ 2. Tokens are calculated using tiktoken's cl100k_base tokenizer. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏭️ Next Steps
Now that you've seen the basics of Data Designer, check out the following notebooks to learn more about: