Skip to main content

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",
            provider="nvidia",
            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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

data_designer_config-0.6.1.tar.gz (150.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_designer_config-0.6.1-py3-none-any.whl (128.0 kB view details)

Uploaded Python 3

File details

Details for the file data_designer_config-0.6.1.tar.gz.

File metadata

  • Download URL: data_designer_config-0.6.1.tar.gz
  • Upload date:
  • Size: 150.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for data_designer_config-0.6.1.tar.gz
Algorithm Hash digest
SHA256 16f53fc34e11915aa821e3324de8e39bc6b03e7a2cd5402bbeca731bd6eea072
MD5 4e9f8e198c51fd033d22c2a291424eaf
BLAKE2b-256 d41376f616fbfffe1b6fe41d6d34cee72ba02b83f4e75d07a98159b6b7e62eec

See more details on using hashes here.

File details

Details for the file data_designer_config-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for data_designer_config-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69a5de862246933e16e68a8b58fde90dad5156a14a20184fd276b6bff53cf2ae
MD5 2fd9cf1a6bb4cd970045c5e8f2502255
BLAKE2b-256 602c97fd4210d0021ead0dac3b43fbfa80db13c52a7b8d26704d4d68ef39241a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page