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-7
|
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-7
|
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.8210
|
20 |
+
- Accuracy: 0.6305
|
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.0989 | 1.0 | 19 | 1.0655 | 0.4 |
|
53 |
+
| 1.0102 | 2.0 | 38 | 0.9927 | 0.6 |
|
54 |
+
| 0.8063 | 3.0 | 57 | 0.9117 | 0.5 |
|
55 |
+
| 0.5284 | 4.0 | 76 | 0.8058 | 0.55 |
|
56 |
+
| 0.2447 | 5.0 | 95 | 0.8393 | 0.45 |
|
57 |
+
| 0.098 | 6.0 | 114 | 0.8438 | 0.6 |
|
58 |
+
| 0.0388 | 7.0 | 133 | 1.1901 | 0.45 |
|
59 |
+
| 0.0188 | 8.0 | 152 | 1.4429 | 0.45 |
|
60 |
+
| 0.0121 | 9.0 | 171 | 1.3648 | 0.4 |
|
61 |
+
| 0.0082 | 10.0 | 190 | 1.4768 | 0.4 |
|
62 |
+
| 0.0066 | 11.0 | 209 | 1.4830 | 0.45 |
|
63 |
+
| 0.0057 | 12.0 | 228 | 1.4936 | 0.45 |
|
64 |
+
| 0.0053 | 13.0 | 247 | 1.5649 | 0.4 |
|
65 |
+
| 0.0041 | 14.0 | 266 | 1.6306 | 0.4 |
|
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
|