[GH-ISSUE #4769] Infinetely generating irrelavent response when running phi3-mini in Linux Terminal #65041

Open
opened 2026-05-03 19:37:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @MomenAbdelwadoud on GitHub (Jun 1, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4769

What is the issue?

I setted up a modelFile that loads PHI-3-mini-instruct, and whatever input I give it it starts to generate infinite response related to coding as shown in the screenshot.
Here is the Content of the model file:

FROM ./Phi-3-mini-4k-instruct.Q4_0.gguf
PARAMETER temperature 0.1
PARAMETER num_predict 50

Loaded by ollama create phi3 -f FileName without adding any extension to the file
Also the issue exists before adding the parameters

image

OS

Linux

GPU

Intel

CPU

Intel

Ollama version

0.1.39

Originally created by @MomenAbdelwadoud on GitHub (Jun 1, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4769 ### What is the issue? I setted up a modelFile that loads PHI-3-mini-instruct, and whatever input I give it it starts to generate infinite response related to coding as shown in the screenshot. Here is the Content of the model file: ``` FROM ./Phi-3-mini-4k-instruct.Q4_0.gguf PARAMETER temperature 0.1 PARAMETER num_predict 50 ``` Loaded by `ollama create phi3 -f FileName` without adding any extension to the file Also the issue exists before adding the parameters ![image](https://github.com/ollama/ollama/assets/66366532/85dbe20e-9e24-48e9-a102-ea8f5052e114) ### OS Linux ### GPU Intel ### CPU Intel ### Ollama version 0.1.39
GiteaMirror added the bug label 2026-05-03 19:37:07 -05:00
Author
Owner

@MomenAbdelwadoud commented on GitHub (Jun 1, 2024):

The model is working fine when I use it with GPT4ALL so It is not a problem with the model file

<!-- gh-comment-id:2143550638 --> @MomenAbdelwadoud commented on GitHub (Jun 1, 2024): The model is working fine when I use it with GPT4ALL so It is not a problem with the model file
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65041