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",
            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.5.7rc1.tar.gz (128.7 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.5.7rc1-py3-none-any.whl (114.5 kB view details)

Uploaded Python 3

File details

Details for the file data_designer_config-0.5.7rc1.tar.gz.

File metadata

  • Download URL: data_designer_config-0.5.7rc1.tar.gz
  • Upload date:
  • Size: 128.7 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.5.7rc1.tar.gz
Algorithm Hash digest
SHA256 a91cbd038758cc3aeca6b8aa1a7b6796071d8650fc5254076b0b0eff51c42998
MD5 a2b0220cb5a1b70bd99577f14c08357f
BLAKE2b-256 f77a61f75c143ac8519b5480a4635f4e000e919e239af9050a0d5b75cc6c2fc5

See more details on using hashes here.

File details

Details for the file data_designer_config-0.5.7rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for data_designer_config-0.5.7rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff7d0d224a666621839e684ec36dd171a5b3a90f846d41818410f9f52d93882
MD5 9f7e1c5641d42739140a1e9a440051ed
BLAKE2b-256 03008da229e2f636eb15fd7a1cb12075728aa690822a32453abfe2e7cee1b1e3

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