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

Add WizardCoder model support #2166

Merged
merged 5 commits into from
Aug 9, 2023
Merged

Add WizardCoder model support #2166

merged 5 commits into from
Aug 9, 2023

Conversation

Extremys
Copy link
Contributor

@Extremys Extremys commented Aug 6, 2023

Why are these changes needed?

Add the support of WizardCoder model which is a model specialized into code generation through chat.

Related issue number (if applicable)

NA

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

@@ -896,6 +896,19 @@ def get_conv_template(name: str) -> Conversation:
)
)

# WizardCoder default template, same as alpaca
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Could you put a link to the source here?
  2. If it is the same as alpaca, we may not need to create a new template for it, we can just return "alpaca" in model_adapter.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your feedback, I have changed the implementation to return the alpaca template directly from the ModelAdapter, without having to register a new conversation template and add the link in comment. Does it ok for you? Thanks

@merrymercy merrymercy merged commit 6f188ab into lm-sys:main Aug 9, 2023
1 check failed
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

2 participants