from transformers import AutoTokenizer, AutoModelForSequenceClassification, AutoConfig
config = AutoConfig.from_pretrained("typeform/mobilebert-uncased-mnli")
tokenizer = AutoTokenizer.from_pretrained("typeform/mobilebert-uncased-mnli")
model = AutoModelForSequenceClassification.from_pretrained("typeform/mobilebert-uncased-mnli")
I didn’t have the auto config class before. I added it to try and get rid of the error but i keep seeing it for all the zero shot models from typeform.
I am not sure if there is a problem on my end or the hugging face end…
Please help