kurileo commited on
Commit
6ce78b4
1 Parent(s): 6952834

Upload 8 files

Browse files
README.md CHANGED
@@ -1,3 +1,21 @@
1
  ---
2
- license: wtfpl
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
  ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - quant_method: bitsandbytes
9
+ - load_in_8bit: False
10
+ - load_in_4bit: True
11
+ - llm_int8_threshold: 6.0
12
+ - llm_int8_skip_modules: None
13
+ - llm_int8_enable_fp32_cpu_offload: False
14
+ - llm_int8_has_fp16_weight: False
15
+ - bnb_4bit_quant_type: nf4
16
+ - bnb_4bit_use_double_quant: True
17
+ - bnb_4bit_compute_dtype: bfloat16
18
+ ### Framework versions
19
+
20
+
21
+ - PEFT 0.5.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": {
3
+ "base_model_class": "Blip2ForConditionalGeneration",
4
+ "parent_library": "transformers.models.blip_2.modeling_blip_2"
5
+ },
6
+ "base_model_name_or_path": "/disk1/data/users/yanyang/models/Salesforce/blip2-opt-2.7b",
7
+ "bias": "none",
8
+ "fan_in_fan_out": false,
9
+ "inference_mode": true,
10
+ "init_lora_weights": true,
11
+ "layers_pattern": null,
12
+ "layers_to_transform": null,
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
+ "modules_to_save": null,
16
+ "peft_type": "LORA",
17
+ "r": 16,
18
+ "revision": null,
19
+ "target_modules": [
20
+ "q",
21
+ "v",
22
+ "q_proj",
23
+ "v_proj"
24
+ ],
25
+ "task_type": null
26
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:760f5643cff3dad4fd56c7db8760b8e2c1e16142891e6fb95ea4e488a7712546
3
+ size 21020237
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1d31646386c4e8a14508a073b27100de0bd6b7ebdcd5b36b069e731f9064a82
3
+ size 42050245
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31b22dfbcf5f5e82afce5a24e6a249c6a313a07f115fac751b7b7d9b6d27d8cc
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98ecdfc1702174fadcb99938219c06bdbdff0d9e402428f0622c18c13d472694
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6806930693069307,
5
+ "eval_steps": 500,
6
+ "global_step": 1100,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.03,
13
+ "learning_rate": 4.948432343234324e-05,
14
+ "loss": 3.3362,
15
+ "step": 50
16
+ },
17
+ {
18
+ "epoch": 0.06,
19
+ "learning_rate": 4.8968646864686466e-05,
20
+ "loss": 1.728,
21
+ "step": 100
22
+ },
23
+ {
24
+ "epoch": 0.09,
25
+ "learning_rate": 4.8452970297029704e-05,
26
+ "loss": 1.6496,
27
+ "step": 150
28
+ },
29
+ {
30
+ "epoch": 0.12,
31
+ "learning_rate": 4.793729372937294e-05,
32
+ "loss": 1.6284,
33
+ "step": 200
34
+ },
35
+ {
36
+ "epoch": 0.15,
37
+ "learning_rate": 4.7421617161716174e-05,
38
+ "loss": 1.6107,
39
+ "step": 250
40
+ },
41
+ {
42
+ "epoch": 0.19,
43
+ "learning_rate": 4.6905940594059406e-05,
44
+ "loss": 1.5895,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 0.22,
49
+ "learning_rate": 4.6390264026402644e-05,
50
+ "loss": 1.5785,
51
+ "step": 350
52
+ },
53
+ {
54
+ "epoch": 0.25,
55
+ "learning_rate": 4.5874587458745876e-05,
56
+ "loss": 1.5796,
57
+ "step": 400
58
+ },
59
+ {
60
+ "epoch": 0.28,
61
+ "learning_rate": 4.5358910891089114e-05,
62
+ "loss": 1.5762,
63
+ "step": 450
64
+ },
65
+ {
66
+ "epoch": 0.31,
67
+ "learning_rate": 4.4843234323432346e-05,
68
+ "loss": 1.5726,
69
+ "step": 500
70
+ },
71
+ {
72
+ "epoch": 0.34,
73
+ "learning_rate": 4.432755775577558e-05,
74
+ "loss": 1.571,
75
+ "step": 550
76
+ },
77
+ {
78
+ "epoch": 0.37,
79
+ "learning_rate": 4.3811881188118816e-05,
80
+ "loss": 1.5665,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 0.4,
85
+ "learning_rate": 4.329620462046205e-05,
86
+ "loss": 1.5658,
87
+ "step": 650
88
+ },
89
+ {
90
+ "epoch": 0.43,
91
+ "learning_rate": 4.278052805280528e-05,
92
+ "loss": 1.5666,
93
+ "step": 700
94
+ },
95
+ {
96
+ "epoch": 0.46,
97
+ "learning_rate": 4.226485148514852e-05,
98
+ "loss": 1.5502,
99
+ "step": 750
100
+ },
101
+ {
102
+ "epoch": 0.5,
103
+ "learning_rate": 4.174917491749175e-05,
104
+ "loss": 1.5604,
105
+ "step": 800
106
+ },
107
+ {
108
+ "epoch": 0.53,
109
+ "learning_rate": 4.123349834983499e-05,
110
+ "loss": 1.5564,
111
+ "step": 850
112
+ },
113
+ {
114
+ "epoch": 0.56,
115
+ "learning_rate": 4.071782178217822e-05,
116
+ "loss": 1.5492,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 0.59,
121
+ "learning_rate": 4.020214521452145e-05,
122
+ "loss": 1.5514,
123
+ "step": 950
124
+ },
125
+ {
126
+ "epoch": 0.62,
127
+ "learning_rate": 3.968646864686469e-05,
128
+ "loss": 1.5458,
129
+ "step": 1000
130
+ },
131
+ {
132
+ "epoch": 0.65,
133
+ "learning_rate": 3.917079207920793e-05,
134
+ "loss": 1.5398,
135
+ "step": 1050
136
+ },
137
+ {
138
+ "epoch": 0.68,
139
+ "learning_rate": 3.865511551155115e-05,
140
+ "loss": 1.5374,
141
+ "step": 1100
142
+ }
143
+ ],
144
+ "logging_steps": 50,
145
+ "max_steps": 4848,
146
+ "num_train_epochs": 3,
147
+ "save_steps": 100,
148
+ "total_flos": 4.609002406359859e+20,
149
+ "trial_name": null,
150
+ "trial_params": null
151
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9729ee8d38b5a3f62829af569a825824ebef859a78b8e9f95c86aecd1dc4a083
3
+ size 4155