A lightweight and powerful web app that classifies text as Positive or Negative using Hugging Face Transformers β built with Gradio and perfect for real-time use!
- Pipeline:
text-classification - Model:
distilbert-base-uncased-finetuned-sst-2-english - Task: Binary Sentiment Classification (Positive / Negative)
- Framework: Transformers by Hugging Face
- Real-time sentiment prediction from user text
- Lightweight, fast & responsive Gradio UI
- Deployed via Hugging Face Spaces β public & demo-ready
This app is trained for binary classification: Positive and Negative
Neutral or mixed inputs may lean toward one side.
For best results, use clearly positive or negative sentences.
β Example:
- "I love the performance of this app!" β Positive
- "Terrible experience, not recommended." β Negative
π Try it here: Hugging Face Space Link
Install all required packages:
pip install -r requirements.txt