update alpaca 13B to 4.1 model - #353
Conversation
Grarie
left a comment
There was a problem hiding this comment.
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.