Temperature in Machine Learning: A Journey from Physics to LLMs

Introduction If you've worked with large language models, you've encountered the temperature parameter—that mysterious slider that makes outputs more "creative" or "conservative." But have you ever wondered why we call it temperature? The answer reveals one of the most elegant conceptual borrowings in the history of machine learning, connecting modern AI to 19th-century statistical physics through…