raavip commited on
Commit
e7b96a0
·
1 Parent(s): 3203952

Model save

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2-medium
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: gpt2-toxic-comment-classifier
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
+ # gpt2-toxic-comment-classifier
19
+
20
+ This model is a fine-tuned version of [gpt2-medium](https://huggingface.co/gpt2-medium) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.0519
23
+ - F1: 0.7212
24
+ - Roc Auc: 0.8428
25
+ - Accuracy: 0.9256
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 2e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 2
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:-------:|:--------:|
57
+ | 0.142 | 1.0 | 625 | 0.0559 | 0.6984 | 0.8078 | 0.9248 |
58
+ | 0.049 | 2.0 | 1250 | 0.0519 | 0.7212 | 0.8428 | 0.9256 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.55.4
64
+ - Pytorch 2.8.0+cu128
65
+ - Datasets 4.0.0
66
+ - Tokenizers 0.21.4