Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Chat does not halt #363

Closed
averypelle opened this issue Jul 9, 2023 · 0 comments · Fixed by #364
Closed

Chat does not halt #363

averypelle opened this issue Jul 9, 2023 · 0 comments · Fixed by #364
Labels
app:cli App: the `llm` CLI issue:bug Something isn't working

Comments

@averypelle
Copy link
Contributor

averypelle commented Jul 9, 2023

Hi, first off thank you so much for this great library and for your hard work! I recently tried using the chat mode and noticed that text generation would keep going until I CTRL + C'ed to manually stop. It wasn't stopping and would generate new User: prompts and just keep talking to itself. Worth noting that I could not replicate this issue with MPT 7B Chat - it would emit a <|im_end|> and then stop generating.

I attempted a fix here: #364

Thank you!

Screenshots

with Falcon
Screenshot 2023-07-09 at 4 34 05 PM

with LLaMA
Screenshot 2023-07-09 at 4 39 31 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:cli App: the `llm` CLI issue:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants