AI LLM endpoint params IBM
AI LLM endpoint params IBM object.
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both.
0.1 <= x <= 10.5
Top-K changes how the model selects tokens for output. A low top-K means the next selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a high top-K means that the next token is selected from among the three most probable tokens by using temperature.
1