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).

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment