update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- tweet_eval
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
model-index:
|
11 |
+
- name: bert-emotion
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: tweet_eval
|
18 |
+
type: tweet_eval
|
19 |
+
config: emotion
|
20 |
+
split: validation
|
21 |
+
args: emotion
|
22 |
+
metrics:
|
23 |
+
- name: Precision
|
24 |
+
type: precision
|
25 |
+
value: 0.7505623807659564
|
26 |
+
- name: Recall
|
27 |
+
type: recall
|
28 |
+
value: 0.7243031825553111
|
29 |
+
---
|
30 |
+
|
31 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
32 |
+
should probably proofread and complete it, then remove this comment. -->
|
33 |
+
|
34 |
+
# bert-emotion
|
35 |
+
|
36 |
+
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on the tweet_eval dataset.
|
37 |
+
It achieves the following results on the evaluation set:
|
38 |
+
- Loss: 1.1413
|
39 |
+
- Precision: 0.7506
|
40 |
+
- Recall: 0.7243
|
41 |
+
- Fscore: 0.7340
|
42 |
+
|
43 |
+
## Model description
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Intended uses & limitations
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training and evaluation data
|
52 |
+
|
53 |
+
More information needed
|
54 |
+
|
55 |
+
## Training procedure
|
56 |
+
|
57 |
+
### Training hyperparameters
|
58 |
+
|
59 |
+
The following hyperparameters were used during training:
|
60 |
+
- learning_rate: 5e-05
|
61 |
+
- train_batch_size: 4
|
62 |
+
- eval_batch_size: 4
|
63 |
+
- seed: 42
|
64 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
+
- lr_scheduler_type: linear
|
66 |
+
- num_epochs: 3
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Fscore |
|
71 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
|
72 |
+
| 0.8556 | 1.0 | 815 | 0.7854 | 0.7461 | 0.5929 | 0.6088 |
|
73 |
+
| 0.5369 | 2.0 | 1630 | 0.9014 | 0.7549 | 0.7278 | 0.7359 |
|
74 |
+
| 0.2571 | 3.0 | 2445 | 1.1413 | 0.7506 | 0.7243 | 0.7340 |
|
75 |
+
|
76 |
+
|
77 |
+
### Framework versions
|
78 |
+
|
79 |
+
- Transformers 4.29.2
|
80 |
+
- Pytorch 2.0.1+cu118
|
81 |
+
- Datasets 2.12.0
|
82 |
+
- Tokenizers 0.13.3
|