[GH-ISSUE #5969] llama3.1 8B losses context #29490

Closed
opened 2026-04-22 08:25:44 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @JBeaumont81 on GitHub (Jul 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5969

What is the issue?

llama3.1 doesn't seems to remember the context.
Here is an example:

Me:
Hello can you tell me how much is 56*9?

llama3.1:
That's a simple one!
56 * 9 = 504
Is that correct?

Me:
can you divide this by 4?

llama3.1
However, I don't see any specific numbers or values mentioned in the text that can be divided by 4.

If you're looking for a way to break up the content into smaller chunks, I could try suggesting some possible ways to reorganize it. For example:

  1. Divide into sections: Break down the content into distinct sections or topics, such as "Core Principles and Capabilities", "Advanced Features", "Technical Details", etc.
  2. Create a summary: Extract the main points or key information from the text and create a concise summary.
  3. Organize by feature: Group related features or capabilities together, such as "Content Generation", "Knowledge Base", "Reasoning Capabilities", etc.

Please let me know if any of these options sound helpful!

On the other hand, when I use the same prompt with llama3 it work perfectly.

OS

Linux

GPU

AMD

CPU

AMD

Ollama version

0.3.0

Originally created by @JBeaumont81 on GitHub (Jul 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5969 ### What is the issue? llama3.1 doesn't seems to remember the context. Here is an example: > Me: > Hello can you tell me how much is 56*9? > > llama3.1: > That's a simple one! > 56 * 9 = 504 > Is that correct? > > Me: > can you divide this by 4? > > llama3.1 > However, I don't see any specific numbers or values mentioned in the text that can be divided by 4. > > If you're looking for a way to break up the content into smaller chunks, I could try suggesting some possible ways to reorganize it. For example: > > 1. **Divide into sections**: Break down the content into distinct sections or topics, such as "Core Principles and Capabilities", "Advanced Features", "Technical Details", etc. > 2. **Create a summary**: Extract the main points or key information from the text and create a concise summary. > 3. **Organize by feature**: Group related features or capabilities together, such as "Content Generation", "Knowledge Base", "Reasoning Capabilities", etc. > > Please let me know if any of these options sound helpful! On the other hand, when I use the same prompt with llama3 it work perfectly. ### OS Linux ### GPU AMD ### CPU AMD ### Ollama version 0.3.0
GiteaMirror added the bug label 2026-04-22 08:25:44 -05:00
Author
Owner

@d-kleine commented on GitHub (Jul 29, 2024):

Which model settings did you use?

<!-- gh-comment-id:2255290412 --> @d-kleine commented on GitHub (Jul 29, 2024): Which model settings did you use?
Author
Owner

@FellowTraveler commented on GitHub (Aug 12, 2024):

@Damien2s Can you please verify if this problem is fixed in latest Ollama and latest Llama3.1 recently uploaded? If no, please provide model settings as well.

<!-- gh-comment-id:2282963535 --> @FellowTraveler commented on GitHub (Aug 12, 2024): @Damien2s Can you please verify if this problem is fixed in latest Ollama and latest Llama3.1 recently uploaded? If no, please provide model settings as well.
Author
Owner

@JBeaumont81 commented on GitHub (Aug 12, 2024):

I just give it a try and the problem seems to be solved with the latest version of Ollama. Thanks.

<!-- gh-comment-id:2283001032 --> @JBeaumont81 commented on GitHub (Aug 12, 2024): I just give it a try and the problem seems to be solved with the latest version of Ollama. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29490