Initialized model 202f2b1
Pieter Delobelle commited on
How to use DTAI-KULeuven/mbert-corona-tweets-belgium-curfew-support with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DTAI-KULeuven/mbert-corona-tweets-belgium-curfew-support") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DTAI-KULeuven/mbert-corona-tweets-belgium-curfew-support")
model = AutoModelForSequenceClassification.from_pretrained("DTAI-KULeuven/mbert-corona-tweets-belgium-curfew-support")