llama-models icon indicating copy to clipboard operation
llama-models copied to clipboard

Error no file named pytorch_model.bin, model.safetensors

Open morbidod opened this issue 4 months ago • 3 comments

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.

morbidod avatar Sep 28 '24 11:09 morbidod