Freigeben über


HuggingFacePromptExecutionSettings.TopP Property

Definition

(Default: None). Float to define the tokens that are within the sample operation of text generation. Add tokens in the sample for more probable to least probable until the sum of the probabilities is greater than top_p.

[System.Text.Json.Serialization.JsonPropertyName("top_p")]
public float? TopP { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("top_p")>]
member this.TopP : Nullable<single> with get, set
Public Property TopP As Nullable(Of Single)

Property Value

Attributes

Applies to