{ | |
"base_model_name_or_path": null, | |
"bias": "none", | |
"enable_lora": null, | |
"fan_in_fan_out": false, | |
"inference_mode": true, | |
"lora_alpha": 32, | |
"lora_dropout": 0.1, | |
"merge_weights": false, | |
"modules_to_save": [ | |
"image_projection_layer", | |
"embed_tokens", | |
"lm_head", | |
"visual_resampler" | |
], | |
"peft_type": "LORA", | |
"r": 8, | |
"target_modules": ".*(vision_model|text_model).*(self_attn|mlp).*(q_proj|k_proj|v_proj|o_proj|out_proj|fc1|fc2|gate_proj|down_proj|up_proj)$", | |
"task_type": "CAUSAL_LM" | |
} |