Skip to main content

Set Up Parameters

Alt text

Parameter allows you to adjust the behavior of your model during testing. Below is a breakdown of each parameter and its purpose:

NameDescriptionTypeSupported value
Log samplesModel’s outputs, and the text fed into the model, will be savedboolTrue / False
Max tokensMaximum number of tokens to generateint(0, +∞)
No. of few-shotSets the number of few-shot examples to place in context. Must be an integer.int[0, +∞)
TemperatureThe temperature for samplingfloat[0, +∞)
Repetition penaltyFloat that penalizes new tokens based on whether they appear in the prompt and the generated text so far.
  • Values > 1 encourage new tokens.
  • Values < 1 encourage repetition. | float | (0, 5) |
    | Seed | Random seed for reproducibility | int | [0, +∞) |
    | Top-K | Integer that controls the cumulative probability of the top tokens to consider. Set to -1 to consider all tokens. | int | -1 or (0, +∞) |
    | Top-P | Float that controls the cumulative probability of the top tokens to consider. Set to 1 to consider all tokens. | float | (0, 1] |