HuggingFacePromptExecutionSettings.RepetitionPenalty 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.
(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.