Spaces:
Configuration error
Configuration error
File size: 712 Bytes
5655af0 1db0c1f 5655af0 1db0c1f 5655af0 1db0c1f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
title: Beginner Sentiment Analyzer
emoji: 🤗
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: false
---
# Beginner Sentiment Analyzer
A beginner-friendly sentiment analysis project built using Hugging Face
Transformers, DistilBERT, PyTorch, and Gradio.
## Features
- Classifies English text as positive or negative
- Shows confidence scores
- Includes example sentences
- Handles empty and excessively long input
- Runs locally or on Hugging Face Spaces
## Model
This project uses:
`distilbert/distilbert-base-uncased-finetuned-sst-2-english`
## Run locally
```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py |