Holarissun
commited on
End of training
Browse files- README.md +160 -0
- adapter_config.json +27 -0
- adapter_model.safetensors +3 -0
- merges.txt +0 -0
- special_tokens_map.json +6 -0
- tokenizer.json +0 -0
- tokenizer_config.json +20 -0
- training_args.bin +3 -0
- vocab.json +0 -0
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 |
+
base_model: openai-community/gpt2-large
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: RM-HH-GPT2-4w_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-GPT2-4w_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.4920
|
24 |
+
- Accuracy: 0.7471
|
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.6411 | 0.02 | 250 | 0.6110 | 0.6618 |
|
58 |
+
| 0.5909 | 0.04 | 500 | 0.5606 | 0.6981 |
|
59 |
+
| 0.5266 | 0.06 | 750 | 0.5351 | 0.7134 |
|
60 |
+
| 0.5588 | 0.08 | 1000 | 0.5273 | 0.7154 |
|
61 |
+
| 0.5328 | 0.1 | 1250 | 0.5219 | 0.7194 |
|
62 |
+
| 0.5059 | 0.13 | 1500 | 0.5198 | 0.7252 |
|
63 |
+
| 0.5096 | 0.15 | 1750 | 0.5158 | 0.7264 |
|
64 |
+
| 0.5212 | 0.17 | 2000 | 0.5152 | 0.7209 |
|
65 |
+
| 0.511 | 0.19 | 2250 | 0.5130 | 0.7232 |
|
66 |
+
| 0.5286 | 0.21 | 2500 | 0.5098 | 0.7237 |
|
67 |
+
| 0.5147 | 0.23 | 2750 | 0.5076 | 0.7267 |
|
68 |
+
| 0.4938 | 0.25 | 3000 | 0.5068 | 0.7277 |
|
69 |
+
| 0.5279 | 0.27 | 3250 | 0.5040 | 0.7290 |
|
70 |
+
| 0.5003 | 0.29 | 3500 | 0.5050 | 0.7303 |
|
71 |
+
| 0.5069 | 0.31 | 3750 | 0.5006 | 0.7298 |
|
72 |
+
| 0.4992 | 0.33 | 4000 | 0.4987 | 0.7298 |
|
73 |
+
| 0.4925 | 0.36 | 4250 | 0.4989 | 0.7347 |
|
74 |
+
| 0.4984 | 0.38 | 4500 | 0.4973 | 0.7324 |
|
75 |
+
| 0.4995 | 0.4 | 4750 | 0.4956 | 0.7335 |
|
76 |
+
| 0.5038 | 0.42 | 5000 | 0.4937 | 0.7341 |
|
77 |
+
| 0.4892 | 0.44 | 5250 | 0.4945 | 0.7371 |
|
78 |
+
| 0.5017 | 0.46 | 5500 | 0.4942 | 0.7377 |
|
79 |
+
| 0.5105 | 0.48 | 5750 | 0.4947 | 0.7377 |
|
80 |
+
| 0.4528 | 0.5 | 6000 | 0.4991 | 0.7367 |
|
81 |
+
| 0.5055 | 0.52 | 6250 | 0.4999 | 0.7369 |
|
82 |
+
| 0.492 | 0.54 | 6500 | 0.4954 | 0.7390 |
|
83 |
+
| 0.4632 | 0.57 | 6750 | 0.4991 | 0.7416 |
|
84 |
+
| 0.5061 | 0.59 | 7000 | 0.4926 | 0.7412 |
|
85 |
+
| 0.4707 | 0.61 | 7250 | 0.4964 | 0.7426 |
|
86 |
+
| 0.4728 | 0.63 | 7500 | 0.4948 | 0.7412 |
|
87 |
+
| 0.4914 | 0.65 | 7750 | 0.4880 | 0.7437 |
|
88 |
+
| 0.4754 | 0.67 | 8000 | 0.4859 | 0.7412 |
|
89 |
+
| 0.4875 | 0.69 | 8250 | 0.4924 | 0.7433 |
|
90 |
+
| 0.5225 | 0.71 | 8500 | 0.4854 | 0.7437 |
|
91 |
+
| 0.5135 | 0.73 | 8750 | 0.4853 | 0.7443 |
|
92 |
+
| 0.4589 | 0.75 | 9000 | 0.4921 | 0.7411 |
|
93 |
+
| 0.4751 | 0.77 | 9250 | 0.4913 | 0.7412 |
|
94 |
+
| 0.4848 | 0.8 | 9500 | 0.4858 | 0.7420 |
|
95 |
+
| 0.5003 | 0.82 | 9750 | 0.4837 | 0.7429 |
|
96 |
+
| 0.4636 | 0.84 | 10000 | 0.4894 | 0.7429 |
|
97 |
+
| 0.493 | 0.86 | 10250 | 0.4845 | 0.7446 |
|
98 |
+
| 0.4944 | 0.88 | 10500 | 0.4909 | 0.7424 |
|
99 |
+
| 0.487 | 0.9 | 10750 | 0.4872 | 0.7444 |
|
100 |
+
| 0.488 | 0.92 | 11000 | 0.4901 | 0.7422 |
|
101 |
+
| 0.4622 | 0.94 | 11250 | 0.4863 | 0.7441 |
|
102 |
+
| 0.4909 | 0.96 | 11500 | 0.4816 | 0.7433 |
|
103 |
+
| 0.4626 | 0.98 | 11750 | 0.4910 | 0.7414 |
|
104 |
+
| 0.4911 | 1.0 | 12000 | 0.4913 | 0.7420 |
|
105 |
+
| 0.4674 | 1.03 | 12250 | 0.4961 | 0.7456 |
|
106 |
+
| 0.4748 | 1.05 | 12500 | 0.4967 | 0.7448 |
|
107 |
+
| 0.4693 | 1.07 | 12750 | 0.4975 | 0.7460 |
|
108 |
+
| 0.4943 | 1.09 | 13000 | 0.4950 | 0.7454 |
|
109 |
+
| 0.4912 | 1.11 | 13250 | 0.4958 | 0.7446 |
|
110 |
+
| 0.4845 | 1.13 | 13500 | 0.4977 | 0.7435 |
|
111 |
+
| 0.4906 | 1.15 | 13750 | 0.4983 | 0.7444 |
|
112 |
+
| 0.4785 | 1.17 | 14000 | 0.4969 | 0.7439 |
|
113 |
+
| 0.4546 | 1.19 | 14250 | 0.5068 | 0.7435 |
|
114 |
+
| 0.4625 | 1.21 | 14500 | 0.5018 | 0.7435 |
|
115 |
+
| 0.5086 | 1.23 | 14750 | 0.4996 | 0.7422 |
|
116 |
+
| 0.4574 | 1.26 | 15000 | 0.5048 | 0.7444 |
|
117 |
+
| 0.4655 | 1.28 | 15250 | 0.4930 | 0.7454 |
|
118 |
+
| 0.4796 | 1.3 | 15500 | 0.4938 | 0.7446 |
|
119 |
+
| 0.4924 | 1.32 | 15750 | 0.4830 | 0.7486 |
|
120 |
+
| 0.4952 | 1.34 | 16000 | 0.4910 | 0.7471 |
|
121 |
+
| 0.4298 | 1.36 | 16250 | 0.4939 | 0.7465 |
|
122 |
+
| 0.4324 | 1.38 | 16500 | 0.5072 | 0.7458 |
|
123 |
+
| 0.4831 | 1.4 | 16750 | 0.5112 | 0.7454 |
|
124 |
+
| 0.5154 | 1.42 | 17000 | 0.5019 | 0.7444 |
|
125 |
+
| 0.4629 | 1.44 | 17250 | 0.4982 | 0.7461 |
|
126 |
+
| 0.5071 | 1.46 | 17500 | 0.4917 | 0.7443 |
|
127 |
+
| 0.4668 | 1.49 | 17750 | 0.4976 | 0.7460 |
|
128 |
+
| 0.4871 | 1.51 | 18000 | 0.4884 | 0.7446 |
|
129 |
+
| 0.4843 | 1.53 | 18250 | 0.4884 | 0.7448 |
|
130 |
+
| 0.4896 | 1.55 | 18500 | 0.4822 | 0.7461 |
|
131 |
+
| 0.4483 | 1.57 | 18750 | 0.4855 | 0.7452 |
|
132 |
+
| 0.5002 | 1.59 | 19000 | 0.4836 | 0.7469 |
|
133 |
+
| 0.4795 | 1.61 | 19250 | 0.4819 | 0.7482 |
|
134 |
+
| 0.4611 | 1.63 | 19500 | 0.4821 | 0.7475 |
|
135 |
+
| 0.4657 | 1.65 | 19750 | 0.4832 | 0.7478 |
|
136 |
+
| 0.492 | 1.67 | 20000 | 0.4808 | 0.7471 |
|
137 |
+
| 0.495 | 1.7 | 20250 | 0.4813 | 0.7473 |
|
138 |
+
| 0.467 | 1.72 | 20500 | 0.4838 | 0.7482 |
|
139 |
+
| 0.4541 | 1.74 | 20750 | 0.4863 | 0.7482 |
|
140 |
+
| 0.4823 | 1.76 | 21000 | 0.4887 | 0.7486 |
|
141 |
+
| 0.4216 | 1.78 | 21250 | 0.4929 | 0.7469 |
|
142 |
+
| 0.46 | 1.8 | 21500 | 0.4920 | 0.7469 |
|
143 |
+
| 0.4548 | 1.82 | 21750 | 0.4927 | 0.7471 |
|
144 |
+
| 0.4869 | 1.84 | 22000 | 0.4930 | 0.7473 |
|
145 |
+
| 0.4919 | 1.86 | 22250 | 0.4927 | 0.7467 |
|
146 |
+
| 0.4912 | 1.88 | 22500 | 0.4927 | 0.7461 |
|
147 |
+
| 0.4843 | 1.9 | 22750 | 0.4927 | 0.7471 |
|
148 |
+
| 0.5049 | 1.93 | 23000 | 0.4922 | 0.7458 |
|
149 |
+
| 0.4681 | 1.95 | 23250 | 0.4925 | 0.7463 |
|
150 |
+
| 0.4991 | 1.97 | 23500 | 0.4922 | 0.7467 |
|
151 |
+
| 0.4893 | 1.99 | 23750 | 0.4920 | 0.7471 |
|
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:0a62eed641a3df9f431b8dee468672b57473f8072d6e0447efce93f3a1eea7fb
|
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:877b7de64077860547356360a01fdfe6e5649b79dc25135dc0fbadb4220e58ba
|
3 |
+
size 4984
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|