Skip to content

Starcoder2 model - bis#29215

Merged
younesbelkada merged 26 commits into
huggingface:mainfrom
RaymondLi0:starcoder2
Feb 28, 2024
Merged

Starcoder2 model - bis#29215
younesbelkada merged 26 commits into
huggingface:mainfrom
RaymondLi0:starcoder2

Conversation

@RaymondLi0

@RaymondLi0 RaymondLi0 commented Feb 22, 2024

Copy link
Copy Markdown
Contributor

The Starcoder2 model, adapted from Mistral. All changes are done through options, so Mistral itself is still supported.
Main changes:

  • Use layer norm
  • Use standard MLP
  • Add biases (optional)
  • Change (default?) tokenizer class
    *Embedding and residual dropout

It does not support absolute embeddings, so can't support Santacoder or Starcoder

Starcoder2-3B model: https://huggingface.co/bigcode/starcoder2-3b

Todo:

@younesbelkada @ArthurZucker @jlamypoirier

@RaymondLi0 RaymondLi0 mentioned this pull request Feb 22, 2024
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ArthurZucker ArthurZucker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In #29228 I mention that static cache is not a blocker for the PR 😉

@younesbelkada younesbelkada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks ! LGTM once we add the docs !

@ArthurZucker ArthurZucker left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's go!

Comment on lines +21 to +23
Starcoder2 has been released with the paper [Stacoder-2](https://drive.google.com/file/d/17iGn3c-sYNiLyRSY-A85QOzgzGnGiVI3/view) by BigCode team.

Documentation page about the model is coming soon

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this is fairly short. Let's add that the main difference with mistral is dropout, as the authors would be nice to explain how much this influenced training for example.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah makes sense, I will take care of that after the official release

@younesbelkada
younesbelkada merged commit 63caa37 into huggingface:main Feb 28, 2024
@ArthurZucker

Copy link
Copy Markdown
Collaborator

Thank you for the PR @RaymondLi0. cc @loubnabnl and @lvwerra, next time let's make sure doc and paper links are fully completed before we merge, we require this for every model / organisation regardless of the release date 😉 let's make this an exception

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.

5 participants