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

Update WizardLM.js #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update WizardLM.js #55

wants to merge 1 commit into from

Conversation

msj121
Copy link

@msj121 msj121 commented Jun 12, 2023

Since the rolemap changes in WizardLM to "USER" from "user", so that they are Uppercase now, the stop prompts are missed when checked (they include "user", not "USER"). Either just add these additional stop prompts here, or perhaps force lowercase when checking in chatRoute, my fix seemed less obtrusive a fix.

Btw, do not overwrite original stop prompts like lower case "user" because I have seen this happen in WizardLM at least for me as well.

Since the rolemap changes so that they are Uppercase, the stop prompts are missed when checked. Either just add these here, or perhaps force lowercase when checking in chatRoute, this seemed less obtrusive a fix.
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.

None yet

1 participant