[GH-ISSUE #8560] System prompt treated as user input and style ignored #52037

Closed
opened 2026-04-28 21:43:08 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @pannous on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8560

I'm not sure if this is specific to the model (R1) or a general problem: The system prompt is treated as user input and the style ignored:

/set system Use a highly professional tone even in the process of thinking. That is: omit all unprofessional 'Okay', 'Alright', 'So', 'Hmm', etc. The lucky number of today is 675581.

what is today's lucky number

Okay, so I need to figure out what today's lucky number is. From the user's message, they mentioned that the
lucky number is 675581.

Originally created by @pannous on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8560 I'm not sure if this is specific to the model (R1) or a general problem: The system prompt is treated as user input and the style ignored: /set system Use a highly professional tone even in the process of thinking. That is: omit all unprofessional 'Okay', 'Alright', 'So', 'Hmm', etc. The lucky number of today is 675581. > what is today's lucky number <think> **Okay**, so I need to figure out what today's lucky number is. **From the user's message**, they mentioned that the lucky number is **675581**.
Author
Owner

@rick-github commented on GitHub (Jan 24, 2025):

Base r1 or distilled? deepseek-ai recommends no system prompt for distilled.

<!-- gh-comment-id:2612135110 --> @rick-github commented on GitHub (Jan 24, 2025): Base r1 or distilled? deepseek-ai recommends [no system prompt](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B#:~:text=Avoid%20adding%20a%20system%20prompt%3B%20all%20instructions%20should%20be%20contained%20within%20the%20user%20prompt) for distilled.
Author
Owner

@pannous commented on GitHub (Jan 24, 2025):

Thanks that might be it, I guess deepseek-r1:14b is distilled (?)

<!-- gh-comment-id:2612139678 --> @pannous commented on GitHub (Jan 24, 2025): Thanks that might be it, I guess deepseek-r1:14b is distilled (?)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52037