@gettoor/core / ExperimentModelParameters
Interface: ExperimentModelParameters
Experiment model parameters.
Extends
Properties
frequencyPenalty?
optionalfrequencyPenalty?:number
Penalizes tokens based on how frequently they have already appeared in the generated text.
Higher values reduce repetition of the same words and phrases, resulting in more varied output.
Inherited from
ModelParameters.frequencyPenalty
maxOutputTokens?
optionalmaxOutputTokens?:number
Maximum number of tokens the model may generate in its response.
Lower values limit response length and cost, while higher values allow longer and more detailed outputs.
Inherited from
ModelParameters.maxOutputTokens
name
name:
string
presencePenalty?
optionalpresencePenalty?:number
Penalizes tokens that have already appeared in the generated text.
Higher values encourage the model to introduce new topics and vocabulary instead of repeating previously used tokens.
Inherited from
ModelParameters.presencePenalty
temperature?
optionaltemperature?:number
Controls sampling randomness.
Lower values make outputs more deterministic and focused, while higher values increase creativity and variation.
Inherited from
topK?
optionaltopK?:number
Controls top-k sampling.
The model samples only from the topK most likely next tokens. Lower values produce more predictable outputs, while higher values allow for more varied and creative responses.
Inherited from
topP?
optionaltopP?:number
Controls nucleus sampling.
The model considers the smallest set of tokens whose cumulative probability is at least topP and samples from that set. Lower values make outputs more focused and deterministic, while higher values increase diversity.