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 StarCoder/SantaCoder example #146

Merged
merged 14 commits into from
May 13, 2023
Prev Previous commit
Next Next commit
fix quantize
  • Loading branch information
NouamaneTazi committed May 11, 2023
commit 286155605297d8b562275509bcb6ac96dc679898
10 changes: 5 additions & 5 deletions examples/starcoder/quantize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

// default hparams (GPT-2 117M)
struct gpt2_hparams {
int32_t n_vocab = 50257;
int32_t n_ctx = 1024;
int32_t n_embd = 768;
int32_t n_head = 12;
int32_t n_layer = 12;
int32_t n_vocab = 49280;
int32_t n_ctx = 2048;
int32_t n_embd = 2048;
int32_t n_head = 16;
int32_t n_layer = 24;
int32_t f16 = 1;
};

Expand Down