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

invalid model file './models/ggml-alpaca-7b-q4.bin' (too old, regenerate your model files!) #329

Closed
TonyHanzhiSU opened this issue Mar 20, 2023 · 7 comments
Labels
model Model specific need more info The OP should provide more details about the issue

Comments

@TonyHanzhiSU
Copy link

Hi, I have encounter the above problem when running the alpaca model. I download the model from the link "https://gateway.estuary.tech/gw/ipfs/QmQ1bf2BTnYxq73MFJWu1B7bQ2UD6qG7D7YDCxhTndVkPC" which is one of the three options from the readme. Should I download the model from somewhere else?

@gjmulder gjmulder added need more info The OP should provide more details about the issue model Model specific labels Mar 20, 2023
@nsarrazin
Copy link

You need to convert your weights using the script provided here.

You will also need the tokenizer from here.

Then you can run python convert.py your/models/folder/ path/to/tokenizer.model

And the outputted *.bin.tmp files are the new models.

@nsarrazin
Copy link

I have uploaded the converted weights here for the 7B alpaca model. I also have the 13B version but not sure where to upload it, it's a bit big.

@TonyHanzhiSU
Copy link
Author

thank you so much ! It has fixed my problem and the model is up and running.

@Zer0-
Copy link

Zer0- commented Mar 20, 2023

I have uploaded the converted weights here for the 7B alpaca model. I also have the 13B version but not sure where to upload it, it's a bit big.

Can you just make a torrent of it for now?

@tkafka
Copy link

tkafka commented Mar 23, 2023

@nsarrazin You should be able to publish them to https://huggingface.co, right?

@l29ah
Copy link
Contributor

l29ah commented Mar 24, 2023

Downloaded one from https://huggingface.co/Pi3141/alpaca-13B-ggml/ and it's "too old" as well.

@l29ah
Copy link
Contributor

l29ah commented Mar 24, 2023

magnet:?xt=urn:btih:e5322ab4676e24632a907fd9846234bb40265c4f&dn=ggml-q4 should have the proper models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model Model specific need more info The OP should provide more details about the issue
Projects
None yet
Development

No branches or pull requests

6 participants