🎭 Sentiment Analysis — airzipm
A powerful 3-class sentiment analysis model fine-tuned from roberta-base
on a combined corpus of 200 000+ samples spanning movie reviews, short sentences,
tweets, and restaurant reviews.
🏷️ Labels
📊 Performance
🚀 Quick Usage
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="airzipm/sentiment-analysis-roberta",
)
# Single prediction
print(classifier("This movie was absolutely amazing!"))
# [{'label': 'Positive', 'score': 0.97}]
# Batch prediction
texts = [
"Great product, highly recommend!",
"It was okay, nothing special.",
"Terrible experience, waste of money.",
]
for t, r in zip(texts, classifier(texts)):
print(f"{t[:45]:50s} → {r['label']} ({r['score']:.1%})")
🛠️ Training Details
📦 Training Data
🖼️ Training Curves & Confusion Matrix
See training_curves.png and confusion_matrix.png in this repository.
👤 Author
Created by airzipm — Hugging Face Profile