brighter-dataset/BRIGHTER-emotion-categories
Viewer • Updated • 140k • 7.67k • 15
How to use rdhinaz/BERT-Fine-Tuned-Hausa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="rdhinaz/BERT-Fine-Tuned-Hausa") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("rdhinaz/BERT-Fine-Tuned-Hausa")
model = AutoModelForSequenceClassification.from_pretrained("rdhinaz/BERT-Fine-Tuned-Hausa")Base model
google-bert/bert-base-uncased