Learn about temperature scaling and beam search in LLMs for text generation. Understand how temperature affects the predictability and entropy of LLM output sequences. See examples of greedy search and beam search, and the impact of temperature on their results.

17m read timeFrom towardsdatascience.com
Post cover image
Table of contents
Greedy SearchBeam SearchTemperatureImplementation DetailsGreedy Search and Beam Search Generation ExamplesConclusion

Sort: