Section 01
[Introduction] Research on Sampling Parameters for Large Language Model Inference: An Empirical Analysis of Temperature, Top-K, and Top-P
Original Author/Maintainer: Max-0607 Source Platform: GitHub Original Project Name: masters-thesis-llm-inference Project Link: https://github.com/Max-0607/masters-thesis-llm-inference Release Time: 2026-06-12
This study conducts an empirical analysis of sampling parameters (Temperature, Top-K, Top-P) for multilingual large language model inference, delving into their impact on the stability and quality of model outputs, revealing task dependence, language differences, and interaction effects in parameter selection, and providing practical guidance and recommendations for developers on parameter tuning.