uboza10300 commited on
Commit
16308ad
·
verified ·
1 Parent(s): b695e99

End of training

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
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-lora-hatexplain
16
+ results: []
17
+ ---
18
+
19
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
+ should probably proofread and complete it, then remove this comment. -->
21
+
22
+ # finetuned-gpt2-lora-hatexplain
23
+
24
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the hatexplain dataset.
25
+ It achieves the following results on the evaluation set:
26
+ - Loss: 0.7613
27
+ - Accuracy: 0.6840
28
+ - Precision: 0.6769
29
+ - Recall: 0.6840
30
+ - F1: 0.6782
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 0.0005
50
+ - train_batch_size: 8
51
+ - eval_batch_size: 8
52
+ - seed: 42
53
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
54
+ - lr_scheduler_type: linear
55
+ - num_epochs: 4
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
60
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
61
+ | 0.698 | 1.0 | 1923 | 0.7705 | 0.6608 | 0.6516 | 0.6608 | 0.6462 |
62
+ | 0.8176 | 2.0 | 3846 | 0.7565 | 0.6707 | 0.6614 | 0.6707 | 0.6575 |
63
+ | 0.8348 | 3.0 | 5769 | 0.7628 | 0.6774 | 0.6874 | 0.6774 | 0.6785 |
64
+ | 0.5882 | 4.0 | 7692 | 0.8069 | 0.6790 | 0.6754 | 0.6790 | 0.6765 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - PEFT 0.14.0
70
+ - Transformers 4.47.0
71
+ - Pytorch 2.5.1+cu118
72
+ - Datasets 3.1.0
73
+ - Tokenizers 0.21.0