Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Introduction:
|
| 2 |
+
This model belongs to text-classification. You can check whether the sentence consists any emotion.
|
| 3 |
+
### Label Explaination:
|
| 4 |
+
LABEL_1: Positive (have positive emotion)
|
| 5 |
+
|
| 6 |
+
LABEL_0: Negative (have negative emotion)
|
| 7 |
+
### Usage:
|
| 8 |
+
```python
|
| 9 |
+
>>> from transformers import pipeline
|
| 10 |
+
>>> ec = pipeline('sentiment-analysis', model='emotion_classifer')
|
| 11 |
+
>>> ec("Hello, I'm a good model.")
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
### Accuracy:
|
| 15 |
+
We reach 93.98% for validation dataset, and 91.92% for test dataset.
|