DataGenerationConfig

Generate synthetic data using a model for finetuning an LLM.

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