update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: roberta-hateful-meme
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# roberta-hateful-meme
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 2.4643
|
23 |
+
- Accuracy: 0.631
|
24 |
+
- Precision: 0.6057
|
25 |
+
- Recall: 0.6081
|
26 |
+
- F1: 0.6066
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 5e-05
|
46 |
+
- train_batch_size: 32
|
47 |
+
- eval_batch_size: 32
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 30
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
57 |
+
| No log | 1.0 | 282 | 0.5978 | 0.696 | 0.6714 | 0.6698 | 0.6705 |
|
58 |
+
| 0.5742 | 2.0 | 564 | 0.6133 | 0.696 | 0.6691 | 0.6558 | 0.6599 |
|
59 |
+
| 0.5742 | 3.0 | 846 | 0.6326 | 0.694 | 0.6681 | 0.6385 | 0.6430 |
|
60 |
+
| 0.4682 | 4.0 | 1128 | 0.7503 | 0.662 | 0.6473 | 0.6564 | 0.6482 |
|
61 |
+
| 0.4682 | 5.0 | 1410 | 0.8875 | 0.687 | 0.6805 | 0.6004 | 0.5918 |
|
62 |
+
| 0.3907 | 6.0 | 1692 | 0.8072 | 0.651 | 0.6393 | 0.6489 | 0.6389 |
|
63 |
+
| 0.3907 | 7.0 | 1974 | 1.0383 | 0.639 | 0.6205 | 0.6266 | 0.6215 |
|
64 |
+
| 0.3445 | 8.0 | 2256 | 1.0678 | 0.643 | 0.6212 | 0.6257 | 0.6225 |
|
65 |
+
| 0.2996 | 9.0 | 2538 | 1.1221 | 0.649 | 0.6131 | 0.6025 | 0.6046 |
|
66 |
+
| 0.2996 | 10.0 | 2820 | 1.3531 | 0.646 | 0.6315 | 0.6397 | 0.6319 |
|
67 |
+
| 0.2749 | 11.0 | 3102 | 1.1258 | 0.655 | 0.6186 | 0.6031 | 0.6053 |
|
68 |
+
| 0.2749 | 12.0 | 3384 | 1.3594 | 0.641 | 0.6149 | 0.6166 | 0.6156 |
|
69 |
+
| 0.2635 | 13.0 | 3666 | 1.6264 | 0.637 | 0.5983 | 0.5884 | 0.5899 |
|
70 |
+
| 0.2635 | 14.0 | 3948 | 1.7278 | 0.636 | 0.6101 | 0.6120 | 0.6109 |
|
71 |
+
| 0.2382 | 15.0 | 4230 | 1.5670 | 0.635 | 0.6125 | 0.6165 | 0.6137 |
|
72 |
+
| 0.2387 | 16.0 | 4512 | 1.6334 | 0.63 | 0.6098 | 0.6149 | 0.6108 |
|
73 |
+
| 0.2387 | 17.0 | 4794 | 1.8990 | 0.632 | 0.5963 | 0.5908 | 0.5923 |
|
74 |
+
| 0.2214 | 18.0 | 5076 | 1.5244 | 0.644 | 0.6116 | 0.6073 | 0.6088 |
|
75 |
+
| 0.2214 | 19.0 | 5358 | 1.7948 | 0.639 | 0.6017 | 0.5928 | 0.5946 |
|
76 |
+
| 0.2138 | 20.0 | 5640 | 1.7595 | 0.638 | 0.6040 | 0.5991 | 0.6006 |
|
77 |
+
| 0.2138 | 21.0 | 5922 | 1.9552 | 0.633 | 0.6086 | 0.6114 | 0.6096 |
|
78 |
+
| 0.2038 | 22.0 | 6204 | 1.9481 | 0.636 | 0.6160 | 0.6214 | 0.6171 |
|
79 |
+
| 0.2038 | 23.0 | 6486 | 1.7951 | 0.648 | 0.6216 | 0.6227 | 0.6221 |
|
80 |
+
| 0.2003 | 24.0 | 6768 | 2.0499 | 0.636 | 0.6042 | 0.6016 | 0.6026 |
|
81 |
+
| 0.188 | 25.0 | 7050 | 2.3175 | 0.64 | 0.6147 | 0.6169 | 0.6156 |
|
82 |
+
| 0.188 | 26.0 | 7332 | 2.3284 | 0.634 | 0.6109 | 0.6145 | 0.6120 |
|
83 |
+
| 0.1838 | 27.0 | 7614 | 2.4239 | 0.634 | 0.6049 | 0.6046 | 0.6048 |
|
84 |
+
| 0.1838 | 28.0 | 7896 | 2.4116 | 0.639 | 0.6118 | 0.6127 | 0.6122 |
|
85 |
+
| 0.177 | 29.0 | 8178 | 2.4789 | 0.63 | 0.6052 | 0.6079 | 0.6062 |
|
86 |
+
| 0.177 | 30.0 | 8460 | 2.4643 | 0.631 | 0.6057 | 0.6081 | 0.6066 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.30.2
|
92 |
+
- Pytorch 1.13.1+cu117
|
93 |
+
- Datasets 2.13.2
|
94 |
+
- Tokenizers 0.11.0
|