Baran657 commited on
Commit
e262f03
·
verified ·
1 Parent(s): 71e2a84

Upload model

Browse files
Files changed (2) hide show
  1. adapter_config.json +8 -6
  2. adapter_model.safetensors +2 -2
adapter_config.json CHANGED
@@ -5,7 +5,7 @@
5
  "parent_library": "transformers.models.blip_2.modeling_blip_2"
6
  },
7
  "base_model_name_or_path": "Salesforce/blip2-opt-2.7b",
8
- "bias": "all",
9
  "eva_config": null,
10
  "exclude_modules": null,
11
  "fan_in_fan_out": false,
@@ -15,19 +15,21 @@
15
  "layers_pattern": null,
16
  "layers_to_transform": null,
17
  "loftq_config": {},
18
- "lora_alpha": 32,
19
  "lora_bias": false,
20
- "lora_dropout": 0.05,
21
  "megatron_config": null,
22
  "megatron_core": "megatron.core",
23
  "modules_to_save": null,
24
  "peft_type": "LORA",
25
- "r": 64,
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
29
- "v_proj",
30
- "q_proj"
 
 
31
  ],
32
  "task_type": null,
33
  "use_dora": false,
 
5
  "parent_library": "transformers.models.blip_2.modeling_blip_2"
6
  },
7
  "base_model_name_or_path": "Salesforce/blip2-opt-2.7b",
8
+ "bias": "lora_only",
9
  "eva_config": null,
10
  "exclude_modules": null,
11
  "fan_in_fan_out": false,
 
15
  "layers_pattern": null,
16
  "layers_to_transform": null,
17
  "loftq_config": {},
18
+ "lora_alpha": 64,
19
  "lora_bias": false,
20
+ "lora_dropout": 0.1,
21
  "megatron_config": null,
22
  "megatron_core": "megatron.core",
23
  "modules_to_save": null,
24
  "peft_type": "LORA",
25
+ "r": 32,
26
  "rank_pattern": {},
27
  "revision": null,
28
  "target_modules": [
29
+ "k_proj",
30
+ "cross_attention",
31
+ "q_proj",
32
+ "v_proj"
33
  ],
34
  "task_type": null,
35
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ab0db79f93ee38c136f1b2c5fd5adb24115c825831b6f80094fadf0973d9d23
3
- size 87309416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa4320a76018dee9e96a08bee89812dee0008a7fe03819f9535c6f6d0e04d019
3
+ size 62944808