DataGenerationConfig

Generate synthetic data using a model for finetuning an LLM.

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