Moreno La Quatra
commited on
Commit
•
269fef0
1
Parent(s):
ac8076a
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: distilbert-base-cased-hate-speech
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# distilbert-base-cased-hate-speech
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.2540
|
18 |
+
- Mae: 1.9725
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 32
|
39 |
+
- eval_batch_size: 32
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 500
|
44 |
+
- num_epochs: 10
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss | Mae |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
51 |
+
| 0.6857 | 1.0 | 3389 | 0.6471 | 1.9725 |
|
52 |
+
| 0.3645 | 2.0 | 6778 | 0.4359 | 1.9725 |
|
53 |
+
| 0.2266 | 3.0 | 10167 | 0.3664 | 1.9725 |
|
54 |
+
| 0.1476 | 4.0 | 13556 | 0.3253 | 1.9725 |
|
55 |
+
| 0.0992 | 5.0 | 16945 | 0.3047 | 1.9725 |
|
56 |
+
| 0.0737 | 6.0 | 20334 | 0.2869 | 1.9725 |
|
57 |
+
| 0.0537 | 7.0 | 23723 | 0.2709 | 1.9725 |
|
58 |
+
| 0.0458 | 8.0 | 27112 | 0.2667 | 1.9725 |
|
59 |
+
| 0.0313 | 9.0 | 30501 | 0.2589 | 1.9725 |
|
60 |
+
| 0.027 | 10.0 | 33890 | 0.2540 | 1.9725 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.22.1
|
66 |
+
- Pytorch 1.11.0+cu113
|
67 |
+
- Datasets 2.0.0
|
68 |
+
- Tokenizers 0.11.6
|