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

added presets for mistral7b #63

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

Conversation

alvion427
Copy link

  • option to specify name of model on command line

@facebook-github-bot
Copy link

Hi @alvion427!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 20, 2023
@Chillee
Copy link
Contributor

Chillee commented Dec 21, 2023

Could you remove the model_name modification? Nothing against it in particular, but since this repo doesn't have any CI set up and I'm currently unable to test these repos - it's a bit hard to validate correctness from only reviewing code PRs.

I'm happy to merge the mistral change.

@alvion427 alvion427 force-pushed the mistral-support branch 3 times, most recently from 92579ce to 31af07d Compare December 24, 2023 13:42
@alvion427
Copy link
Author

alvion427 commented Dec 24, 2023 via email

@binarycrayon
Copy link

Subscribed. would love to see this get merged!

@@ -56,6 +56,7 @@ def from_name(cls, name: str):
"30B": dict(n_layer=60, n_head=52, dim=6656),
"34B": dict(n_layer=48, n_head=64, dim=8192, vocab_size=32000, n_local_heads=8, intermediate_size=22016, rope_base=1000000), # CodeLlama-34B-Python-hf
"70B": dict(n_layer=80, n_head=64, dim=8192, n_local_heads=8, intermediate_size=28672),
"Mistral7B": dict(n_layer=32, n_head=32, n_local_heads=8, dim=4096, intermediate_size=14336, vocab_size=32002),

Choose a reason for hiding this comment

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

Hi @alvion427 , thanks for your PR.
I tried and need to change vocab_size=32000 to match the configs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants