update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: distilbert-base-uncased__hate_speech_offensive__train-32-9
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# distilbert-base-uncased__hate_speech_offensive__train-32-9
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.7075
|
20 |
+
- Accuracy: 0.692
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 2e-05
|
40 |
+
- train_batch_size: 4
|
41 |
+
- eval_batch_size: 4
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 50
|
46 |
+
- mixed_precision_training: Native AMP
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 1.1054 | 1.0 | 19 | 1.0938 | 0.35 |
|
53 |
+
| 1.0338 | 2.0 | 38 | 1.0563 | 0.65 |
|
54 |
+
| 0.8622 | 3.0 | 57 | 0.9372 | 0.6 |
|
55 |
+
| 0.5919 | 4.0 | 76 | 0.8461 | 0.6 |
|
56 |
+
| 0.3357 | 5.0 | 95 | 1.0206 | 0.45 |
|
57 |
+
| 0.1621 | 6.0 | 114 | 0.9802 | 0.7 |
|
58 |
+
| 0.0637 | 7.0 | 133 | 1.2434 | 0.65 |
|
59 |
+
| 0.0261 | 8.0 | 152 | 1.3865 | 0.65 |
|
60 |
+
| 0.0156 | 9.0 | 171 | 1.4414 | 0.7 |
|
61 |
+
| 0.01 | 10.0 | 190 | 1.5502 | 0.7 |
|
62 |
+
| 0.0079 | 11.0 | 209 | 1.6102 | 0.7 |
|
63 |
+
| 0.0062 | 12.0 | 228 | 1.6525 | 0.7 |
|
64 |
+
| 0.0058 | 13.0 | 247 | 1.6884 | 0.7 |
|
65 |
+
| 0.0046 | 14.0 | 266 | 1.7479 | 0.7 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.15.0
|
71 |
+
- Pytorch 1.10.2+cu102
|
72 |
+
- Datasets 1.18.2
|
73 |
+
- Tokenizers 0.10.3
|