Load failed:There is no "pytorch_model.bin", how to load the model?
#3
by
Hanlard
- opened
There is no "pytorch_model.bin", how to load the model?
You might need to update the transformers package because the model is saved into safetensors rather than bin. Recent transformers package should support loading safetensors via AutoModelForSequenceClassification.from_pretrained(name).