Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: text-classification
|
| 6 |
+
tags:
|
| 7 |
+
- emotional-intelligence
|
| 8 |
+
- sentiment-analysis
|
| 9 |
+
- workplace-emotions
|
| 10 |
+
- distilbert
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# EQ Detection Model
|
| 14 |
+
|
| 15 |
+
A fine-tuned **DistilBERT** model for detecting emotional intelligence levels in workplace-focused text data.
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## Model Description
|
| 20 |
+
|
| 21 |
+
- **Task:** Text Classification
|
| 22 |
+
- **Model Type:** Emotional Intelligence (EQ) Detection
|
| 23 |
+
- **Base Model:** distilbert-base-uncased
|
| 24 |
+
- **Language:** English
|
| 25 |
+
- **Output Classes:** 3 (NEGATIVE / NEUTRAL / POSITIVE)
|
| 26 |
+
- **Training Dataset Size:** 2,796 workplace communication samples
|
| 27 |
+
|
| 28 |
+
The model is designed to evaluate emotional regulation, tone, and behavioral intelligence in professional communication.
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## Label Schema
|
| 33 |
+
|
| 34 |
+
| Label | ID | Description |
|
| 35 |
+
|------|----|-------------|
|
| 36 |
+
| NEGATIVE | 0 | Poor emotional regulation, negative or aggressive expressions |
|
| 37 |
+
| NEUTRAL | 1 | Emotionally neutral or factual statements |
|
| 38 |
+
| POSITIVE | 2 | High emotional intelligence and constructive emotional behavior |
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Training Performance
|
| 43 |
+
|
| 44 |
+
| Epoch | Training Loss | Validation Loss | Accuracy |
|
| 45 |
+
|------:|---------------|-----------------|----------|
|
| 46 |
+
| 1 | 0.188500 | 0.147850 | 94.89% |
|
| 47 |
+
| 2 | 0.055100 | 0.120229 | 96.39% |
|
| 48 |
+
|
| 49 |
+
**Final Validation Accuracy:** **96.39%**
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Training Configuration
|
| 54 |
+
|
| 55 |
+
- **Framework:** Hugging Face Transformers
|
| 56 |
+
- **Optimizer:** AdamW
|
| 57 |
+
- **Batch Size:** 16
|
| 58 |
+
- **Learning Rate:** 2e-5
|
| 59 |
+
- **Epochs:** 2
|
| 60 |
+
- **Max Sequence Length:** 128 tokens
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## Intended Use
|
| 65 |
+
|
| 66 |
+
This model is intended for:
|
| 67 |
+
|
| 68 |
+
- Workplace communication analysis
|
| 69 |
+
- Emotional intelligence assessment
|
| 70 |
+
- HR analytics and employee development
|
| 71 |
+
- Team interaction and behavioral insights
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
## How to Use
|
| 76 |
+
|
| 77 |
+
### Load the Model
|
| 78 |
+
```python
|
| 79 |
+
from transformers import pipeline
|
| 80 |
+
|
| 81 |
+
classifier = pipeline(
|
| 82 |
+
"text-classification",
|
| 83 |
+
model="sreenathsree1578/Eq_funetuned"
|
| 84 |
+
)
|