[GH-ISSUE #6071] llama3.1:70b <|eom_id|> missing as stop in template #29553

Closed
opened 2026-04-22 08:32:15 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @SinanAkkoyun on GitHub (Jul 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6071

What is the issue?

llama3.1:70b outputs <|eom_id|> as a string rather than an input. To test this, make a function call to the model without a 'tool' response message multiple times. 8B hallucinates, 70B wants to refuse, returns an <|eom_id|> but ollama doesn't recognize it.

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

latest

Originally created by @SinanAkkoyun on GitHub (Jul 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6071 ### What is the issue? llama3.1:70b outputs <|eom_id|> as a string rather than an input. To test this, make a function call to the model without a 'tool' response message multiple times. 8B hallucinates, 70B wants to refuse, returns an <|eom_id|> but ollama doesn't recognize it. ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version latest
GiteaMirror added the bug label 2026-04-22 08:32:15 -05:00
Author
Owner

@MaxJa4 commented on GitHub (Jul 30, 2024):

Might be fixed after #6060

<!-- gh-comment-id:2258573765 --> @MaxJa4 commented on GitHub (Jul 30, 2024): Might be fixed after #6060
Author
Owner

@jmorganca commented on GitHub (Sep 4, 2024):

This should be fixed now as per @MaxJa4's comment

<!-- gh-comment-id:2327703202 --> @jmorganca commented on GitHub (Sep 4, 2024): This should be fixed now as per @MaxJa4's comment
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29553