Manish014 commited on
Commit
850ecf3
Β·
verified Β·
1 Parent(s): b60f011

update readme

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md CHANGED
@@ -9,4 +9,83 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
9
  pinned: false
10
  ---
11
 
12
+
13
+ # πŸ“ Review Summariser GPT - Config 1
14
+
15
+ This is a Gradio-powered web application that uses a fine-tuned T5 model to summarize long product reviews into short, helpful summaries β€” and also predicts the overall sentiment (Positive/Negative) of the review.
16
+
17
+ - πŸ”§ Built with: [πŸ€— Transformers](https://huggingface.co/transformers), [Gradio](https://gradio.app), [Hugging Face Spaces](https://huggingface.co/spaces)
18
+ - 🧠 Model: Fine-tuned from `t5-small` on a custom review-summary dataset
19
+ - πŸ” Sentiment: Powered by `distilbert-base-uncased-finetuned-sst-2-english`
20
+
21
+ ---
22
+
23
+ ## πŸš€ Demo
24
+
25
+ πŸ‘‰ **Live on Hugging Face Spaces**:
26
+ [πŸ”— Launch App](https://huggingface.co/spaces/Manish014/ReviewSummariser)
27
+
28
+ ---
29
+
30
+ ## πŸ“¦ Features
31
+
32
+ - βœ‚οΈ Summarizes long product reviews (e.g., from Amazon, Flipkart, etc.)
33
+ - πŸ“Š Predicts sentiment using a pre-trained classifier
34
+ - πŸ–ΌοΈ Clean Gradio UI with examples and collapsible "About" section
35
+ - ⚑ Optimized for GPU inference (but also works on CPU)
36
+
37
+ ---
38
+
39
+ ## πŸ§ͺ Example
40
+
41
+ **Input Review:**
42
+ > This product leaks water and smells like burnt plastic. Total waste of money.
43
+
44
+ **β†’ Summary:**
45
+ > Leaks and has a bad odor. Not recommended.
46
+
47
+ **β†’ Sentiment:**
48
+ > NEGATIVE (99.8%)
49
+
50
+ ---
51
+
52
+ ## πŸ“ Files in This Repo
53
+
54
+ | File | Description |
55
+ |-------------------|------------------------------------------|
56
+ | `app.py` | Main app file with Gradio Blocks UI |
57
+ | `requirements.txt`| Python dependencies for the Space |
58
+ | `thumbnail.png` | Preview image used on Hugging Face Space |
59
+ | `README.md` | This file |
60
+
61
+ ---
62
+
63
+ ## 🧠 Model Details
64
+
65
+ - **Base Model:** `t5-small`
66
+ - **Fine-Tuning:** Trained on a 1000-sample custom dataset (`review β†’ summary`)
67
+ - **Epochs:** 5
68
+ - **Batch size:** 4
69
+ - **Learning rate:** 5e-5
70
+ - **Training Env:** Google Colab + Kaggle
71
+
72
+ ---
73
+
74
+ ## πŸ“„ License
75
+
76
+ This project is licensed under the [MIT License](LICENSE).
77
+
78
+ ---
79
+
80
+ ## πŸ™‹β€β™‚οΈ Author
81
+
82
+ **Manish Kumar Kondoju**
83
+ 🌐 [Hugging Face Profile](https://huggingface.co/Manish014)
84
+ πŸ“« [email protected]
85
+
86
+ ---
87
+
88
+ > ⭐ Star this repo if you found it useful β€” and feel free to fork, extend, or share!
89
+
90
+
91
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference