Nodes/ComfyUI OpenAI API/OpenAI API - Top P
ComfyUI Node

OpenAI API - Top P

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass.

By hekmon·Created about a year ago·Updated 9 months ago· 42
OpenAI API - Top P
  • other_options
  • Options
top_p1.00
CategoryOpenAI API/Options

Inputs (2)

NameTypeDefaultDescription
top_pFLOAT1.000–10.1 means only the tokens comprising the top 10% probability mass are considered
other_optionsoptOAIAPI_OPTIONSOthers options to merge with

Outputs (1)

NameTypeDescription
OptionsOAIAPI_OPTIONSMerged options to forward