Skip to content

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

Closed
@TonyHanzhiSU

Description

@TonyHanzhiSU

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?

Activity

added
need more infoThe OP should provide more details about the issue
modelModel specific
on Mar 20, 2023
nsarrazin

nsarrazin commented on Mar 20, 2023

@nsarrazin

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

nsarrazin commented on Mar 20, 2023

@nsarrazin

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

TonyHanzhiSU commented on Mar 20, 2023

@TonyHanzhiSU
Author

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

Zer0-

Zer0- commented on Mar 20, 2023

@Zer0-

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

tkafka commented on Mar 23, 2023

@tkafka

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

l29ah

l29ah commented on Mar 24, 2023

@l29ah
Contributor

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

l29ah

l29ah commented on Mar 24, 2023

@l29ah
Contributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    modelModel specificneed more infoThe OP should provide more details about the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @l29ah@tkafka@Zer0-@gjmulder@TonyHanzhiSU

        Issue actions

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