Skip to content
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

Fix repeat greeting #808

Merged
merged 2 commits into from
Oct 15, 2023
Merged

Fix repeat greeting #808

merged 2 commits into from
Oct 15, 2023

Conversation

delock
Copy link
Contributor

@delock delock commented Oct 10, 2023

This PR fix a bug that cause repeated greeting from chatbot which is described in #801 . After this fix, the prompt passed to llama.cpp will have correct [INST] and [/INST] around user inputs and generate reaonable response.

Note this fix relates to #781. The new formatting template recently introduced seems to have multiple issues. Thanks @teleprint-me for pointing this out and guide the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants