BLIP_LORA / adapter_config.json
shorok31's picture
Upload model
0556f79 verified
{
"alpha_pattern": {},
"auto_mapping": {
"base_model_class": "Blip2ForConditionalGeneration",
"parent_library": "transformers.models.blip_2.modeling_blip_2"
},
"base_model_name_or_path": "ybelkada/blip2-opt-2.7b-fp16-sharded",
"bias": "none",
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 32,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"r": 16,
"rank_pattern": {},
"revision": null,
"target_modules": [
"k_proj",
"q_proj"
],
"task_type": null,
"use_dora": false,
"use_rslora": false
}