ChatOptions.TopP 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.
Gets or sets the "nucleus sampling" factor (or "top p") for generating chat responses.
public:
property Nullable<float> TopP { Nullable<float> get(); void set(Nullable<float> value); };
public float? TopP { get; set; }
member this.TopP : Nullable<single> with get, set
Public Property TopP As Nullable(Of Single)
Property Value
Remarks
Nucleus sampling is an alternative to sampling with temperature where the model considers the results of the tokens with TopP probability mass. For example, 0.1 means only the tokens comprising the top 10% probability mass are considered.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET