Spaces:
Sleeping
Sleeping
| title: ReviewSummariser | |
| emoji: π | |
| colorFrom: pink | |
| colorTo: red | |
| sdk: gradio | |
| sdk_version: 5.35.0 | |
| app_file: app.py | |
| pinned: false | |
| # π Review Summariser GPT - Config 1 | |
| 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. | |
| - π§ Built with: [π€ Transformers](https://huggingface.co/transformers), [Gradio](https://gradio.app), [Hugging Face Spaces](https://huggingface.co/spaces) | |
| - π§ Model: Fine-tuned from `t5-small` on a custom review-summary dataset | |
| - π Sentiment: Powered by `distilbert-base-uncased-finetuned-sst-2-english` | |
| --- | |
| ## π Demo | |
| π **Live on Hugging Face Spaces**: | |
| [π Launch App](https://huggingface.co/spaces/Manish014/ReviewSummariser) | |
| --- | |
| ## π¦ Features | |
| - βοΈ Summarizes long product reviews (e.g., from Amazon, Flipkart, etc.) | |
| - π Predicts sentiment using a pre-trained classifier | |
| - πΌοΈ Clean Gradio UI with examples and collapsible "About" section | |
| - β‘ Optimized for GPU inference (but also works on CPU) | |
| --- | |
| ## π§ͺ Example | |
| **Input Review:** | |
| > This product leaks water and smells like burnt plastic. Total waste of money. | |
| **β Summary:** | |
| > Leaks and has a bad odor. Not recommended. | |
| **β Sentiment:** | |
| > NEGATIVE (99.8%) | |
| --- | |
| ## π Files in This Repo | |
| | File | Description | | |
| |-------------------|------------------------------------------| | |
| | `app.py` | Main app file with Gradio Blocks UI | | |
| | `requirements.txt`| Python dependencies for the Space | | |
| | `thumbnail.png` | Preview image used on Hugging Face Space | | |
| | `README.md` | This file | | |
| --- | |
| ## π§ Model Details | |
| - **Base Model:** `t5-small` | |
| - **Fine-Tuning:** Trained on a 1000-sample custom dataset (`review β summary`) | |
| - **Epochs:** 5 | |
| - **Batch size:** 4 | |
| - **Learning rate:** 5e-5 | |
| - **Training Env:** Google Colab + Kaggle | |
| --- | |
| ## π License | |
| This project is licensed under the [MIT License](LICENSE). | |
| --- | |
| ## πββοΈ Author | |
| **Manish Kumar Kondoju** | |
| π [Hugging Face Profile](https://huggingface.co/Manish014) | |
| π« kondoju.m@northeastern.edu | |
| --- | |
| > β Star this repo if you found it useful β and feel free to fork, extend, or share! | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |