Spaces:
Runtime error
Runtime error
Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354---title: AI Text Classifier 2026emoji: π€colorFrom: bluecolorTo: purplesdk: streamlitsdk_version: 1.57.0app_file: app.pypinned: false---# π€ AI Text Classifier 2026## OverviewProfessional AI-powered text classification system with **Spam Detection** and **Sentiment Analysis** using state-of-the-art Transformer models (BERT & RoBERTa).## Features- π§ **Spam Detection** - Identifies spam messages (98.5% accuracy)- π **Sentiment Analysis** - Positive/Negative/Neutral classification (96.8% accuracy)- π **History Storage** - Automatically stores past classifications- π **Visual Analytics** - Interactive confidence gauges and charts- β‘ **Real-time Processing** - Instant results with progress indicators## How It Works1. Select classification type (Spam or Sentiment)2. Enter or paste text3. AI model analyzes content4. Get instant result with confidence score5. View history of all past classifications## Models Used| Task | Model | Accuracy ||------|-------|----------|| Spam Detection | BERT-tiny (SMS fine-tuned) | 98.5% || Sentiment Analysis | RoBERTa (Twitter latest) | 96.8% |## Deployment### Hugging Face Spaces (FREE)1. Go to: https://huggingface.co/new-space2. Space Name: `text-classifier-2026`3. SDK: **Streamlit**4. Hardware: **CPU Basic**5. Upload files:- `app.py`- `requirements.txt`- `README.md`6. Click "Create Space"### Local Run```bashpip install -r requirements.txtstreamlit run app.py12345678910111213141516171819202122232425262728293031323334353637383940414243# π§ AI Text Classifier 2026[](https://huggingface.co/spaces)[](https://streamlit.io)## π Next-Generation Text Intelligence PlatformA powerful AI application that performs **real-time spam detection** and **sentiment analysis** using state-of-the-art transformer models (BERT & RoBERTa).## β¨ Features### π Dual Classification System- **π§ Spam Detection** - Identifies spam messages with 98.5% accuracy- **π Sentiment Analysis** - Detects Positive/Negative/Neutral emotions with 96.8% accuracy### π¨ Modern UI/UX- Dark theme with purple/cyan gradients- Glass morphism effects- Animated result cards- Responsive design### π Advanced Analytics- Interactive gauges for confidence scores- Real-time progress tracking- Sentiment distribution charts- Comprehensive analysis history## π οΈ Tech Stack| Category | Technology ||----------|------------|| Frontend | Streamlit || AI/ML | PyTorch, Transformers || Models | BERT, RoBERTa || Visualization | Plotly || Data Processing | Pandas, NumPy |## π Quick Start1. **Clone the repository**```bashgit clone https://huggingface.co/spaces/YOUR_USERNAME/ai-text-classifier-2026cd ai-text-classifier-2026
README.md+42-53