Search Results
2 results for “text generation”
Foundations
Nucleus Sampling (Top-p)
Nucleus sampling, or top-p sampling, is a decoding strategy for language models that samples from the smallest set of tokens whose cumulative probability exceeds a threshold.
5 min readUpdated July 2026
Applications
Tool Use
Tool use in AI refers to the capability of language models to invoke external functions, APIs, or services to retrieve information, perform actions, or extend their abilities beyond text generation.
6 min readUpdated May 2026