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 lany42·Created 2 days ago·Updated a day ago· 0
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