-
Notifications
You must be signed in to change notification settings - Fork 11.7k
[User] --reverse-prompt
no longer echoes in the console
#2598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Apparently, it's intentional: "Previously, the first reverse prompt (if existed) is always inserted. Now if the model generate EOS, the reverse prompt is not inserted. To get the same behavior, please use
I made a Poll showing unintentional effects after the Here's a repo without |
Ahh, thank you for the explanation! I will update my demo script soon. |
Hmm... I have read through the documentation and example code again, and I'm feeling even more confused. In the original examples within the repo, the cmdline was Moreover, Is the behavior of |
Welcome to the Club.
The current documentation is not updated, so if you absolutely rely on,
I suppose it's intended to be consistent, but my testing has shown that, No - it's not 1:1 If it were my decision then llama.cpp would either resolve the unintended effects that I mentioned in the Poll, or simply revert |
From what I understood, using |
@IDDT yes. |
ggerganov accurately summed it up: "Ok, I think I see the problem. It comes from keeping EOS token. Ignoring it is not the same as before the BOS commit because there is no new line. I'm on a phone so cannot push a fix. likely on monday or tuesday" Thank you @wtarreau for bisecting to help identify the problem. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Hi!
I have been using the
--reverse-prompt "User:"
parameter along with the interactive mode in previous versions. When waiting for user input, the console used to echo "User:" as shown in the screenshot below:Current Behavior
However, in the new version found in
llama.cpp
, the "User:" prompt is no longer echoed in the console. I've checked the documentation, and it doesn't seem to mention any changes regarding this behavior. Is this an oversight or an intentional modification?My command-line args could be found at: https://github.com/OpenBuddy/OpenBuddy/blob/main/chat-llamacpp.bat
Please let me know if you need any additional information or if there's something else I need to do to restore the previous behavior.
Thank you!
The text was updated successfully, but these errors were encountered: