-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
update alpaca 13B to 4.1 model #353
base: main
Are you sure you want to change the base?
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.
You might want to change the name of the resulting file, too. For now this is rather "hacky".
In the same snippet, change the resolve(dir, "ggml-model-q4_0.bin")
part.
The problem is, that the script often expects the filename to be the same (the webapp finds only 4_0 named files). I'm not sure how to solve that properly without the need for a rewrite.
I've made some changes to try to make the references to the model file names in general more generic, but I haven't had a chance to test it yet. |
4adf88d
to
40dd62f
Compare
So, I've tested the updated code and it successfully downloaded the right file, and it seems to be pointing to the right file, however when I run the web app with debug this is the output I'm seeing
|
I checked the sha on the file to make sure that it properly downloaded the whole thing, and it seems to check out. I got the sha from https://huggingface.co/Pi3141/alpaca-native-13B-ggml/blob/main/ggml-model-q4_1.bin
|
@mcaubrey did you solve the problem? I get the same error with your code |
No, as mentioned above, I did solve the problem of it not downloading the model. However, for whatever reason, the model hosted on Hugging Face does not seem to be in the correct format to use with Dalai. If you use my updated code, you can download that model, but in the end it still won't execute. You'll likely get the same "bad magic" error that I did. |
any update? i have 13B/ggml-model-q4_1.bin' (bad magic) error too :( |
This resolves issue #350 by updating the version of 13B that is installed.