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

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory #32

Closed
dragen1860 opened this issue Apr 18, 2023 · 2 comments

Comments

@dragen1860
Copy link

Hi, all:
I clone the repo and download the weights from https://huggingface.co/lmsys/vicuna-13b-delta-v0/tree/main, when run

python demo.py --cfg-path eval_configs/minigpt4_eval.yaml

I encounter the following error:

OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in 
directory /media/sdb/xxx/LLama/vicuna_weights.

I double check the downloaded weights in /media/sdb/xxx/LLama/vicuna_weights:

image

Anyone know what caused the OSError message? thanks.

@dragen1860 dragen1860 changed the title SError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /media/sdb/long/LLama/vicuna_weights. OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /media/sdb/long/LLama/vicuna_weights. Apr 18, 2023
@dragen1860 dragen1860 changed the title OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /media/sdb/long/LLama/vicuna_weights. OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory Apr 18, 2023
@TsuTikgiau
Copy link
Collaborator

Thanks for your interest! The vicuna weight you downloaded is a delta version and need some further processing to turn it into a working version. Please refer to our updated readme to know how to prepare vicuna

@dragen1860
Copy link
Author

Yes, after follow your latest readme guide, it works. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants