ytsaig commited on
Commit
5b8dd22
·
1 Parent(s): fc26df7

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: distilroberta-offensive
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
+ # distilroberta-offensive
14
+
15
+ This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.4526
18
+ - Acc: 0.8975
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: 12345
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 16
44
+ - num_epochs: 20
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Acc |
50
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
51
+ | 0.2321 | 1.0 | 1030 | 0.2404 | 0.9044 |
52
+ | 0.2539 | 2.0 | 2060 | 0.2139 | 0.9098 |
53
+ | 0.1997 | 3.0 | 3090 | 0.2561 | 0.9090 |
54
+ | 0.1663 | 4.0 | 4120 | 0.2409 | 0.9030 |
55
+ | 0.1515 | 5.0 | 5150 | 0.3000 | 0.9055 |
56
+ | 0.1035 | 6.0 | 6180 | 0.4170 | 0.9027 |
57
+ | 0.0466 | 7.0 | 7210 | 0.4526 | 0.8975 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.11.3
63
+ - Pytorch 1.10.1
64
+ - Datasets 1.17.0
65
+ - Tokenizers 0.10.3