加载中…
Language models generate text based on successively sampling the next word. A decoding procedure based on nucleus (top-) sampling chooses from the smallest possible set of words whose cumulative probability exceeds the probability . In this work, we assess whether a top- set is indeed aligned with its probabilistic meaning in various linguistic contexts. We employ conformal prediction, a calibration procedure that focuses on the construction of minimal prediction sets according to a desired confidence level, to calibrate the parameter as a function of the entropy of the next word distribution. We find that OPT models are overconfident, and that calibration shows a moderate inverse scaling with model size.

生成讲解博客的中文版本

生成AI智能校验的中文版本