How to use gokuls/tiny-bert-sst2-mobilebert-distillation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="gokuls/tiny-bert-sst2-mobilebert-distillation")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("gokuls/tiny-bert-sst2-mobilebert-distillation") model = AutoModelForSequenceClassification.from_pretrained("gokuls/tiny-bert-sst2-mobilebert-distillation")