Closed zastroyshchik closed 1 year ago
Hi @zastroyshchik, here we provide guidance on Llama issues for downloading and getting vanilla Llama models running inference. I would suggest taking this to the respective repository and if it proves to be a Llama model issue, open a new issue with details on how it can be reproduced.
I use CodeLlama-13b-Instruct, from ai.meta.com, with Llama.cpp.
I do not know exactly why, but sometime (or often?), LlaMa digresses/hallucinates a lot. Seems related to the level difficulty of the task given.
It changes its name arbitrarily from the name given, and starts to digress.
So Wednesday 30, Code Llama changed from "Bob" to "Doctor" (visible in the prompt), and started a medical consultation.
Yesterday, it changes its name from Bob to "Art", "who was" obviously a computer tech.
Sometime, it even talks to itself, by "adding people" to the prompt, and chats with them, while "preventing" me to write anything.
I have to stop Llama.cpp, and restart the model.
What am I doing wrong? Temperature is set by default to 0.8.
What can I do to stop these annoying digressions/hallucinations?
Here, the first conversation of the day, just after launching the model.
The answer, without the name at the start of its line:
There it hanged, then it gave this:
Then I asked:
And it answered this:
It answered this (all the following section):
Then I asked this:
And it changed again its name:
It changes again its name: