where \(l_{j^{\prime}}\) is the logits of each word and \(t\) is the temperature coefficient. Reducing the temperature \(t\) increases the chance of selecting words with high probabilities while decreases the chances of selecting words with low probabilities. When \(t\) is set to 1, it becomes the default random sampling; when \(t\) is approaching 0, it is equivalent to greedy search. In addition, when \(t\) goes to infinity, it degenerates to uniform sampling.