Update README.md
Browse files
README.md
CHANGED
|
@@ -1,34 +1,39 @@
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
tags:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
datasets:
|
| 9 |
-
|
| 10 |
model-index:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
---
|
| 33 |
|
| 34 |
# DistilBERT Emotion Classifier 🎭
|
|
@@ -73,4 +78,4 @@ model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
|
| 73 |
nlp = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
| 74 |
|
| 75 |
print(nlp("I feel so happy and excited today!"))
|
| 76 |
-
# [{'label': 'joy', 'score': 0.98}]
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
tags:
|
| 4 |
+
- emotion-detection
|
| 5 |
+
- text-classification
|
| 6 |
+
- transformers
|
| 7 |
+
- distilbert
|
| 8 |
datasets:
|
| 9 |
+
- nelgiriyewithana/emotions
|
| 10 |
model-index:
|
| 11 |
+
- name: DistilBERT Emotion Classifier
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
type: text-classification
|
| 15 |
+
name: Emotion Detection
|
| 16 |
+
dataset:
|
| 17 |
+
name: Kaggle Emotions Dataset
|
| 18 |
+
type: text
|
| 19 |
+
metrics:
|
| 20 |
+
- name: Accuracy
|
| 21 |
+
type: accuracy
|
| 22 |
+
value: 0.94
|
| 23 |
+
- name: F1
|
| 24 |
+
type: f1
|
| 25 |
+
value: 0.94
|
| 26 |
+
- name: Precision
|
| 27 |
+
type: precision
|
| 28 |
+
value: 0.94
|
| 29 |
+
- name: Recall
|
| 30 |
+
type: recall
|
| 31 |
+
value: 0.94
|
| 32 |
+
license: apache-2.0
|
| 33 |
+
metrics:
|
| 34 |
+
- accuracy
|
| 35 |
+
- recall
|
| 36 |
+
- precision
|
| 37 |
---
|
| 38 |
|
| 39 |
# DistilBERT Emotion Classifier 🎭
|
|
|
|
| 78 |
nlp = pipeline("text-classification", model=model, tokenizer=tokenizer)
|
| 79 |
|
| 80 |
print(nlp("I feel so happy and excited today!"))
|
| 81 |
+
# [{'label': 'joy', 'score': 0.98}]
|