DataGenerationConfig

Generate synthetic data using a model for finetuning an LLM.

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