kurileo commited on
Commit
61142ad
1 Parent(s): e7f3eea

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-6.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:558b00e040aff3fb4a90d2d071f0ad336c0966aefa3afb8f6abb17b21357091e
3
+ size 33603405
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b734631a831e26910376f384538d89d170f00f914fff3910ddb9e683755d12a
3
+ size 67216581
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e498c87e9cb50866756a08f51cba0a1c14784bc72a91e7b45a928406ac0015e
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5019856136180e834579d7f445ade1ce1eb1d251d0596259f73dc9e416fd7596
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6188118811881188,
5
+ "eval_steps": 500,
6
+ "global_step": 1000,
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.6134,
15
+ "step": 50
16
+ },
17
+ {
18
+ "epoch": 0.06,
19
+ "learning_rate": 4.8968646864686466e-05,
20
+ "loss": 1.7076,
21
+ "step": 100
22
+ },
23
+ {
24
+ "epoch": 0.09,
25
+ "learning_rate": 4.8452970297029704e-05,
26
+ "loss": 1.6069,
27
+ "step": 150
28
+ },
29
+ {
30
+ "epoch": 0.12,
31
+ "learning_rate": 4.793729372937294e-05,
32
+ "loss": 1.5834,
33
+ "step": 200
34
+ },
35
+ {
36
+ "epoch": 0.15,
37
+ "learning_rate": 4.7421617161716174e-05,
38
+ "loss": 1.5641,
39
+ "step": 250
40
+ },
41
+ {
42
+ "epoch": 0.19,
43
+ "learning_rate": 4.6905940594059406e-05,
44
+ "loss": 1.5434,
45
+ "step": 300
46
+ },
47
+ {
48
+ "epoch": 0.22,
49
+ "learning_rate": 4.6390264026402644e-05,
50
+ "loss": 1.533,
51
+ "step": 350
52
+ },
53
+ {
54
+ "epoch": 0.25,
55
+ "learning_rate": 4.5874587458745876e-05,
56
+ "loss": 1.5326,
57
+ "step": 400
58
+ },
59
+ {
60
+ "epoch": 0.28,
61
+ "learning_rate": 4.5358910891089114e-05,
62
+ "loss": 1.5294,
63
+ "step": 450
64
+ },
65
+ {
66
+ "epoch": 0.31,
67
+ "learning_rate": 4.4843234323432346e-05,
68
+ "loss": 1.525,
69
+ "step": 500
70
+ },
71
+ {
72
+ "epoch": 0.34,
73
+ "learning_rate": 4.432755775577558e-05,
74
+ "loss": 1.5229,
75
+ "step": 550
76
+ },
77
+ {
78
+ "epoch": 0.37,
79
+ "learning_rate": 4.3811881188118816e-05,
80
+ "loss": 1.5178,
81
+ "step": 600
82
+ },
83
+ {
84
+ "epoch": 0.4,
85
+ "learning_rate": 4.329620462046205e-05,
86
+ "loss": 1.5181,
87
+ "step": 650
88
+ },
89
+ {
90
+ "epoch": 0.43,
91
+ "learning_rate": 4.278052805280528e-05,
92
+ "loss": 1.5179,
93
+ "step": 700
94
+ },
95
+ {
96
+ "epoch": 0.46,
97
+ "learning_rate": 4.226485148514852e-05,
98
+ "loss": 1.5022,
99
+ "step": 750
100
+ },
101
+ {
102
+ "epoch": 0.5,
103
+ "learning_rate": 4.174917491749175e-05,
104
+ "loss": 1.5108,
105
+ "step": 800
106
+ },
107
+ {
108
+ "epoch": 0.53,
109
+ "learning_rate": 4.123349834983499e-05,
110
+ "loss": 1.5075,
111
+ "step": 850
112
+ },
113
+ {
114
+ "epoch": 0.56,
115
+ "learning_rate": 4.071782178217822e-05,
116
+ "loss": 1.5011,
117
+ "step": 900
118
+ },
119
+ {
120
+ "epoch": 0.59,
121
+ "learning_rate": 4.020214521452145e-05,
122
+ "loss": 1.5023,
123
+ "step": 950
124
+ },
125
+ {
126
+ "epoch": 0.62,
127
+ "learning_rate": 3.968646864686469e-05,
128
+ "loss": 1.4978,
129
+ "step": 1000
130
+ }
131
+ ],
132
+ "logging_steps": 50,
133
+ "max_steps": 4848,
134
+ "num_train_epochs": 3,
135
+ "save_steps": 100,
136
+ "total_flos": 8.738647348755825e+20,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21db4ab0b81b3d96bd8307b7f2bb94ccb97ab7af924f610afa2e086c7b860217
3
+ size 4155