Hello!
From Transformers v5.2 onwards, it won't be possible to load this model without a model_type.
model_type
You can try this with
from transformers import AutoModel model = AutoModel.from_pretrained("prajjwal1/bert-medium", revision="refs/pr/2") print(type(model))
· Sign up or log in to comment