File size: 815 Bytes
53133c0
61eff92
 
 
 
53133c0
 
 
 
 
 
61eff92
53133c0
 
61eff92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
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
```