wangrongsheng commited on
Commit
70e6f33
·
1 Parent(s): 7f3acae

add weights

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +20 -0
  2. adapter_config.json +21 -0
  3. adapter_model.bin +3 -0
  4. all_results.json +7 -0
  5. checkpoint-100/README.md +20 -0
  6. checkpoint-100/adapter_config.json +21 -0
  7. checkpoint-100/adapter_model.bin +3 -0
  8. checkpoint-100/finetuning_args.json +16 -0
  9. checkpoint-100/optimizer.pt +3 -0
  10. checkpoint-100/rng_state_0.pth +3 -0
  11. checkpoint-100/rng_state_1.pth +3 -0
  12. checkpoint-100/rng_state_2.pth +3 -0
  13. checkpoint-100/rng_state_3.pth +3 -0
  14. checkpoint-100/scheduler.pt +3 -0
  15. checkpoint-100/trainer_state.json +76 -0
  16. checkpoint-100/training_args.bin +3 -0
  17. checkpoint-200/README.md +20 -0
  18. checkpoint-200/adapter_config.json +21 -0
  19. checkpoint-200/adapter_model.bin +3 -0
  20. checkpoint-200/finetuning_args.json +16 -0
  21. checkpoint-200/optimizer.pt +3 -0
  22. checkpoint-200/rng_state_0.pth +3 -0
  23. checkpoint-200/rng_state_1.pth +3 -0
  24. checkpoint-200/rng_state_2.pth +3 -0
  25. checkpoint-200/rng_state_3.pth +3 -0
  26. checkpoint-200/scheduler.pt +3 -0
  27. checkpoint-200/trainer_state.json +136 -0
  28. checkpoint-200/training_args.bin +3 -0
  29. checkpoint-300/README.md +20 -0
  30. checkpoint-300/adapter_config.json +21 -0
  31. checkpoint-300/adapter_model.bin +3 -0
  32. checkpoint-300/finetuning_args.json +16 -0
  33. checkpoint-300/optimizer.pt +3 -0
  34. checkpoint-300/rng_state_0.pth +3 -0
  35. checkpoint-300/rng_state_1.pth +3 -0
  36. checkpoint-300/rng_state_2.pth +3 -0
  37. checkpoint-300/rng_state_3.pth +3 -0
  38. checkpoint-300/scheduler.pt +3 -0
  39. checkpoint-300/trainer_state.json +196 -0
  40. checkpoint-300/training_args.bin +3 -0
  41. checkpoint-400/README.md +20 -0
  42. checkpoint-400/adapter_config.json +21 -0
  43. checkpoint-400/adapter_model.bin +3 -0
  44. checkpoint-400/finetuning_args.json +16 -0
  45. checkpoint-400/optimizer.pt +3 -0
  46. checkpoint-400/rng_state_0.pth +3 -0
  47. checkpoint-400/rng_state_1.pth +3 -0
  48. checkpoint-400/rng_state_2.pth +3 -0
  49. checkpoint-400/rng_state_3.pth +3 -0
  50. checkpoint-400/scheduler.pt +3 -0
README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - load_in_8bit: False
9
+ - load_in_4bit: True
10
+ - llm_int8_threshold: 6.0
11
+ - llm_int8_skip_modules: None
12
+ - llm_int8_enable_fp32_cpu_offload: False
13
+ - llm_int8_has_fp16_weight: False
14
+ - bnb_4bit_quant_type: nf4
15
+ - bnb_4bit_use_double_quant: True
16
+ - bnb_4bit_compute_dtype: float16
17
+ ### Framework versions
18
+
19
+
20
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./Llama-2-7b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2caaad197530a3965a22162a1a4f134ea47bedb0764e975de78c12c02243c5bb
3
+ size 16821197
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 0.09018798397804953,
4
+ "train_runtime": 3518.059,
5
+ "train_samples_per_second": 17.302,
6
+ "train_steps_per_second": 0.135
7
+ }
checkpoint-100/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - load_in_8bit: False
9
+ - load_in_4bit: True
10
+ - llm_int8_threshold: 6.0
11
+ - llm_int8_skip_modules: None
12
+ - llm_int8_enable_fp32_cpu_offload: False
13
+ - llm_int8_has_fp16_weight: False
14
+ - bnb_4bit_quant_type: nf4
15
+ - bnb_4bit_use_double_quant: True
16
+ - bnb_4bit_compute_dtype: float16
17
+ ### Framework versions
18
+
19
+
20
+ - PEFT 0.4.0
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./Llama-2-7b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-100/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fda278e5ace76c536aa3bf1c85fe37dee7c1f6ac6d8437aa7124a5892bd0b5dc
3
+ size 16821197
checkpoint-100/finetuning_args.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dpo_beta": 0.1,
3
+ "finetuning_type": "lora",
4
+ "lora_alpha": 32.0,
5
+ "lora_dropout": 0.1,
6
+ "lora_rank": 8,
7
+ "lora_target": [
8
+ "q_proj",
9
+ "v_proj"
10
+ ],
11
+ "name_module_trainable": "mlp",
12
+ "num_hidden_layers": 32,
13
+ "num_layer_trainable": 3,
14
+ "ppo_score_norm": false,
15
+ "resume_lora_training": true
16
+ }
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d29bf607d1e1afe671d6ca5da3455e86cdf11d536eef4799cbf210d6b1ba39e3
3
+ size 33661637
checkpoint-100/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f05af7fd19119f832a74957287aac384167fca8c622934e8187e2f1b6ccab763
3
+ size 18679
checkpoint-100/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69e7a3cfb6182f86fd8c287f157dbf17a51e3d41ef4900a9c1d16683de988a06
3
+ size 18679
checkpoint-100/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f739cfd665b8f02ff81eac08273474054f733be834d9f5ad06c198f35c200180
3
+ size 18679
checkpoint-100/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85947e197d907567a060baad9da4201ccb50033e71315bdad2473b6c8a9cdd46
3
+ size 18679
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45fc3d581e094b837788a14789aed7dda2dc957371e27a9e11c540ba1d15ff44
3
+ size 627
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.21019442984760903,
5
+ "global_step": 100,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.02,
12
+ "learning_rate": 4.994534068046937e-05,
13
+ "loss": 2.0664,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.04,
18
+ "learning_rate": 4.978160173317438e-05,
19
+ "loss": 1.2851,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.06,
24
+ "learning_rate": 4.9509499146870236e-05,
25
+ "loss": 0.6483,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.08,
30
+ "learning_rate": 4.913022275693372e-05,
31
+ "loss": 0.2406,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.11,
36
+ "learning_rate": 4.864543104251587e-05,
37
+ "loss": 0.0239,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 0.13,
42
+ "learning_rate": 4.805724387443462e-05,
43
+ "loss": 0.0034,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 0.15,
48
+ "learning_rate": 4.736823324551909e-05,
49
+ "loss": 0.0016,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 0.17,
54
+ "learning_rate": 4.6581412023939354e-05,
55
+ "loss": 0.001,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 0.19,
60
+ "learning_rate": 4.5700220778700504e-05,
61
+ "loss": 0.0008,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 0.21,
66
+ "learning_rate": 4.4728512734909844e-05,
67
+ "loss": 0.0007,
68
+ "step": 100
69
+ }
70
+ ],
71
+ "max_steps": 475,
72
+ "num_train_epochs": 1,
73
+ "total_flos": 1.437155155991593e+17,
74
+ "trial_name": null,
75
+ "trial_params": null
76
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe4d4776971676826edc330ee61437e7a54bfe686c560913bd8069abb82f5e49
3
+ size 3233
checkpoint-200/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - load_in_8bit: False
9
+ - load_in_4bit: True
10
+ - llm_int8_threshold: 6.0
11
+ - llm_int8_skip_modules: None
12
+ - llm_int8_enable_fp32_cpu_offload: False
13
+ - llm_int8_has_fp16_weight: False
14
+ - bnb_4bit_quant_type: nf4
15
+ - bnb_4bit_use_double_quant: True
16
+ - bnb_4bit_compute_dtype: float16
17
+ ### Framework versions
18
+
19
+
20
+ - PEFT 0.4.0
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./Llama-2-7b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-200/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08e7c8df461492fdbde37f96b850b7e78d1c5e76726aa6d370fbeba1ed1c4929
3
+ size 16821197
checkpoint-200/finetuning_args.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dpo_beta": 0.1,
3
+ "finetuning_type": "lora",
4
+ "lora_alpha": 32.0,
5
+ "lora_dropout": 0.1,
6
+ "lora_rank": 8,
7
+ "lora_target": [
8
+ "q_proj",
9
+ "v_proj"
10
+ ],
11
+ "name_module_trainable": "mlp",
12
+ "num_hidden_layers": 32,
13
+ "num_layer_trainable": 3,
14
+ "ppo_score_norm": false,
15
+ "resume_lora_training": true
16
+ }
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26051ca8e1622e381cc98e0223e28fa1c5c7bb748de47545c2ca1eeb809cd71e
3
+ size 33661637
checkpoint-200/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0203839e375e297c063f0be527508574258a71b3ef7eb8d60f5ceaaf649b3b1e
3
+ size 18679
checkpoint-200/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dab47960e0999cd4f368eb5a167c3f87d3a411f657152e7b67fa055326ad114
3
+ size 18679
checkpoint-200/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0398e0ba30bd59ef210aec509d09e2c236bb6f7ff86f0b3833b3bd95c043974e
3
+ size 18679
checkpoint-200/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa99c0e254813c49ef236c5f2d087a2bdaebf52f8a64f426abb81fa5baa3f4d7
3
+ size 18679
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:893ca84874bd9c2338ac0a97b3de6e0ec91bb60ea1db89177a64098c99125236
3
+ size 627
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.42038885969521805,
5
+ "global_step": 200,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.02,
12
+ "learning_rate": 4.994534068046937e-05,
13
+ "loss": 2.0664,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.04,
18
+ "learning_rate": 4.978160173317438e-05,
19
+ "loss": 1.2851,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.06,
24
+ "learning_rate": 4.9509499146870236e-05,
25
+ "loss": 0.6483,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.08,
30
+ "learning_rate": 4.913022275693372e-05,
31
+ "loss": 0.2406,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.11,
36
+ "learning_rate": 4.864543104251587e-05,
37
+ "loss": 0.0239,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 0.13,
42
+ "learning_rate": 4.805724387443462e-05,
43
+ "loss": 0.0034,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 0.15,
48
+ "learning_rate": 4.736823324551909e-05,
49
+ "loss": 0.0016,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 0.17,
54
+ "learning_rate": 4.6581412023939354e-05,
55
+ "loss": 0.001,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 0.19,
60
+ "learning_rate": 4.5700220778700504e-05,
61
+ "loss": 0.0008,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 0.21,
66
+ "learning_rate": 4.4728512734909844e-05,
67
+ "loss": 0.0007,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 0.23,
72
+ "learning_rate": 4.367053692460385e-05,
73
+ "loss": 0.0006,
74
+ "step": 110
75
+ },
76
+ {
77
+ "epoch": 0.25,
78
+ "learning_rate": 4.2530919606812216e-05,
79
+ "loss": 0.0006,
80
+ "step": 120
81
+ },
82
+ {
83
+ "epoch": 0.27,
84
+ "learning_rate": 4.131464403810422e-05,
85
+ "loss": 0.0005,
86
+ "step": 130
87
+ },
88
+ {
89
+ "epoch": 0.29,
90
+ "learning_rate": 4.002702868207563e-05,
91
+ "loss": 0.0005,
92
+ "step": 140
93
+ },
94
+ {
95
+ "epoch": 0.32,
96
+ "learning_rate": 3.867370395306068e-05,
97
+ "loss": 0.0005,
98
+ "step": 150
99
+ },
100
+ {
101
+ "epoch": 0.34,
102
+ "learning_rate": 3.726058759576271e-05,
103
+ "loss": 0.0004,
104
+ "step": 160
105
+ },
106
+ {
107
+ "epoch": 0.36,
108
+ "learning_rate": 3.579385880846232e-05,
109
+ "loss": 0.0004,
110
+ "step": 170
111
+ },
112
+ {
113
+ "epoch": 0.38,
114
+ "learning_rate": 3.427993122295552e-05,
115
+ "loss": 0.0004,
116
+ "step": 180
117
+ },
118
+ {
119
+ "epoch": 0.4,
120
+ "learning_rate": 3.272542485937369e-05,
121
+ "loss": 0.0004,
122
+ "step": 190
123
+ },
124
+ {
125
+ "epoch": 0.42,
126
+ "learning_rate": 3.1137137178519985e-05,
127
+ "loss": 0.0004,
128
+ "step": 200
129
+ }
130
+ ],
131
+ "max_steps": 475,
132
+ "num_train_epochs": 1,
133
+ "total_flos": 2.873967036722053e+17,
134
+ "trial_name": null,
135
+ "trial_params": null
136
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe4d4776971676826edc330ee61437e7a54bfe686c560913bd8069abb82f5e49
3
+ size 3233
checkpoint-300/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - load_in_8bit: False
9
+ - load_in_4bit: True
10
+ - llm_int8_threshold: 6.0
11
+ - llm_int8_skip_modules: None
12
+ - llm_int8_enable_fp32_cpu_offload: False
13
+ - llm_int8_has_fp16_weight: False
14
+ - bnb_4bit_quant_type: nf4
15
+ - bnb_4bit_use_double_quant: True
16
+ - bnb_4bit_compute_dtype: float16
17
+ ### Framework versions
18
+
19
+
20
+ - PEFT 0.4.0
checkpoint-300/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./Llama-2-7b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-300/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67afa29920d2fdd88fc572710616aae99bc119a9b324f0484c8bc24be01ea25c
3
+ size 16821197
checkpoint-300/finetuning_args.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dpo_beta": 0.1,
3
+ "finetuning_type": "lora",
4
+ "lora_alpha": 32.0,
5
+ "lora_dropout": 0.1,
6
+ "lora_rank": 8,
7
+ "lora_target": [
8
+ "q_proj",
9
+ "v_proj"
10
+ ],
11
+ "name_module_trainable": "mlp",
12
+ "num_hidden_layers": 32,
13
+ "num_layer_trainable": 3,
14
+ "ppo_score_norm": false,
15
+ "resume_lora_training": true
16
+ }
checkpoint-300/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6cb61c7e7a6c9212fd13bf186651779365f85b3e4522d49f2cc7080d90909c7
3
+ size 33661637
checkpoint-300/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5e119d10ba4d8e22aaa3ad4fba2f801258396c5fc1f35f4d35ff7c67d85d093
3
+ size 18679
checkpoint-300/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:006add7f74badc1fcd18e5aa4575f72d37f9ecb8c77edd49ca46735c15e0dcf7
3
+ size 18679
checkpoint-300/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6cd1596b1eac1b4c3cd748cc1ed511cc8aa6aac36df17540c2c1b726ecc75e8
3
+ size 18679
checkpoint-300/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d104156c0b3cb1bfc7442325adf59332e75b57234ca2e3c8e362f1e11d477371
3
+ size 18679
checkpoint-300/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a611d74221f03f472fa8be6b8d9dcfe898c28b46f2edc8cec83be11539a7887
3
+ size 627
checkpoint-300/trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6305832895428272,
5
+ "global_step": 300,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.02,
12
+ "learning_rate": 4.994534068046937e-05,
13
+ "loss": 2.0664,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.04,
18
+ "learning_rate": 4.978160173317438e-05,
19
+ "loss": 1.2851,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.06,
24
+ "learning_rate": 4.9509499146870236e-05,
25
+ "loss": 0.6483,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.08,
30
+ "learning_rate": 4.913022275693372e-05,
31
+ "loss": 0.2406,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.11,
36
+ "learning_rate": 4.864543104251587e-05,
37
+ "loss": 0.0239,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 0.13,
42
+ "learning_rate": 4.805724387443462e-05,
43
+ "loss": 0.0034,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 0.15,
48
+ "learning_rate": 4.736823324551909e-05,
49
+ "loss": 0.0016,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 0.17,
54
+ "learning_rate": 4.6581412023939354e-05,
55
+ "loss": 0.001,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 0.19,
60
+ "learning_rate": 4.5700220778700504e-05,
61
+ "loss": 0.0008,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 0.21,
66
+ "learning_rate": 4.4728512734909844e-05,
67
+ "loss": 0.0007,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 0.23,
72
+ "learning_rate": 4.367053692460385e-05,
73
+ "loss": 0.0006,
74
+ "step": 110
75
+ },
76
+ {
77
+ "epoch": 0.25,
78
+ "learning_rate": 4.2530919606812216e-05,
79
+ "loss": 0.0006,
80
+ "step": 120
81
+ },
82
+ {
83
+ "epoch": 0.27,
84
+ "learning_rate": 4.131464403810422e-05,
85
+ "loss": 0.0005,
86
+ "step": 130
87
+ },
88
+ {
89
+ "epoch": 0.29,
90
+ "learning_rate": 4.002702868207563e-05,
91
+ "loss": 0.0005,
92
+ "step": 140
93
+ },
94
+ {
95
+ "epoch": 0.32,
96
+ "learning_rate": 3.867370395306068e-05,
97
+ "loss": 0.0005,
98
+ "step": 150
99
+ },
100
+ {
101
+ "epoch": 0.34,
102
+ "learning_rate": 3.726058759576271e-05,
103
+ "loss": 0.0004,
104
+ "step": 160
105
+ },
106
+ {
107
+ "epoch": 0.36,
108
+ "learning_rate": 3.579385880846232e-05,
109
+ "loss": 0.0004,
110
+ "step": 170
111
+ },
112
+ {
113
+ "epoch": 0.38,
114
+ "learning_rate": 3.427993122295552e-05,
115
+ "loss": 0.0004,
116
+ "step": 180
117
+ },
118
+ {
119
+ "epoch": 0.4,
120
+ "learning_rate": 3.272542485937369e-05,
121
+ "loss": 0.0004,
122
+ "step": 190
123
+ },
124
+ {
125
+ "epoch": 0.42,
126
+ "learning_rate": 3.1137137178519985e-05,
127
+ "loss": 0.0004,
128
+ "step": 200
129
+ },
130
+ {
131
+ "epoch": 0.44,
132
+ "learning_rate": 2.952201335830275e-05,
133
+ "loss": 0.0003,
134
+ "step": 210
135
+ },
136
+ {
137
+ "epoch": 0.46,
138
+ "learning_rate": 2.788711592423966e-05,
139
+ "loss": 0.0003,
140
+ "step": 220
141
+ },
142
+ {
143
+ "epoch": 0.48,
144
+ "learning_rate": 2.623959386683056e-05,
145
+ "loss": 0.0003,
146
+ "step": 230
147
+ },
148
+ {
149
+ "epoch": 0.5,
150
+ "learning_rate": 2.458665138084104e-05,
151
+ "loss": 0.0003,
152
+ "step": 240
153
+ },
154
+ {
155
+ "epoch": 0.53,
156
+ "learning_rate": 2.2935516363191693e-05,
157
+ "loss": 0.0003,
158
+ "step": 250
159
+ },
160
+ {
161
+ "epoch": 0.55,
162
+ "learning_rate": 2.1293408807203947e-05,
163
+ "loss": 0.0003,
164
+ "step": 260
165
+ },
166
+ {
167
+ "epoch": 0.57,
168
+ "learning_rate": 1.9667509231406334e-05,
169
+ "loss": 0.0003,
170
+ "step": 270
171
+ },
172
+ {
173
+ "epoch": 0.59,
174
+ "learning_rate": 1.806492728095389e-05,
175
+ "loss": 0.0003,
176
+ "step": 280
177
+ },
178
+ {
179
+ "epoch": 0.61,
180
+ "learning_rate": 1.6492670638958924e-05,
181
+ "loss": 0.0003,
182
+ "step": 290
183
+ },
184
+ {
185
+ "epoch": 0.63,
186
+ "learning_rate": 1.495761438367577e-05,
187
+ "loss": 0.0003,
188
+ "step": 300
189
+ }
190
+ ],
191
+ "max_steps": 475,
192
+ "num_train_epochs": 1,
193
+ "total_flos": 4.311371526302597e+17,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }
checkpoint-300/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe4d4776971676826edc330ee61437e7a54bfe686c560913bd8069abb82f5e49
3
+ size 3233
checkpoint-400/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - load_in_8bit: False
9
+ - load_in_4bit: True
10
+ - llm_int8_threshold: 6.0
11
+ - llm_int8_skip_modules: None
12
+ - llm_int8_enable_fp32_cpu_offload: False
13
+ - llm_int8_has_fp16_weight: False
14
+ - bnb_4bit_quant_type: nf4
15
+ - bnb_4bit_use_double_quant: True
16
+ - bnb_4bit_compute_dtype: float16
17
+ ### Framework versions
18
+
19
+
20
+ - PEFT 0.4.0
checkpoint-400/adapter_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./Llama-2-7b-chat-hf",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 32.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 8,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "q_proj",
18
+ "v_proj"
19
+ ],
20
+ "task_type": "CAUSAL_LM"
21
+ }
checkpoint-400/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7fd70b326a6697e1a82379ba9c06b287cc8ee698d808cfa21a7537b857ee605
3
+ size 16821197
checkpoint-400/finetuning_args.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dpo_beta": 0.1,
3
+ "finetuning_type": "lora",
4
+ "lora_alpha": 32.0,
5
+ "lora_dropout": 0.1,
6
+ "lora_rank": 8,
7
+ "lora_target": [
8
+ "q_proj",
9
+ "v_proj"
10
+ ],
11
+ "name_module_trainable": "mlp",
12
+ "num_hidden_layers": 32,
13
+ "num_layer_trainable": 3,
14
+ "ppo_score_norm": false,
15
+ "resume_lora_training": true
16
+ }
checkpoint-400/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8202fda93eab44854c6ddcfa01e34c522af24909fcfa74f06f3e10232e7a7a2
3
+ size 33661637
checkpoint-400/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9339f5ba504bd7e6c3838357145b22a63fe93f3cbda16765783c9f6ca7e88f4d
3
+ size 18679
checkpoint-400/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:def61d8ae44359a8cba9c62b9dd81352520cc1a9048bbd8b47b06e3e32262cf5
3
+ size 18679
checkpoint-400/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:308b0154faf07284bf01c71c1aaa5284e1186f6ab682693f519f295a98f6ef3f
3
+ size 18679
checkpoint-400/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af9908fa1c4458f08404ed789ea1c784606ac07ca08486673d8f3e3522a2105
3
+ size 18679
checkpoint-400/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dee0767eaefa25af7080534beb0e2e99f2c8c9364e6b61372d798c11efa0dae
3
+ size 627