Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.24.0
metadata
title: SentimentAnalyzer
emoji: 🎭
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 4.40.0
python_version: '3.10'
app_file: app.py
pinned: false
license: mit
Sentiment Analyzer
A full featured sentiment analysis app built with HuggingFace Transformers and Gradio.
Features
- ✅ Single sentence analysis with confidence score + response time
- ✅ Batch analysis up to 20 sentences at once with summary
- ✅ Clean tabbed interface
- ✅ Built in example sentences
Model
| Detail | Info | | Model | distilbert-base-uncased-finetuned-sst-2-english | | Task | Binary Sentiment Classification (POSITIVE / NEGATIVE) | | Accuracy | ~91% on SST-2 benchmark | | Source | HuggingFace Transformers |
Tech Stack
- HuggingFace Transformers (DistilBERT)
- Gradio 4.x
- Python 3.10+
Background
Originally built as a full stack project with Flask REST API + React frontend.
This Space showcases the core ML functionality with an interactive Gradio interface.
Developer
Sawda · BS Computer Engineering Technology · IIU Islamabad
GitHub · LinkedIn