Downloads · 30 days
0
rama9agg/distilbert-sentiment-tone-analyzer
distilbert-sentiment-tone-analyzer is a machine learning model from rama9agg. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A lightweight, fine-tuned DistilBERT model designed for dual-head sequence classification. It simultaneously predicts core sentiment (Positive/Negative) and conversational tone across text inputs such as product revie…
Downloads · 30 days
0
Access
Public
Updated Jul 22, 2026
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
A lightweight, fine-tuned DistilBERT model designed for dual-head sequence classification. It simultaneously predicts core sentiment (Positive/Negative) and conversational tone across text inputs such as product reviews, user comments, social posts, and quotes.
The model utilizes a shared distilbert-base-uncased backbone with two custom classification heads built on top of the pooled [CLS] embeddings:
Sentiment Classification (2 Classes)
0: NEGATIVE1: POSITIVETone Classification (4 Classes)
0: MOTIVATIONAL1: SARCASTIC2: FUNNY3: LOVE QUOTESince this model uses a custom multi-task architecture, define the architecture class and load the weights using safetensors and huggingface_hub.
pip install torch transformers safetensors huggingface_hub