Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,43 @@ short_description: Code Feel
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
# GitHub Comment Emotion Detector
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
## Overview
|
| 19 |
+
**GitHub Comment Emotion Detector** is an interactive web application that detects the emotional tone of GitHub comments. Using a fine-tuned transformer model trained on the [GitHub Emotion Love dataset](https://huggingface.co/datasets/imranraad/github-emotion-love), it predicts six emotions:
|
| 20 |
+
|
| 21 |
+
- Anger
|
| 22 |
+
- Love
|
| 23 |
+
- Fear
|
| 24 |
+
- Joy
|
| 25 |
+
- Sadness
|
| 26 |
+
- Surprise
|
| 27 |
+
|
| 28 |
+
This tool is designed to help developers and community managers understand the emotional context of discussions in GitHub repositories.
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## Features
|
| 33 |
+
- **Multi-label Emotion Detection**: Detects multiple emotions in a single comment.
|
| 34 |
+
- **Interactive Web Interface**: Enter a comment and get real-time predictions.
|
| 35 |
+
- **Easy Integration**: Can be extended to analyze batches of comments or integrated into GitHub tools.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## Demo
|
| 40 |
+
Enter a GitHub comment in the text box and click **Submit** to see predicted emotions and their confidence scores.
|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## Installation (Optional for Local Use)
|
| 47 |
+
To run locally, clone the repo and install dependencies:
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
git clone https://huggingface.co/spaces/<your-space-name>
|
| 51 |
+
cd <your-space-name>
|
| 52 |
+
pip install -r requirements.txt
|
| 53 |
+
python app.py
|