Chip Huyen 1/16/2024

Generation configurations: temperature, top-k, top-p, and test time compute

Read Original

This technical article delves into the probabilistic nature of AI language models and explains core generation configurations. It details how sampling strategies, including temperature, top-k, and top-p, influence output creativity, consistency, and factuality. The piece also covers test time compute and structured outputs, providing a guide for developers to better control model behavior.

Generation configurations: temperature, top-k, top-p, and test time compute

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes