jkmaina commited on
Commit
028e56d
Β·
1 Parent(s): 71ec8d1

Movie Review Sentiment Analysis - BERT

Browse files
Files changed (1) hide show
  1. README.md +44 -6
README.md CHANGED
@@ -1,14 +1,52 @@
1
  ---
2
- title: Sentiment Demo
3
- emoji: ⚑
4
- colorFrom: indigo
5
- colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
- short_description: Test Space
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Movie Review Sentiment Analyzer
3
+ emoji: 🎬
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
+ short_description: BERT-powered movie review sentiment analysis
12
  ---
13
 
14
+ # Movie Review Sentiment Analyzer
15
+
16
+ ## Overview 🎯
17
+ This Gradio app uses the `zavora/bert-sentiment-imdb` model to analyze movie review sentiments in real-time. The model has been fine-tuned on the IMDB dataset to provide accurate sentiment predictions for movie-related text.
18
+
19
+ ## Features ✨
20
+ - Real-time sentiment analysis
21
+ - Confidence score for each prediction
22
+ - User-friendly interface
23
+ - Example reviews for testing
24
+ - Mobile-responsive design
25
+
26
+ ## Model Details πŸ€–
27
+ - **Base Model**: bert-base-uncased
28
+ - **Fine-tuned on**: IMDB dataset
29
+ - **Task**: Binary Sentiment Analysis
30
+ - **Model Source**: [zavora/bert-sentiment-imdb](https://huggingface.co/zavora/bert-sentiment-imdb)
31
+
32
+ ## How to Use πŸ“
33
+ 1. Enter your movie review in the text box
34
+ 2. Click the "Submit" button
35
+ 3. View the sentiment analysis results:
36
+ - Sentiment (Positive/Negative)
37
+ - Confidence score
38
+
39
+ ## Technical Details πŸ› οΈ
40
+ Built with:
41
+ - Gradio 5.9.1
42
+ - Transformers
43
+ - PyTorch
44
+ - BERT model fine-tuned on IMDB dataset
45
+
46
+ ## Local Development
47
+ ```bash
48
+ # Install dependencies
49
+ pip install -r requirements.txt
50
+
51
+ # Run the app
52
+ python app.py