Freigeben über


HuggingFacePromptExecutionSettings.Temperature Property

Definition

(Default: 1.0). Float (0.0-100.0). The temperature of the sampling operation. 1 means regular sampling, 0 means always take the highest score, 100.0 is getting closer to uniform probability.

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

Property Value

Attributes

Applies to