tillschwoerer
commited on
Commit
·
0ac2317
1
Parent(s):
6a7f5b0
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 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-uncased-finetuned-toxic-comments-detection
|
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 |
+
# distilbert-uncased-finetuned-toxic-comments-detection
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.1520
|
23 |
+
- Accuracy: 0.95
|
24 |
+
- Precision: 0.7391
|
25 |
+
- Recall: 0.8095
|
26 |
+
- F1: 0.7727
|
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: 1e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 5
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
57 |
+
| 0.3892 | 1.0 | 50 | 0.2808 | 0.895 | 0.0 | 0.0 | 0.0 |
|
58 |
+
| 0.219 | 2.0 | 100 | 0.1732 | 0.93 | 0.8182 | 0.4286 | 0.5625 |
|
59 |
+
| 0.1313 | 3.0 | 150 | 0.1515 | 0.95 | 0.7391 | 0.8095 | 0.7727 |
|
60 |
+
| 0.0924 | 4.0 | 200 | 0.1520 | 0.95 | 0.7391 | 0.8095 | 0.7727 |
|
61 |
+
| 0.0749 | 5.0 | 250 | 0.1540 | 0.96 | 0.8095 | 0.8095 | 0.8095 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.30.1
|
67 |
+
- Pytorch 2.0.1+cu118
|
68 |
+
- Tokenizers 0.13.3
|