[GH-ISSUE #3592] Long context like 32000 with command-r produces gibberish with random characters. #2218

Open
opened 2026-04-12 12:28:56 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @chigkim on GitHub (Apr 11, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3592

What is the issue?

It responds in random characters. <5+a\j`=7Dc'_2^@&Til$g#*�wR0;��)3�ey�un��J���fd6�]{���-S����t�Z���:�x�"b|BI�jmĶ7��T'V?4_k^z0NU+=��i�

What did you expect to see?

Response in English.

Steps to reproduce

Initiate chat with command-r via api with num_ctx > 25000.

Are there any recent changes that introduced the issue?

0.3.2-rc1

OS

macOS

Architecture

arm64

Platform

No response

Ollama version

0.3.2-rc1

GPU

Apple

GPU info

m3-max

CPU

Apple

Other software

No response

Originally created by @chigkim on GitHub (Apr 11, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3592 ### What is the issue? It responds in random characters. <5+a\j`=7Dc'_2^@&Til$g#*�wR0;��)3�ey�un��J���fd6�]{���-S����t�Z���:�x�"b|BI�jmĶ7��T'V?4_k^z0NU+=��i� ### What did you expect to see? Response in English. ### Steps to reproduce Initiate chat with command-r via api with num_ctx > 25000. ### Are there any recent changes that introduced the issue? 0.3.2-rc1 ### OS macOS ### Architecture arm64 ### Platform _No response_ ### Ollama version 0.3.2-rc1 ### GPU Apple ### GPU info m3-max ### CPU Apple ### Other software _No response_
GiteaMirror added the bugneeds more info labels 2026-04-12 12:28:56 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 30, 2026):

$ ollama-run.py command-r --context 32000
command-r >>> hello
Hello! How can I assist you today?
command-r >>> why is the sky blue?
The sky appears blue to us because of a phenomenon called Rayleigh scattering. When
sunlight, which is made up of various colors of the visible spectrum, enters Earth's
atmosphere, it interacts with gas molecules and tiny particles in the air. Blue light has
a shorter wavelength and higher frequency compared to other colors. 

Due to its unique properties, blue light is scattered more strongly by these atmospheric
components than other colors. This scattering process causes blue light to be dispersed
in all directions, reaching our eyes from different angles. As a result, when we look up at
the sky during the day, it appears predominantly blue because of the greater proportion
of blue light reaching our eyes compared to other colors. 

It's important to note that this phenomenon occurs more prominently near the horizon
where sunlight has a longer path through the atmosphere. This is why the sky often
appears lighter or even white closer to the ground and deep blue towards the zenith
(directly overhead).
<!-- gh-comment-id:3821195071 --> @rick-github commented on GitHub (Jan 30, 2026): ```console $ ollama-run.py command-r --context 32000 command-r >>> hello Hello! How can I assist you today? command-r >>> why is the sky blue? The sky appears blue to us because of a phenomenon called Rayleigh scattering. When sunlight, which is made up of various colors of the visible spectrum, enters Earth's atmosphere, it interacts with gas molecules and tiny particles in the air. Blue light has a shorter wavelength and higher frequency compared to other colors. Due to its unique properties, blue light is scattered more strongly by these atmospheric components than other colors. This scattering process causes blue light to be dispersed in all directions, reaching our eyes from different angles. As a result, when we look up at the sky during the day, it appears predominantly blue because of the greater proportion of blue light reaching our eyes compared to other colors. It's important to note that this phenomenon occurs more prominently near the horizon where sunlight has a longer path through the atmosphere. This is why the sky often appears lighter or even white closer to the ground and deep blue towards the zenith (directly overhead). ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2218