Udostępnij za pośrednictwem


OnnxRuntimeGenAIPromptExecutionSettings.EarlyStopping Property

Definition

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

Applies to