Configuration layer for DataDesigner synthetic data generation
Project description
data-designer-config
Configuration layer for NeMo Data Designer synthetic data generation framework.
This package provides the configuration API for defining synthetic data generation pipelines. It's a lightweight dependency that can be used standalone for configuration management.
Installation
pip install data-designer-config
Usage
import data_designer.config as dd
# Initialize config builder with model config(s)
config_builder = dd.DataDesignerConfigBuilder(
model_configs=[
dd.ModelConfig(
alias="my-model",
model="nvidia/nemotron-3-nano-30b-a3b",
inference_parameters=dd.ChatCompletionInferenceParams(temperature=0.7),
),
]
)
# Add columns
config_builder.add_column(
dd.SamplerColumnConfig(
name="user_id",
sampler_type=dd.SamplerType.UUID,
params=dd.UUIDSamplerParams(prefix="user-"),
)
)
config_builder.add_column(
dd.LLMTextColumnConfig(
name="description",
prompt="Write a product description",
model_alias="my-model",
)
)
# Build configuration
config = config_builder.build()
See main README.md for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_designer_config-0.4.0rc1.tar.gz.
File metadata
- Download URL: data_designer_config-0.4.0rc1.tar.gz
- Upload date:
- Size: 87.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db165c1c31dd2c8eb032b313cde02a59a52a621898397884ba311a221a536a3e
|
|
| MD5 |
c055e757050b2349e0f61bf6a0802f73
|
|
| BLAKE2b-256 |
5dee7c6ee51d557fa5707a9f3e0b725914811fc029e88826362be5d43a69e174
|
File details
Details for the file data_designer_config-0.4.0rc1-py3-none-any.whl.
File metadata
- Download URL: data_designer_config-0.4.0rc1-py3-none-any.whl
- Upload date:
- Size: 85.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5017c892020ffe59259ea8df6b9558afb917576d7e9920402bf955575e22f64d
|
|
| MD5 |
677ced28b5156373065b0d9cf7c03910
|
|
| BLAKE2b-256 |
4489ad6d37a2882ba6a101b2a89d2b5539559593060ba6ffd1087533374f3a3f
|