You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gemma-3 generates garbage after several hundreds (maybe) of tokens #65
Activity
foldl commentedon Jun 11, 2025
max_length? such as--max_length 32767arch-btw commentedon Jul 7, 2025
Maybe it's the value that seems way too high:
Found in this file: https://huggingface.co/google/gemma-3-4b-it/blob/main/tokenizer_config.json
There is a thread on it here:
https://huggingface.co/google/gemma-3-4b-it/discussions/48
foldl commentedon Jul 7, 2025
Possibly no.
model_max_lengthintokenizer_config.jsonis not used.It is likely related to un-aligned memory access.
foldl commentedon Mar 23, 2026
fixed by 8a5018e