Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,54 +1,54 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: AI Text Classifier 2026
|
| 3 |
-
emoji: π€
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: streamlit
|
| 7 |
-
sdk_version:
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
# π€ AI Text Classifier 2026
|
| 13 |
-
|
| 14 |
-
## Overview
|
| 15 |
-
Professional AI-powered text classification system with **Spam Detection** and **Sentiment Analysis** using state-of-the-art Transformer models (BERT & RoBERTa).
|
| 16 |
-
|
| 17 |
-
## Features
|
| 18 |
-
- π§ **Spam Detection** - Identifies spam messages (98.5% accuracy)
|
| 19 |
-
- π **Sentiment Analysis** - Positive/Negative/Neutral classification (96.8% accuracy)
|
| 20 |
-
- π **History Storage** - Automatically stores past classifications
|
| 21 |
-
- π **Visual Analytics** - Interactive confidence gauges and charts
|
| 22 |
-
- β‘ **Real-time Processing** - Instant results with progress indicators
|
| 23 |
-
|
| 24 |
-
## How It Works
|
| 25 |
-
1. Select classification type (Spam or Sentiment)
|
| 26 |
-
2. Enter or paste text
|
| 27 |
-
3. AI model analyzes content
|
| 28 |
-
4. Get instant result with confidence score
|
| 29 |
-
5. View history of all past classifications
|
| 30 |
-
|
| 31 |
-
## Models Used
|
| 32 |
-
| Task | Model | Accuracy |
|
| 33 |
-
|------|-------|----------|
|
| 34 |
-
| Spam Detection | BERT-tiny (SMS fine-tuned) | 98.5% |
|
| 35 |
-
| Sentiment Analysis | RoBERTa (Twitter latest) | 96.8% |
|
| 36 |
-
|
| 37 |
-
## Deployment
|
| 38 |
-
|
| 39 |
-
### Hugging Face Spaces (FREE)
|
| 40 |
-
|
| 41 |
-
1. Go to: https://huggingface.co/new-space
|
| 42 |
-
2. Space Name: `text-classifier-2026`
|
| 43 |
-
3. SDK: **Streamlit**
|
| 44 |
-
4. Hardware: **CPU Basic**
|
| 45 |
-
5. Upload files:
|
| 46 |
-
- `app.py`
|
| 47 |
-
- `requirements.txt`
|
| 48 |
-
- `README.md`
|
| 49 |
-
6. Click "Create Space"
|
| 50 |
-
|
| 51 |
-
### Local Run
|
| 52 |
-
```bash
|
| 53 |
-
pip install -r requirements.txt
|
| 54 |
streamlit run app.py
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI Text Classifier 2026
|
| 3 |
+
emoji: π€
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.57.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# π€ AI Text Classifier 2026
|
| 13 |
+
|
| 14 |
+
## Overview
|
| 15 |
+
Professional AI-powered text classification system with **Spam Detection** and **Sentiment Analysis** using state-of-the-art Transformer models (BERT & RoBERTa).
|
| 16 |
+
|
| 17 |
+
## Features
|
| 18 |
+
- π§ **Spam Detection** - Identifies spam messages (98.5% accuracy)
|
| 19 |
+
- π **Sentiment Analysis** - Positive/Negative/Neutral classification (96.8% accuracy)
|
| 20 |
+
- π **History Storage** - Automatically stores past classifications
|
| 21 |
+
- π **Visual Analytics** - Interactive confidence gauges and charts
|
| 22 |
+
- β‘ **Real-time Processing** - Instant results with progress indicators
|
| 23 |
+
|
| 24 |
+
## How It Works
|
| 25 |
+
1. Select classification type (Spam or Sentiment)
|
| 26 |
+
2. Enter or paste text
|
| 27 |
+
3. AI model analyzes content
|
| 28 |
+
4. Get instant result with confidence score
|
| 29 |
+
5. View history of all past classifications
|
| 30 |
+
|
| 31 |
+
## Models Used
|
| 32 |
+
| Task | Model | Accuracy |
|
| 33 |
+
|------|-------|----------|
|
| 34 |
+
| Spam Detection | BERT-tiny (SMS fine-tuned) | 98.5% |
|
| 35 |
+
| Sentiment Analysis | RoBERTa (Twitter latest) | 96.8% |
|
| 36 |
+
|
| 37 |
+
## Deployment
|
| 38 |
+
|
| 39 |
+
### Hugging Face Spaces (FREE)
|
| 40 |
+
|
| 41 |
+
1. Go to: https://huggingface.co/new-space
|
| 42 |
+
2. Space Name: `text-classifier-2026`
|
| 43 |
+
3. SDK: **Streamlit**
|
| 44 |
+
4. Hardware: **CPU Basic**
|
| 45 |
+
5. Upload files:
|
| 46 |
+
- `app.py`
|
| 47 |
+
- `requirements.txt`
|
| 48 |
+
- `README.md`
|
| 49 |
+
6. Click "Create Space"
|
| 50 |
+
|
| 51 |
+
### Local Run
|
| 52 |
+
```bash
|
| 53 |
+
pip install -r requirements.txt
|
| 54 |
streamlit run app.py
|