InferenceConfiguration¶
Structure Class¶
InferenceConfiguration
dataclass
¶
The configuration parameters that control how the foundation model behaves during evaluation, including response generation settings.
Attributes¶
max_tokens
class-attribute
instance-attribute
¶
max_tokens: int | None = None
The maximum number of tokens to generate in the model response during evaluation.
stop_sequences
class-attribute
instance-attribute
¶
The list of sequences that will cause the model to stop generating tokens when encountered.