Spaces:
Running
Running
metadata
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, 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
pip install -r requirements.txt
python app.py