philipobiorah's picture
Update README.md
ab74064 verified
---
title: Bert Sentiment Analysis
emoji: πŸ¦€
colorFrom: pink
colorTo: green
sdk: docker
pinned: false
short_description: 'BERT-Based Sentiment Analyzer '
---
# πŸš€ **BERT Sentiment Analysis - Hugging Face Spaces**
This is a **Flask-based web application** that performs **sentiment analysis** using a **pre-trained BERT model** from Hugging Face.
πŸ” **Model Used**: [`philipobiorah/bert-imdb-model`](https://huggingface.co/philipobiorah/bert-imdb-model)
🌍 **Live App**: [**Try it on Hugging Face Spaces**](https://huggingface.co/spaces/philipobiorah/bert-imdb-model)
---
## πŸ“Œ **How It Works**
1. **Enter a text** in the input field OR **upload a CSV file**.
2. The model classifies the sentiment as **Positive** or **Negative**.
3. If a file is uploaded, results are displayed in a **bar chart**.
---
## βš™οΈ **Model Details**
- **Model Name**: [`philipobiorah/bert-imdb-model`](https://huggingface.co/philipobiorah/bert-imdb-model)
- **Base Model**: `bert-base-uncased`
- **Framework**: `transformers` (Hugging Face) + `torch` (PyTorch)
- **Task**: Binary Sentiment Classification (**Positive / Negative**)
---
## πŸ“¦ **Running Locally**
### **1️⃣ Clone the Repository**
```bash
git clone https://huggingface.co/spaces/philipobiorah/bert-imdb-model
cd bert-imdb-model
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference