blip2-QA-generation / adapter_config.json
curlyfu's picture
Update adapter_config.json
7ce13bf verified
raw
history blame
761 Bytes
{
"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": 128,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": null,
"peft_type": "LORA",
"r": 128,
"rank_pattern": {},
"revision": null,
"target_modules": [
"q_proj",
"k_proj"
],
"use_dora": false,
"use_rslora": false
}