Codex Best Settings

I am new at codex (not at coding, I’ve been coding for 3 years now) and I’ve been wondering what are the settings for codex such as temperature, top-p, logprobs, n, frequency penalty, presence penalty and all the available settings. There are so many settings it gets kinda confusing what works and what doesn’t


a thing that helped me so far is low temperature (basically 0). intuition behind it is that I don’t want creativity in that case


I tried that too although sometimes it gets repetitive and doesn’t respond at all. But overall it helps when I need a definite answer.

For me a reasonable sized max_tokens (400 and above) and a temperature of 0.7 were sufficient to get good results.

1 Like