prithvisrinivasan:

from transformers import AutoTokenizer, AutoModel, BertTokenizer, BertModel
tokenizerinp = AutoTokenizer.from_pretrained(“microsoft/SportsBERT”)
modelinp = AutoModel.from_pretrained(“microsoft/SportsBERT”)


Which version of transformers are you using ? With 3.5.0 The default place for models and url resolving was changed (to enable faster iteration on you models which are now git repositories with LFS for the models). If you used an earlier version, then we backport the models but with a batching job that runs every hour. It could explain the behavior you saw.
Is that it ?