# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification")
model = AutoModelForSequenceClassification.from_pretrained("Elegbede/Distilbert_FInetuned_For_Text_Classification")Quick Links
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
license: apache-2.0 --- This model involves finetuning Distilbert for text classification to generate emotions from texts The label mapping corresponds to: label_0: 'Sadness π', label_1: 'Joy π', label_2: 'Love π', label_3: 'Anger π ', label_4: 'Fear π¨', label_5: 'Surprise π²'
- Downloads last month
- 21
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Elegbede/Distilbert_FInetuned_For_Text_Classification")