[GH-ISSUE #217] Stop generation on specific keyword(s) #46600

Closed
opened 2026-04-27 23:10:22 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @jmorganca on GitHub (Jul 26, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/217

Certain models don't automatically stop generation when it's the "user" or "human"'s turn to input data, causing the prompt to be output.

Originally created by @jmorganca on GitHub (Jul 26, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/217 Certain models don't automatically stop generation when it's the "user" or "human"'s turn to input data, causing the prompt to be output.
GiteaMirror added the feature request label 2026-04-27 23:10:22 -05:00
Author
Owner

@neopunisher commented on GitHub (Jul 26, 2023):

Is that whats happening here? https://gist.github.com/neopunisher/0647fbbec9faf9b2c651fdd7748a660a

<!-- gh-comment-id:1652018295 --> @neopunisher commented on GitHub (Jul 26, 2023): Is that whats happening here? https://gist.github.com/neopunisher/0647fbbec9faf9b2c651fdd7748a660a
Author
Owner

@jmorganca commented on GitHub (Jul 27, 2023):

@neopunisher yes, that's it! Great find.

<!-- gh-comment-id:1652817087 --> @jmorganca commented on GitHub (Jul 27, 2023): @neopunisher yes, that's it! Great find.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46600