I've been playing with Gemma 4 31B for coding tasks since it came out and been genuinely impressed with how capable it is. With the benchmarks putting it a little behind Qwen3.5 I didn't have high expectations, but it's honestly been performing better with what I've thrown at it so far
This has all been at the recommended parameters (temp 1.0, top-k 65 and top-p 0.95). With the general consensus being that for coding tasks you want a lower temperature I began repeating some of my tests with lower values (0.8, 0.6 and 0.3) but found if anything each step down made it worse
So I went up instead. First 1.2, and it did a little better on some. Then 1.5 and on a couple of harder coding tasks the results were massively better
I've yet to try it in something like Cline for real coding tasks but has anyone else found similar that its code generation ability improves with higher temperatures?
[link] [comments]



