Spaces:
Running
Running
| title: Hello World AI Sentiment | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 6.19.0 | |
| python_version: '3.13' | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: Hello World AI app β sentiment analysis with DistilBERT | |
| # Hello World β AI Sentiment Analysis | |
| A minimal Hugging Face Space for students learning to build AI apps. | |
| ## What it does | |
| Classifies any sentence as **Positive** or **Negative** using | |
| [DistilBERT](https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english), | |
| a lightweight model fine-tuned on the Stanford Sentiment Treebank. | |
| ## Stack | |
| - **UI**: Gradio | |
| - **Model**: `distilbert-base-uncased-finetuned-sst-2-english` | |
| - **Runtime**: π€ Transformers + PyTorch (CPU) | |
| ## Run locally | |
| ```bash | |
| pip install -r requirements.txt | |
| python app.py | |
| ``` | |