You should have a read of
https://huggingface.co/blog/how-to-generate (the section on sampling, with regard to setting temperature to zero).
This is degenerate (greedy) behaviour, and not representative of the what the prompt will behave like at a higher temperature.
(At least, that’s my understanding; it’s a complex topic but broadly speaking there no specific reason, as far as I’m aware, to expect that a particular combination of params/prompt is representative of any other combination of params/prompt for the same model; it may be, but it may not. Certainly on models like GPT4 it is not, for reasons that are not clear to anyone. So… take care with your prompt testing. setting temperature to 0 is basically meaningless unless you expect to use a temperature of 0 in production. The results you get from your prompts at temp 0 are not generally reflective of the results you will get at temp > 0).