Closed RylanSchaeffer closed 1 year ago
I thought my huggingface-hub
might be out of date, so I upgraded from 0.10.X to 0.16.4 and the error persists.
Hi, @RylanSchaeffer. Which version of transformers
do you have installed? The model weights are stored as safetensors, and the safetensors
package has become a core dependency of the lib since v4.30.0. Try updating with:
pip install -U transformers
That seemed to do the trick - thank you!
When I try loading a StableLM, I get an OSError. Code from HuggingFace:
Immediate error:
OSError: stabilityai/stablelm-base-alpha-3b-v2 does not appear to have a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Can someone please help me solve this?