3 ms·
I just tried gemma3 out and it seems to be prone to getting stuck in loops where it outputs an infinite stream of the same word.
by ghc 1y ago
I just tried gemma3 out and it seems to be prone to getting stuck in loops where it outputs an infinite stream of the same word.
- sigmoid10 1y agoSounds a lot like an autoregressive sampling problem. Maybe try to set temperature and repeat penalty differently.
- ghc 1y agoYou're right, I should have checked the model settings. For some reason the default model profile in Ollama had temperature set to 0. Changing the temperature and repeat penalty worked much better than it did when I tried to correct similar behavior in the smallest phi4 reasoning model.
- jeffmcjunkin 1y agoThank you, this was affecting me too.