Holarissun
commited on
End of training
Browse files- README.md +112 -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,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-AllMix_helpful_gpt3_loraR64_20000_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-AllMix_helpful_gpt3_loraR64_20000_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.4894
|
24 |
+
- Accuracy: 0.7351
|
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.6628 | 0.04 | 250 | 0.6390 | 0.6277 |
|
58 |
+
| 0.598 | 0.08 | 500 | 0.5673 | 0.6933 |
|
59 |
+
| 0.5479 | 0.13 | 750 | 0.5415 | 0.7076 |
|
60 |
+
| 0.5397 | 0.17 | 1000 | 0.5308 | 0.7110 |
|
61 |
+
| 0.5094 | 0.21 | 1250 | 0.5261 | 0.7159 |
|
62 |
+
| 0.5142 | 0.25 | 1500 | 0.5203 | 0.7193 |
|
63 |
+
| 0.5414 | 0.29 | 1750 | 0.5161 | 0.7197 |
|
64 |
+
| 0.5189 | 0.33 | 2000 | 0.5131 | 0.7189 |
|
65 |
+
| 0.5151 | 0.38 | 2250 | 0.5100 | 0.7216 |
|
66 |
+
| 0.4942 | 0.42 | 2500 | 0.5089 | 0.7208 |
|
67 |
+
| 0.5067 | 0.46 | 2750 | 0.5057 | 0.7216 |
|
68 |
+
| 0.5026 | 0.5 | 3000 | 0.5041 | 0.7238 |
|
69 |
+
| 0.4926 | 0.54 | 3250 | 0.5038 | 0.7265 |
|
70 |
+
| 0.4931 | 0.59 | 3500 | 0.5022 | 0.7310 |
|
71 |
+
| 0.4946 | 0.63 | 3750 | 0.4993 | 0.7329 |
|
72 |
+
| 0.5058 | 0.67 | 4000 | 0.4968 | 0.7313 |
|
73 |
+
| 0.4822 | 0.71 | 4250 | 0.4963 | 0.7306 |
|
74 |
+
| 0.4924 | 0.75 | 4500 | 0.4961 | 0.7329 |
|
75 |
+
| 0.4654 | 0.8 | 4750 | 0.4959 | 0.7302 |
|
76 |
+
| 0.4924 | 0.84 | 5000 | 0.4971 | 0.7310 |
|
77 |
+
| 0.4674 | 0.88 | 5250 | 0.4948 | 0.7310 |
|
78 |
+
| 0.4704 | 0.92 | 5500 | 0.4950 | 0.7336 |
|
79 |
+
| 0.5089 | 0.96 | 5750 | 0.4905 | 0.7306 |
|
80 |
+
| 0.4673 | 1.0 | 6000 | 0.4929 | 0.7313 |
|
81 |
+
| 0.4594 | 1.05 | 6250 | 0.4932 | 0.7291 |
|
82 |
+
| 0.479 | 1.09 | 6500 | 0.4919 | 0.7332 |
|
83 |
+
| 0.5112 | 1.13 | 6750 | 0.4895 | 0.7355 |
|
84 |
+
| 0.4794 | 1.17 | 7000 | 0.4888 | 0.7332 |
|
85 |
+
| 0.5188 | 1.21 | 7250 | 0.4881 | 0.7340 |
|
86 |
+
| 0.4541 | 1.26 | 7500 | 0.4892 | 0.7359 |
|
87 |
+
| 0.4617 | 1.3 | 7750 | 0.4898 | 0.7366 |
|
88 |
+
| 0.4747 | 1.34 | 8000 | 0.4898 | 0.7362 |
|
89 |
+
| 0.4834 | 1.38 | 8250 | 0.4893 | 0.7389 |
|
90 |
+
| 0.4954 | 1.42 | 8500 | 0.4875 | 0.7385 |
|
91 |
+
| 0.5029 | 1.47 | 8750 | 0.4875 | 0.7385 |
|
92 |
+
| 0.4742 | 1.51 | 9000 | 0.4872 | 0.7400 |
|
93 |
+
| 0.4802 | 1.55 | 9250 | 0.4884 | 0.7393 |
|
94 |
+
| 0.5009 | 1.59 | 9500 | 0.4877 | 0.7400 |
|
95 |
+
| 0.4619 | 1.63 | 9750 | 0.4875 | 0.7396 |
|
96 |
+
| 0.4433 | 1.67 | 10000 | 0.4902 | 0.7404 |
|
97 |
+
| 0.4844 | 1.72 | 10250 | 0.4903 | 0.7400 |
|
98 |
+
| 0.4337 | 1.76 | 10500 | 0.4917 | 0.7400 |
|
99 |
+
| 0.4897 | 1.8 | 10750 | 0.4901 | 0.7396 |
|
100 |
+
| 0.4783 | 1.84 | 11000 | 0.4894 | 0.7366 |
|
101 |
+
| 0.4929 | 1.88 | 11250 | 0.4892 | 0.7359 |
|
102 |
+
| 0.4776 | 1.93 | 11500 | 0.4891 | 0.7362 |
|
103 |
+
| 0.4574 | 1.97 | 11750 | 0.4894 | 0.7351 |
|
104 |
+
|
105 |
+
|
106 |
+
### Framework versions
|
107 |
+
|
108 |
+
- PEFT 0.9.0
|
109 |
+
- Transformers 4.38.2
|
110 |
+
- Pytorch 2.1.2
|
111 |
+
- Datasets 2.18.0
|
112 |
+
- 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:dde31911cd0f4e6d29c048624639a3d87c182a3c174b2504b1278d3e9003a3a8
|
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:2a0e97a7d0ebb8b86787e77c64af1fb4e98545e04e4ff4e08a7e1963dd61ce5b
|
3 |
+
size 4984
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|