-
Notifications
You must be signed in to change notification settings - Fork 244
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
support starcoder2 #1468
support starcoder2 #1468
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the expected version of transformers to run the model? I got
ERROR - ValueError: The checkpoint you are trying to load has model type `starcoder2` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
2024-04-24 12:48:26,763 - lmdeploy - ERROR - <transformers> test failed!
Load model config with transformers==4.38.2 failed. Please make sure model can be loaded with transformers API.
4.40 I guess. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got
double enter to end input >>> hi
hi _1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000000000", null ],
[ "GetID", "class_hi_1_1_i_d_manager.html#a00000000000000000000000000
for the command lmdeploy chat torch /path/of/starcoder2/startcoder2-7b
.
transformers version 4.40.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May resolve the conflicts
@AllentDan official demo:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Support starcoder2 https://huggingface.co/bigcode/starcoder2-7b