
First posted in my [Kaggle](https://www.kaggle.com/code/wesleyacheng/twitter-emotion-classification-with-bert).

Hello, I'm **Wesley**, nice to meet you! 👋

While I was making my **[Angry Birds Classifier](https://www.kaggle.com/code/wesleyacheng/angry-birds-classifier)** to classify if tweets are angry or not, I thought why don't we add **2** more emotions! **Joy and Sadness** into the mix!

Here I created a **Multiclass Text Classifier** that classifies tweets as either having **JOY, SADNESS, or ANGER**.

I used the [Twitter Emotion Dataset](https://huggingface.co/datasets/tweet_eval/viewer/emotion/train) and [BERT](https://huggingface.co/distilbert-base-uncased) to do [Transfer Learning](https://en.wikipedia.org/wiki/Transfer_learning) with [PyTorch](https://pytorch.org) and [HuggingFace](https://huggingface.co).
{"language": ["en"], "license": "apache-2.0", "datasets": ["tweet_eval"], "metrics": ["accuracy", "f1"], "pipeline_tag": "text-classification", "widget": [{"text": "Yay!", "example_title": "Joy Example"}, {"text": "There is no meaning in life.", "example_title": "Sadness Example"}, {"text": "I hate you!", "example_title": "Anger Example"}]}
transformers pytorch safetensors distilbert text-classification en dataset:tweet_eval license:apache-2.0 autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #safetensors #distilbert #text-classification #en #dataset-tweet_eval #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us 


First posted in my Kaggle.

Hello, I'm Wesley, nice to meet you! 

While I was making my Angry Birds Classifier to classify if tweets are angry or not, I thought why don't we add 2 more emotions! Joy and Sadness into the mix!

Here I created a Multiclass Text Classifier that classifies tweets as either having JOY, SADNESS, or ANGER.

I used the Twitter Emotion Dataset and BERT to do Transfer Learning with PyTorch and HuggingFace.
TAGS
#transformers #pytorch #safetensors #distilbert #text-classification #en #dataset-tweet_eval #license-apache-2.0 #autotrain_compatible #endpoints_compatible #region-us 
