Holarissun commited on
Commit
3b82855
1 Parent(s): c0328ab

End of training

Browse files
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - reward-trainer
7
+ - generated_from_trainer
8
+ metrics:
9
+ - accuracy
10
+ base_model: openai-community/gpt2-large
11
+ model-index:
12
+ - name: RM-HH-GPT2Large_helpful_gpt3_loraR64_40000_gpt2-large_shuffleTrue_extractchosenFalse
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # RM-HH-GPT2Large_helpful_gpt3_loraR64_40000_gpt2-large_shuffleTrue_extractchosenFalse
20
+
21
+ This model is a fine-tuned version of [openai-community/gpt2-large](https://huggingface.co/openai-community/gpt2-large) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4752
24
+ - Accuracy: 0.7446
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 1.41e-05
44
+ - train_batch_size: 1
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - gradient_accumulation_steps: 4
48
+ - total_train_batch_size: 4
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 2.0
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
56
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
57
+ | 0.6556 | 0.02 | 250 | 0.6162 | 0.6465 |
58
+ | 0.5807 | 0.04 | 500 | 0.5552 | 0.6974 |
59
+ | 0.5449 | 0.06 | 750 | 0.5322 | 0.7111 |
60
+ | 0.5024 | 0.08 | 1000 | 0.5223 | 0.7145 |
61
+ | 0.5227 | 0.1 | 1250 | 0.5184 | 0.7147 |
62
+ | 0.52 | 0.13 | 1500 | 0.5156 | 0.7175 |
63
+ | 0.5127 | 0.15 | 1750 | 0.5127 | 0.7143 |
64
+ | 0.4988 | 0.17 | 2000 | 0.5081 | 0.7198 |
65
+ | 0.5129 | 0.19 | 2250 | 0.5051 | 0.7217 |
66
+ | 0.4995 | 0.21 | 2500 | 0.5028 | 0.7254 |
67
+ | 0.508 | 0.23 | 2750 | 0.5009 | 0.7264 |
68
+ | 0.4953 | 0.25 | 3000 | 0.4992 | 0.7277 |
69
+ | 0.5049 | 0.27 | 3250 | 0.4986 | 0.7275 |
70
+ | 0.5042 | 0.29 | 3500 | 0.4974 | 0.7309 |
71
+ | 0.4971 | 0.31 | 3750 | 0.4958 | 0.7286 |
72
+ | 0.4871 | 0.33 | 4000 | 0.4950 | 0.7316 |
73
+ | 0.5001 | 0.36 | 4250 | 0.4938 | 0.7277 |
74
+ | 0.507 | 0.38 | 4500 | 0.4927 | 0.7290 |
75
+ | 0.5242 | 0.4 | 4750 | 0.4889 | 0.7320 |
76
+ | 0.5212 | 0.42 | 5000 | 0.4876 | 0.7350 |
77
+ | 0.4955 | 0.44 | 5250 | 0.4864 | 0.7354 |
78
+ | 0.4809 | 0.46 | 5500 | 0.4884 | 0.7363 |
79
+ | 0.4784 | 0.48 | 5750 | 0.4865 | 0.7326 |
80
+ | 0.4933 | 0.5 | 6000 | 0.4857 | 0.7348 |
81
+ | 0.5008 | 0.52 | 6250 | 0.4827 | 0.7335 |
82
+ | 0.5045 | 0.54 | 6500 | 0.4816 | 0.7358 |
83
+ | 0.4757 | 0.57 | 6750 | 0.4843 | 0.7356 |
84
+ | 0.5055 | 0.59 | 7000 | 0.4819 | 0.7318 |
85
+ | 0.4984 | 0.61 | 7250 | 0.4800 | 0.7362 |
86
+ | 0.5073 | 0.63 | 7500 | 0.4813 | 0.7354 |
87
+ | 0.4512 | 0.65 | 7750 | 0.4836 | 0.7375 |
88
+ | 0.4841 | 0.67 | 8000 | 0.4830 | 0.7380 |
89
+ | 0.4621 | 0.69 | 8250 | 0.4854 | 0.7392 |
90
+ | 0.487 | 0.71 | 8500 | 0.4807 | 0.7388 |
91
+ | 0.474 | 0.73 | 8750 | 0.4814 | 0.7422 |
92
+ | 0.4921 | 0.75 | 9000 | 0.4826 | 0.7412 |
93
+ | 0.4687 | 0.77 | 9250 | 0.4794 | 0.7401 |
94
+ | 0.4793 | 0.8 | 9500 | 0.4780 | 0.7407 |
95
+ | 0.4659 | 0.82 | 9750 | 0.4779 | 0.7399 |
96
+ | 0.4821 | 0.84 | 10000 | 0.4774 | 0.7403 |
97
+ | 0.499 | 0.86 | 10250 | 0.4786 | 0.7416 |
98
+ | 0.5152 | 0.88 | 10500 | 0.4747 | 0.7394 |
99
+ | 0.4566 | 0.9 | 10750 | 0.4764 | 0.7405 |
100
+ | 0.45 | 0.92 | 11000 | 0.4761 | 0.7394 |
101
+ | 0.4726 | 0.94 | 11250 | 0.4794 | 0.7397 |
102
+ | 0.468 | 0.96 | 11500 | 0.4784 | 0.7390 |
103
+ | 0.4951 | 0.98 | 11750 | 0.4744 | 0.7395 |
104
+ | 0.5151 | 1.0 | 12000 | 0.4741 | 0.7382 |
105
+ | 0.4632 | 1.03 | 12250 | 0.4751 | 0.7409 |
106
+ | 0.4746 | 1.05 | 12500 | 0.4742 | 0.7422 |
107
+ | 0.4858 | 1.07 | 12750 | 0.4743 | 0.7424 |
108
+ | 0.482 | 1.09 | 13000 | 0.4751 | 0.7426 |
109
+ | 0.4527 | 1.11 | 13250 | 0.4798 | 0.7431 |
110
+ | 0.4709 | 1.13 | 13500 | 0.4773 | 0.7437 |
111
+ | 0.457 | 1.15 | 13750 | 0.4779 | 0.7426 |
112
+ | 0.4771 | 1.17 | 14000 | 0.4817 | 0.7414 |
113
+ | 0.4755 | 1.19 | 14250 | 0.4792 | 0.7439 |
114
+ | 0.4548 | 1.21 | 14500 | 0.4816 | 0.7446 |
115
+ | 0.4459 | 1.23 | 14750 | 0.4841 | 0.7424 |
116
+ | 0.4699 | 1.26 | 15000 | 0.4798 | 0.7409 |
117
+ | 0.4373 | 1.28 | 15250 | 0.4848 | 0.7392 |
118
+ | 0.4754 | 1.3 | 15500 | 0.4826 | 0.7409 |
119
+ | 0.4806 | 1.32 | 15750 | 0.4792 | 0.7414 |
120
+ | 0.4934 | 1.34 | 16000 | 0.4779 | 0.7431 |
121
+ | 0.4501 | 1.36 | 16250 | 0.4797 | 0.7426 |
122
+ | 0.4654 | 1.38 | 16500 | 0.4769 | 0.7439 |
123
+ | 0.4839 | 1.4 | 16750 | 0.4763 | 0.7446 |
124
+ | 0.4942 | 1.42 | 17000 | 0.4769 | 0.7429 |
125
+ | 0.4391 | 1.44 | 17250 | 0.4810 | 0.7426 |
126
+ | 0.4947 | 1.46 | 17500 | 0.4787 | 0.7422 |
127
+ | 0.4644 | 1.49 | 17750 | 0.4819 | 0.7422 |
128
+ | 0.4945 | 1.51 | 18000 | 0.4775 | 0.7420 |
129
+ | 0.4333 | 1.53 | 18250 | 0.4830 | 0.7418 |
130
+ | 0.4863 | 1.55 | 18500 | 0.4795 | 0.7416 |
131
+ | 0.4843 | 1.57 | 18750 | 0.4777 | 0.7414 |
132
+ | 0.4772 | 1.59 | 19000 | 0.4771 | 0.7427 |
133
+ | 0.4834 | 1.61 | 19250 | 0.4765 | 0.7422 |
134
+ | 0.4673 | 1.63 | 19500 | 0.4758 | 0.7424 |
135
+ | 0.4795 | 1.65 | 19750 | 0.4763 | 0.7424 |
136
+ | 0.4808 | 1.67 | 20000 | 0.4764 | 0.7427 |
137
+ | 0.4593 | 1.7 | 20250 | 0.4772 | 0.7427 |
138
+ | 0.4947 | 1.72 | 20500 | 0.4771 | 0.7431 |
139
+ | 0.4776 | 1.74 | 20750 | 0.4770 | 0.7444 |
140
+ | 0.4841 | 1.76 | 21000 | 0.4764 | 0.7452 |
141
+ | 0.4536 | 1.78 | 21250 | 0.4766 | 0.7441 |
142
+ | 0.4772 | 1.8 | 21500 | 0.4766 | 0.7444 |
143
+ | 0.4668 | 1.82 | 21750 | 0.4766 | 0.7439 |
144
+ | 0.4884 | 1.84 | 22000 | 0.4750 | 0.7444 |
145
+ | 0.498 | 1.86 | 22250 | 0.4745 | 0.7446 |
146
+ | 0.47 | 1.88 | 22500 | 0.4743 | 0.7443 |
147
+ | 0.4524 | 1.9 | 22750 | 0.4752 | 0.7448 |
148
+ | 0.4885 | 1.93 | 23000 | 0.4754 | 0.7441 |
149
+ | 0.4734 | 1.95 | 23250 | 0.4752 | 0.7448 |
150
+ | 0.4882 | 1.97 | 23500 | 0.4753 | 0.7446 |
151
+ | 0.4929 | 1.99 | 23750 | 0.4752 | 0.7446 |
152
+
153
+
154
+ ### Framework versions
155
+
156
+ - PEFT 0.9.0
157
+ - Transformers 4.38.2
158
+ - Pytorch 2.1.2
159
+ - Datasets 2.18.0
160
+ - Tokenizers 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "openai-community/gpt2-large",
5
+ "bias": "none",
6
+ "fan_in_fan_out": true,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 32,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 64,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "c_attn"
23
+ ],
24
+ "task_type": "CAUSAL_LM",
25
+ "use_dora": false,
26
+ "use_rslora": false
27
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2a3833275d7e0a1ff5cb491d561f481f76333d35abe1d095dd5fb0011b51c7
3
+ size 47195336
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "pad_token": "<|endoftext|>",
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce925e408bacc7a9d9d12b26a3e852ebbb6684ee50226e80d9e413dec169b029
3
+ size 5048
vocab.json ADDED
The diff for this file is too large to render. See raw diff