testing-space / README.md
spacedout-bits's picture
Add hello world AI sentiment analysis app
61eff92
|
Raw
History Blame Contribute Delete
815 Bytes
---
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
```