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

Starcoder2 model #28

Open
wants to merge 7 commits into
base: hf_main
Choose a base branch
from
Open

Starcoder2 model #28

wants to merge 7 commits into from

Conversation

jlamypoirier
Copy link
Collaborator

@jlamypoirier jlamypoirier commented Jan 10, 2024

The mistral model adapted to run Starcoder 2:

  • Use layer norm (RMS still available as option)
  • Use standard MLP (gated still available as option)
  • Add back biases (optional)
  • Change (default?) tokenizer class

Missing for starcoder 1 (do we want to support it?):

  • Absolute position embeddings

Other notes:

  • Has less entries in modeling auto than gpt bigcode (3 instead of 6), probably doesn't matter
  • Using repeat for kv cache in flash attn, might not be necessary.

Still got a bunch of minor things to do (see todos)

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