YamenRM commited on
Commit
4ec7363
·
verified ·
1 Parent(s): 4966184

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -27
README.md CHANGED
@@ -1,34 +1,39 @@
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
  ---
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}]