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

Error no file named pytorch_model.bin, model.safetensors #159

Open
morbidod opened this issue Sep 28, 2024 · 2 comments
Open

Error no file named pytorch_model.bin, model.safetensors #159

morbidod opened this issue Sep 28, 2024 · 2 comments

Comments

@morbidod
Copy link

morbidod commented Sep 28, 2024

Hello,

I successfully downloaded the model to this directory /root/.llama/checkpoints/Llama3.2-1B-Instruct
When I launch the AutoModelForCausalLM.from_pretrained passing the path above I got the following error:

OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /root/.llama/checkpoints/Llama3.2-1B-Instruct.

(AutomodelForCasualLM is from latest transformers library (pip install -U transformers).

Thanks in advance for any suggestion.

@LennyxDxDxD
Copy link

metoo

@ShanthiniMichael
Copy link

Have you found any solution? I am also facing the same issue

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

3 participants