Initial commit 7659378
Gayoung commited on
How to use bunoheb/emotion_classifier_main with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="bunoheb/emotion_classifier_main") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bunoheb/emotion_classifier_main")
model = AutoModelForSequenceClassification.from_pretrained("bunoheb/emotion_classifier_main")