Freigeben über


HuggingFacePromptExecutionSettings.RepetitionPenalty Property

Definition

(Default: None). Float (0.0-100.0). The more a token is used within generation the more it is penalized to not be picked in successive generation passes.

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

Property Value

Attributes

Remarks

This may not be supported by all models/inference API.

Applies to