-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.Request.Top_P
Andrew Lambert edited this page Feb 9, 2023
·
2 revisions
Dim Top_P As Single
An alternative to sampling with Temperature, called nucleus sampling, where the model considers the results of the tokens with Top_P
probability mass.
For example, a Top_P
of 0.1
means only the tokens comprising the top 10% probability mass are considered.
OpenAI generally recommends altering this or Temperature
, but not both.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.