Downloads · 30 days
12
46% of all-time downloads
Aakash22134/bert-twitter-sentiment-classifier
bert-twitter-sentiment-classifier is a machine learning model from Aakash22134. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Fine-tuned model: bert-base-uncased → bert-twitter-sentiment-classifier
Downloads · 30 days
12
46% of all-time downloads
All-time downloads
26
Public
Parameters
109M
438 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
Fine-tuned model: bert-base-uncased → bert-twitter-sentiment-classifier
Author: Aakash (Aakash22134) Contact: [email protected] License: apache-2.0 Languages: en
This model is a fine-tuned BERT classifier for multi-class emotion / sentiment classification on short Twitter text. It predicts one of the following classes: sadness, joy, love, anger, fear, surprise.
The model was trained on the twitter_multi_class_sentiment dataset and demonstrates strong classification performance on the held-out test set.
bert-base-uncased tokenizer, padding + truncation to default BERT max length in the notebooktransformers.Trainer (Hugging Face Transformers)Test set results (approx):
Per-class (precision / recall / f1 / support): { "sadness": { "precision": 0.93, "recall": 0.95, "f1": 0.94, "support": 933 }, "joy": { "precision": 0.92, "recall": 0.91, "f1": 0.92, "support": 1072 }, "love": { "precision": 0.76, "recall": 0.75, "f1": 0.76, "support": 261 }, "anger": { "precision": 0.91, "recall": 0.91, "f1": 0.91, "support": 432 }, "fear": { "precision": 0.89, "recall": 0.88, "f1": 0.88, "support": 387 }, "surprise": { "precision": 0.75, "recall": 0.72, "f1": 0.74, "support": 115 } }
Evaluation details: computed with sklearn.metrics.classification_report.
WandB logs: https://wandb.ai/saiaakash33333-gitam/huggingface Run: https://wandb.ai/saiaakash33333-gitam/huggingface/runs/qtmurwgd
Last updated: 2025-09-29 09:20:19 UTC