[GH-ISSUE #15231] gemma4:31b doesn't output some Polish characters #9740

Closed
opened 2026-04-12 22:37:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @szmarczak on GitHub (Apr 2, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15231

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

>>> Say "ąęśćżźółń" nothing more. Do not think.
Thinking...
The user wants me to say the string "śżź" and nothing else.
They explicitly said "nothing more" and "Do not think."

Constraint Checklist & Confidence Score:
1. Say "śżź"? Yes.
2. Nothing more? Yes.
3. Do not think? (This is a stylistic instruction to the AI, usually meant to bypass internal reasoning/chain of thought, though the system still processes 
it).

Confidence Score: 5/5

Mental Sandbox:
- If I output "śżź", I follow all instructions.
- If I output "Here is the text: śżź", I violate "nothing more".
- If I include a preamble, I violate "nothing more".

Conclusion: Output exactly "śżź".
...done thinking.

śżź
Image

Relevant log output


OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.20.0-rc0

Originally created by @szmarczak on GitHub (Apr 2, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15231 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? ``` >>> Say "ąęśćżźółń" nothing more. Do not think. Thinking... The user wants me to say the string "śżź" and nothing else. They explicitly said "nothing more" and "Do not think." Constraint Checklist & Confidence Score: 1. Say "śżź"? Yes. 2. Nothing more? Yes. 3. Do not think? (This is a stylistic instruction to the AI, usually meant to bypass internal reasoning/chain of thought, though the system still processes it). Confidence Score: 5/5 Mental Sandbox: - If I output "śżź", I follow all instructions. - If I output "Here is the text: śżź", I violate "nothing more". - If I include a preamble, I violate "nothing more". Conclusion: Output exactly "śżź". ...done thinking. śżź ``` <img width="816" height="352" alt="Image" src="https://github.com/user-attachments/assets/6ddbc092-18cb-4a20-a058-c430cb66d3f5" /> ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.20.0-rc0
GiteaMirror added the bug label 2026-04-12 22:37:23 -05:00
Author
Owner

@szmarczak commented on GitHub (Apr 2, 2026):

@dhiltgen Feel free to close this as a duplicate, most likely this is the same issue and I was late by a few minutes.

<!-- gh-comment-id:4179730797 --> @szmarczak commented on GitHub (Apr 2, 2026): @dhiltgen Feel free to close this as a duplicate, most likely this is the same issue and I was late by a few minutes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9740