SemEvalWorkshop/sem_eval_2018_task_1
Updated • 1.16k • 18
How to use wesleyacheng/twitter-emotion-multilabel-classification-with-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="wesleyacheng/twitter-emotion-multilabel-classification-with-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("wesleyacheng/twitter-emotion-multilabel-classification-with-bert")
model = AutoModelForSequenceClassification.from_pretrained("wesleyacheng/twitter-emotion-multilabel-classification-with-bert")First posted on my Kaggle.
Hello, I'm Wesley, nice to meet you! 👋
Since adding Joy and Sadnesss with Anger in my Twitter Emotion MultiClass Classifier Notebook, I wanted to complete the Inside Out group with Fear and Disgust!
Here I made a Twitter Emotion MultiLabel Classifier by doing transfer learning on BERT with the SemEval Twitter Dataset in PyTorch and HuggingFace.