DataGenerationConfig

Generate synthetic data using a model for finetuning an LLM.

KEY TYPE Description
descriptionCol str Name of the description column.
concurrency int Number of concurrent processes.
oversample bool Whether to oversample the data.
generationInstructions str Instructions for the data generation model.
examplesPerTarget int Number of examples per target.
model str Model to use for data generation.
seed Optional[int] Seed for random number generation.
temperature float Sampling temperature for the model.
frequencyPenalty float Penalty for frequency of token appearance.
completionCol str Name of the output completion column.
subsetSize Optional[int] Size of the subset to use for generation.
documentationCharLimit int Character limit for documentation.
tokenBudget int Token budget for generation.
verifyResponse bool Whether to verify the response.
fewshotExamples int Number of fewshot examples used to prompt the model.
idCol str Name of the identifier column.
promptCol str Name of the input prompt column.