uboza10300 commited on
Commit
0039ea5
·
verified ·
1 Parent(s): a097390

End of training

Browse files
Files changed (1) hide show
  1. README.md +95 -0
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - hatexplain
9
+ metrics:
10
+ - accuracy
11
+ - precision
12
+ - recall
13
+ - f1
14
+ model-index:
15
+ - name: finetuned-gpt2-hatexplainV2
16
+ results:
17
+ - task:
18
+ name: Text Classification
19
+ type: text-classification
20
+ dataset:
21
+ name: hatexplain
22
+ type: hatexplain
23
+ config: plain_text
24
+ split: validation
25
+ args: plain_text
26
+ metrics:
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.6787941787941788
30
+ - name: Precision
31
+ type: precision
32
+ value: 0.6744852177618593
33
+ - name: Recall
34
+ type: recall
35
+ value: 0.6787941787941788
36
+ - name: F1
37
+ type: f1
38
+ value: 0.6752460830597729
39
+ ---
40
+
41
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
42
+ should probably proofread and complete it, then remove this comment. -->
43
+
44
+ # finetuned-gpt2-hatexplainV2
45
+
46
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the hatexplain dataset.
47
+ It achieves the following results on the evaluation set:
48
+ - Loss: 0.8927
49
+ - Accuracy: 0.6788
50
+ - Precision: 0.6745
51
+ - Recall: 0.6788
52
+ - F1: 0.6752
53
+
54
+ ## Model description
55
+
56
+ More information needed
57
+
58
+ ## Intended uses & limitations
59
+
60
+ More information needed
61
+
62
+ ## Training and evaluation data
63
+
64
+ More information needed
65
+
66
+ ## Training procedure
67
+
68
+ ### Training hyperparameters
69
+
70
+ The following hyperparameters were used during training:
71
+ - learning_rate: 3e-05
72
+ - train_batch_size: 16
73
+ - eval_batch_size: 16
74
+ - seed: 42
75
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
76
+ - lr_scheduler_type: linear
77
+ - num_epochs: 5
78
+
79
+ ### Training results
80
+
81
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
82
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
83
+ | 0.7476 | 1.0 | 962 | 0.7423 | 0.6785 | 0.6724 | 0.6785 | 0.6695 |
84
+ | 0.6276 | 2.0 | 1924 | 0.7384 | 0.6878 | 0.6798 | 0.6878 | 0.6815 |
85
+ | 0.5859 | 3.0 | 2886 | 0.7771 | 0.6790 | 0.6774 | 0.6790 | 0.6762 |
86
+ | 0.3921 | 4.0 | 3848 | 0.8746 | 0.6795 | 0.6752 | 0.6795 | 0.6768 |
87
+ | 0.4358 | 5.0 | 4810 | 0.9455 | 0.6769 | 0.6724 | 0.6769 | 0.6739 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.47.0
93
+ - Pytorch 2.5.1+cu118
94
+ - Datasets 3.1.0
95
+ - Tokenizers 0.21.0