OnnxRuntimeGenAIPromptExecutionSettings.EarlyStopping Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows the generation to stop early if all beam candidates reach the end token
[System.Text.Json.Serialization.JsonPropertyName("early_stopping")]
public bool? EarlyStopping { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("early_stopping")>]
member this.EarlyStopping : Nullable<bool> with get, set
Public Property EarlyStopping As Nullable(Of Boolean)
Property Value
- Attributes