Isaac
commited on
Commit
·
8f1b621
1
Parent(s):
2d5ddf5
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- go_emotions
|
7 |
+
metrics:
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: bert-base-goemotions
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: go_emotions
|
18 |
+
type: go_emotions
|
19 |
+
config: simplified
|
20 |
+
split: validation
|
21 |
+
args: simplified
|
22 |
+
metrics:
|
23 |
+
- name: F1
|
24 |
+
type: f1
|
25 |
+
value: 0.5726694586629439
|
26 |
+
- name: Accuracy
|
27 |
+
type: accuracy
|
28 |
+
value: 0.4375230372281607
|
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-base-goemotions
|
35 |
+
|
36 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the go_emotions dataset.
|
37 |
+
It achieves the following results on the evaluation set:
|
38 |
+
- Loss: 0.1539
|
39 |
+
- F1: 0.5727
|
40 |
+
- Roc Auc: 0.7796
|
41 |
+
- Accuracy: 0.4375
|
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: 16
|
62 |
+
- eval_batch_size: 16
|
63 |
+
- seed: 42
|
64 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
+
- lr_scheduler_type: linear
|
66 |
+
- num_epochs: 10
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|
71 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|:--------:|
|
72 |
+
| 0.0833 | 1.0 | 2714 | 0.0876 | 0.5453 | 0.7189 | 0.4243 |
|
73 |
+
| 0.0719 | 2.0 | 5428 | 0.0867 | 0.5586 | 0.7322 | 0.4399 |
|
74 |
+
| 0.0575 | 3.0 | 8142 | 0.0943 | 0.5736 | 0.7523 | 0.4665 |
|
75 |
+
| 0.0411 | 4.0 | 10856 | 0.1064 | 0.5655 | 0.7580 | 0.4574 |
|
76 |
+
| 0.0301 | 5.0 | 13570 | 0.1167 | 0.5622 | 0.7591 | 0.4517 |
|
77 |
+
| 0.0217 | 6.0 | 16284 | 0.1279 | 0.5579 | 0.7648 | 0.4375 |
|
78 |
+
| 0.015 | 7.0 | 18998 | 0.1367 | 0.5663 | 0.7759 | 0.4333 |
|
79 |
+
| 0.0102 | 8.0 | 21712 | 0.1445 | 0.5695 | 0.7793 | 0.4322 |
|
80 |
+
| 0.0077 | 9.0 | 24426 | 0.1491 | 0.5725 | 0.7795 | 0.4366 |
|
81 |
+
| 0.0057 | 10.0 | 27140 | 0.1539 | 0.5727 | 0.7796 | 0.4375 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.26.0
|
87 |
+
- Pytorch 1.13.1+cu116
|
88 |
+
- Datasets 2.9.0
|
89 |
+
- Tokenizers 0.13.2
|