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.
[00:29:26] [INFO] ✅ Validation passed
Next, let's add samplers to generate data related to the customer and their review.
[00:29:26] [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.
[00:29:26] [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.
[00:29:26] [INFO] 🎥 Preview generation in progress
[00:29:26] [INFO] |-- 🔒 Jinja rendering engine: secure
[00:29:26] [INFO] ✅ Validation passed
[00:29:26] [INFO] ⛓️ Sorting column configs into a Directed Acyclic Graph
[00:29:26] [INFO] Skipping model health checks because DATA_DESIGNER_SKIP_MODEL_HEALTH_CHECKS=1
[00:29:26] [INFO] ⚡ Using async task-queue preview
[00:29:26] [INFO] 📝 llm-text model config for column 'product_name'
[00:29:26] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[00:29:26] [INFO] |-- model alias: 'nemotron-lightning'
[00:29:26] [INFO] |-- model provider: 'nvidia'
[00:29:26] [INFO] |-- inference parameters:
[00:29:26] [INFO] | |-- generation_type=chat-completion
[00:29:26] [INFO] | |-- max_parallel_requests=4
[00:29:26] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[00:29:26] [INFO] | |-- temperature=1.00
[00:29:26] [INFO] | |-- top_p=0.95
[00:29:26] [INFO] | |-- max_tokens=2048
[00:29:26] [INFO] 📝 llm-text model config for column 'customer_review'
[00:29:26] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[00:29:26] [INFO] |-- model alias: 'nemotron-lightning'
[00:29:26] [INFO] |-- model provider: 'nvidia'
[00:29:26] [INFO] |-- inference parameters:
[00:29:26] [INFO] | |-- generation_type=chat-completion
[00:29:26] [INFO] | |-- max_parallel_requests=4
[00:29:26] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[00:29:26] [INFO] | |-- temperature=1.00
[00:29:26] [INFO] | |-- top_p=0.95
[00:29:26] [INFO] | |-- max_tokens=2048
[00:29:26] [INFO] ⚡️ Async generation: 2 column(s) (column 'product_name', column 'customer_review'), 4 tasks across 1 row group(s)
[00:29:26] [INFO] 🚀 (1/1) Dispatching with 2 records
[00:29:26] [INFO] 🎲 (1/1) Preparing samplers to generate 2 records across 6 columns
[00:29:28] [WARNING] Observed retryable model-task error: kind=rate_limit, http_status=429; the row task will be deferred.
[00:29:29] [INFO] 🔄 (1/1) Salvaging 1 deferred task(s)
[00:29:31] [INFO] 📊 Progress [4.2s]:
[00:29:31] [INFO] |-- 🦁 column 'product_name': 2/2 (100%) 0.5 rec/s
[00:29:31] [INFO] |-- 🚀 column 'customer_review': 2/2 (100%) 0.5 rec/s
[00:29:31] [INFO] ✅ Async generation complete [4.2s]: 4 ok, 0 failed across 2 column(s)
[00:29:31] [INFO] 📊 Model usage summary:
[00:29:31] [INFO] |-- model: nvidia/nemotron-3.5-lightning-30b-a3b
[00:29:31] [INFO] |-- tokens: input=354, output=112, reasoning=0, total=466, tps=109
[00:29:31] [INFO] |-- requests: success=4, failed=1, total=5, rpm=70
[00:29:31] [INFO] 📐 Measuring dataset column statistics:
[00:29:31] [INFO] |-- 🎲 column: 'product_category'
[00:29:31] [INFO] |-- 🎲 column: 'product_subcategory'
[00:29:31] [INFO] |-- 🎲 column: 'target_age_range'
[00:29:31] [INFO] |-- 🎲 column: 'customer'
[00:29:31] [INFO] |-- 🎲 column: 'number_of_stars'
[00:29:31] [INFO] |-- 🎲 column: 'review_style'
[00:29:31] [INFO] |-- 📝 column: 'product_name'
[00:29:31] [INFO] |-- 📝 column: 'customer_review'
[00:29:31] [INFO] 🎊 Preview complete!
Generated Columns ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Name ┃ Value ┃ ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ product_category │ Books │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ product_subcategory │ Textbooks │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ target_age_range │ 35-50 │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ customer │ { │ │ │ 'uuid': '02edfe6b-b4e5-470c-89ff-d6bb6feb5731', │ │ │ 'locale': 'en_US', │ │ │ 'first_name': 'Sarah', │ │ │ 'last_name': 'Miles', │ │ │ 'middle_name': None, │ │ │ 'sex': 'Female', │ │ │ 'street_number': '588', │ │ │ 'street_name': 'Tapia Meadow', │ │ │ 'city': 'Lopezport', │ │ │ 'state': 'Rhode Island', │ │ │ 'postcode': '67015', │ │ │ 'age': 57, │ │ │ 'birth_date': '1969-06-22', │ │ │ 'country': 'Sri Lanka', │ │ │ 'marital_status': 'widowed', │ │ │ 'education_level': 'associates', │ │ │ 'unit': '', │ │ │ 'occupation': 'Dietitian', │ │ │ 'phone_number': '934-547-1451', │ │ │ 'bachelors_field': 'no_degree' │ │ │ } │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ number_of_stars │ 2 │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ review_style │ brief │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ product_name │ Eloquent Edger: The Textbook Companion │ ├─────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤ │ customer_review │ I wanted to love this textbook companion, but it feels like a cheap gimmick. It │ │ │ doesn't actually help me understand the material better, just adds unnecessary │ │ │ fluff. Very disappointed for the price. │ └─────────────────────┴──────────────────────────────────────────────────────────────────────────────────────┘
| product_category | product_subcategory | target_age_range | customer | number_of_stars | review_style | product_name | customer_review | |
|---|---|---|---|---|---|---|---|---|
| 0 | Books | Textbooks | 35-50 | {'uuid': '02edfe6b-b4e5-470c-89ff-d6bb6feb5731... | 2 | brief | Eloquent Edger: The Textbook Companion | I wanted to love this textbook companion, but ... |
| 1 | Home & Kitchen | Organization | 65+ | {'uuid': '8dbdd6ff-5ba4-437a-b1c3-6ece987d9593... | 2 | brief | Memory Lane Cabinets | Memory Lane Cabinets was disappointing. The pr... |
📊 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 │ 1 (50.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%) │ 73.0 +/- 0.0 │ 6.0 +/- 4.2 │ ├───────────────────────┼───────────────┼────────────────────────────┼───────────────────┼────────────────────────┤ │ customer_review │ string │ 2 (100.0%) │ 70.5 +/- 2.5 │ 46.0 +/- 8.5 │ └───────────────────────┴───────────────┴────────────────────────────┴───────────────────┴────────────────────────┘ ╭────────────────────────────────────────────────── 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.
[00:29:31] [INFO] OpenTelemetry metrics available at http://127.0.0.1:9464/metrics
[00:29:31] [INFO] 🎨 Creating Data Designer dataset
[00:29:31] [INFO] |-- 🔒 Jinja rendering engine: secure
[00:29:31] [INFO] ✅ Validation passed
[00:29:31] [INFO] ⛓️ Sorting column configs into a Directed Acyclic Graph
[00:29:31] [INFO] Skipping model health checks because DATA_DESIGNER_SKIP_MODEL_HEALTH_CHECKS=1
[00:29:31] [INFO] ⚡ Using async task-queue builder
[00:29:31] [INFO] 📝 llm-text model config for column 'product_name'
[00:29:31] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[00:29:31] [INFO] |-- model alias: 'nemotron-lightning'
[00:29:31] [INFO] |-- model provider: 'nvidia'
[00:29:31] [INFO] |-- inference parameters:
[00:29:31] [INFO] | |-- generation_type=chat-completion
[00:29:31] [INFO] | |-- max_parallel_requests=4
[00:29:31] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[00:29:31] [INFO] | |-- temperature=1.00
[00:29:31] [INFO] | |-- top_p=0.95
[00:29:31] [INFO] | |-- max_tokens=2048
[00:29:31] [INFO] 📝 llm-text model config for column 'customer_review'
[00:29:31] [INFO] |-- model: 'nvidia/nemotron-3.5-lightning-30b-a3b'
[00:29:31] [INFO] |-- model alias: 'nemotron-lightning'
[00:29:31] [INFO] |-- model provider: 'nvidia'
[00:29:31] [INFO] |-- inference parameters:
[00:29:31] [INFO] | |-- generation_type=chat-completion
[00:29:31] [INFO] | |-- max_parallel_requests=4
[00:29:31] [INFO] | |-- extra_body={'chat_template_kwargs': {'enable_thinking': False}}[00:29:31] [INFO] | |-- temperature=1.00
[00:29:31] [INFO] | |-- top_p=0.95
[00:29:31] [INFO] | |-- max_tokens=2048
[00:29:31] [INFO] ⚡️ Async generation: 2 column(s) (column 'product_name', column 'customer_review'), 20 tasks across 1 row group(s)
[00:29:31] [INFO] 🚀 (1/1) Dispatching with 10 records
[00:29:31] [INFO] 🎲 (1/1) Preparing samplers to generate 10 records across 6 columns
[00:29:31] [WARNING] Observed retryable model-task error: kind=rate_limit, http_status=429; the row task will be deferred.
[00:29:40] [INFO] 📊 Progress [8.9s]:
[00:29:40] [INFO] |-- 🐴 column 'product_name': 4/10 (40%) 0.4 rec/s
[00:29:40] [INFO] |-- 😴 column 'customer_review': 2/10 (20%) 0.2 rec/s
[00:29:45] [INFO] 📊 Progress [14.0s]:
[00:29:45] [INFO] |-- 🚗 column 'product_name': 7/10 (70%) 0.5 rec/s
[00:29:45] [INFO] |-- 😐 column 'customer_review': 5/10 (50%) 0.4 rec/s
[00:29:47] [INFO] 🔄 (1/1) Salvaging 4 deferred task(s)
[00:29:50] [INFO] 📊 Progress [19.4s]:
[00:29:50] [INFO] |-- 🚀 column 'product_name': 10/10 (100%) 0.5 rec/s
[00:29:50] [INFO] |-- 😊 column 'customer_review': 8/10 (80%) 0.4 rec/s
[00:29:54] [INFO] 🔄 (1/1) Preserving 1 retryable task(s); records will keep retrying.
[00:30:07] [INFO] 📊 Progress [36.2s]:
[00:30:07] [INFO] |-- 🚀 column 'product_name': 10/10 (100%) 0.3 rec/s
[00:30:07] [INFO] |-- 🤩 column 'customer_review': 10/10 (100%) 0.3 rec/s
[00:30:07] [INFO] ✅ Async generation complete [36.2s]: 20 ok, 0 failed across 2 column(s)
[00:30:07] [INFO] 📊 Model usage summary:
[00:30:07] [INFO] |-- model: nvidia/nemotron-3.5-lightning-30b-a3b
[00:30:07] [INFO] |-- tokens: input=1780, output=2398, reasoning=0, total=4178, tps=114
[00:30:07] [INFO] |-- requests: success=20, failed=11, total=31, rpm=51
[00:30:07] [INFO] 📐 Measuring dataset column statistics:
[00:30:07] [INFO] |-- 🎲 column: 'product_category'
[00:30:07] [INFO] |-- 🎲 column: 'product_subcategory'
[00:30:07] [INFO] |-- 🎲 column: 'target_age_range'
[00:30:07] [INFO] |-- 🎲 column: 'customer'
[00:30:07] [INFO] |-- 🎲 column: 'number_of_stars'
[00:30:07] [INFO] |-- 🎲 column: 'review_style'
[00:30:07] [INFO] |-- 📝 column: 'product_name'
[00:30:07] [INFO] |-- 📝 column: 'customer_review'
| product_category | product_subcategory | target_age_range | customer | number_of_stars | review_style | product_name | customer_review | |
|---|---|---|---|---|---|---|---|---|
| 0 | Home & Kitchen | Decor | 50-65 | {'uuid': 'fed6cca7-c25b-4955-81bc-ac2e7a0b3ebb... | 4 | detailed | Heritage Hearth Mantelpiece | The Heritage Hearth Mantelpiece has completely... |
| 1 | Home & Kitchen | Cookware | 35-50 | {'uuid': 'cf1f1ce4-0b1e-4e8d-b76a-043b0d4cced9... | 2 | brief | Culinary Alchemist Carbon Collection | Too pricey for what it is. It looks great, but... |
| 2 | Electronics | Cameras | 35-50 | {'uuid': '3084f000-d871-4bdb-ac7d-713b88de8535... | 1 | detailed | LensForge Pro | I really wanted to like LensForge Pro, and for... |
| 3 | Books | Self-Help | 18-25 | {'uuid': '49c48f9f-fb14-4b56-8928-506f7e12faf8... | 4 | detailed | Mindshift Manual | I have to admit, I was a bit skeptical at firs... |
| 4 | Home Office | Storage | 25-35 | {'uuid': '0c3074f3-671b-4df0-9a6d-53b0b1a2d419... | 4 | rambling | CubiNest | Got the CubiNest yesterday and I gotta say Im ... |
──────────────────────────────────────── 🎨 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 │ 5 (50.0%) │ category │ ├────────────────────────────────┼─────────────────┼─────────────────────────────────┼────────────────────────────┤ │ product_subcategory │ string │ 9 (90.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 │ 3 (30.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%) │ 74.0 +/- 0.7 │ 3.5 +/- 5.6 │ ├───────────────────────┼───────────────┼────────────────────────────┼───────────────────┼────────────────────────┤ │ customer_review │ string │ 10 (100.0%) │ 69.0 +/- 5.6 │ 215.0 +/- 150.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. │ │ │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏭️ Next Steps
Now that you've seen the basics of Data Designer, check out the following notebooks to learn more about: