Update README.md
Browse files
README.md
CHANGED
|
@@ -1,24 +1,34 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
datasets:
|
| 4 |
-
- dair-ai/emotion
|
| 5 |
-
language:
|
| 6 |
-
- en
|
| 7 |
-
metrics:
|
| 8 |
-
- accuracy
|
| 9 |
-
- f1
|
| 10 |
-
- precision
|
| 11 |
-
- recall
|
| 12 |
-
base_model:
|
| 13 |
-
- albert/albert-large-v2
|
| 14 |
-
pipeline_tag: text-classification
|
| 15 |
-
---
|
| 16 |
# Sentiment classification using Albert-large-v2
|
| 17 |
|
| 18 |
### Model Description
|
| 19 |
|
| 20 |
This model is a fine-tuned version of the ALBERT-Large model designed for **emotion sentiment classification**. This model is capable of detecting six different emotional categories in text: **Anger**, **Disgust**, **Fear**, **Happiness**, **Sadness**, and **Surprise**. It achieves high performance on sentiment classification tasks, making it suitable for a variety of real-world applications such as emotion detection, content moderation, and sentiment analysis.
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
## How to Get Started
|
| 23 |
|
| 24 |
Use the code below to get started with the model.
|
|
@@ -64,13 +74,3 @@ print(emotion)
|
|
| 64 |
- Domain-specific Text: The model may not perform well on specialized or highly technical texts.
|
| 65 |
- Languages: The model has been fine-tuned on English-language data and may not generalize well to other languages.
|
| 66 |
- Input Length: The model performs best with shorter text inputs. For longer, more complex texts, performance may vary.
|
| 67 |
-
|
| 68 |
-
## Evaluation
|
| 69 |
-
|
| 70 |
-
| Metric | Value |
|
| 71 |
-
|----------------------------|--------|
|
| 72 |
-
| **Evaluation Loss** | 0.08795 |
|
| 73 |
-
| **Evaluation Accuracy** | 94.31% |
|
| 74 |
-
| **Evaluation F1-Score** | 94.39% |
|
| 75 |
-
| **Evaluation Precision** | 94.99% |
|
| 76 |
-
| **Evaluation Recall** | 94.31% |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- dair-ai/emotion
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- f1
|
| 10 |
+
- precision
|
| 11 |
+
- recall
|
| 12 |
+
base_model:
|
| 13 |
+
- albert/albert-large-v2
|
| 14 |
+
pipeline_tag: text-classification
|
| 15 |
+
---
|
| 16 |
# Sentiment classification using Albert-large-v2
|
| 17 |
|
| 18 |
### Model Description
|
| 19 |
|
| 20 |
This model is a fine-tuned version of the ALBERT-Large model designed for **emotion sentiment classification**. This model is capable of detecting six different emotional categories in text: **Anger**, **Disgust**, **Fear**, **Happiness**, **Sadness**, and **Surprise**. It achieves high performance on sentiment classification tasks, making it suitable for a variety of real-world applications such as emotion detection, content moderation, and sentiment analysis.
|
| 21 |
|
| 22 |
+
## Evaluation
|
| 23 |
+
|
| 24 |
+
| Metric | Value |
|
| 25 |
+
|----------------------------|--------|
|
| 26 |
+
| **Evaluation Loss** | 0.08795 |
|
| 27 |
+
| **Evaluation Accuracy** | 94.31% |
|
| 28 |
+
| **Evaluation F1-Score** | 94.39% |
|
| 29 |
+
| **Evaluation Precision** | 94.99% |
|
| 30 |
+
| **Evaluation Recall** | 94.31% |
|
| 31 |
+
|
| 32 |
## How to Get Started
|
| 33 |
|
| 34 |
Use the code below to get started with the model.
|
|
|
|
| 74 |
- Domain-specific Text: The model may not perform well on specialized or highly technical texts.
|
| 75 |
- Languages: The model has been fine-tuned on English-language data and may not generalize well to other languages.
|
| 76 |
- Input Length: The model performs best with shorter text inputs. For longer, more complex texts, performance may vary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|