How to use typeform/mobilebert-uncased-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="typeform/mobilebert-uncased-mnli")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("typeform/mobilebert-uncased-mnli") model = AutoModelForSequenceClassification.from_pretrained("typeform/mobilebert-uncased-mnli")
Hi @hhschu This PR has documentation about your model and is based on the format we are using as part of our effort to standardize model cards at Hugging Face. Please feel free to merge as is or edit as you like and then merge.
· Sign up or log in to comment