Hacker News new | ask | show | jobs
by gpm 1181 days ago
Per the code linked there is

temperature (optional, default=0.1): Controls the randomness of the generated text. Higher values produce more diverse results, while lower values produce more deterministic results.

top_p (optional, default=0.75): The cumulative probability threshold for token sampling. The model will only consider tokens whose cumulative probability is below this threshold.

top_k (optional, default=40): The number of top tokens to consider when sampling. The model will only consider the top_k highest-probability tokens.

Potentially they set temperature to 0? Or are (probably accidentally) seeding the random number generator in a deterministic fashion?