idefics_25_50_25 / adapter_config.json
alishudi's picture
Upload folder using huggingface_hub
16b5d90 verified
raw
history blame contribute delete
902 Bytes
{
"alpha_pattern": {},
"auto_mapping": {
"base_model_class": "Idefics2ForConditionalGeneration",
"parent_library": "transformers.models.idefics2.modeling_idefics2"
},
"base_model_name_or_path": "HuggingFaceM4/idefics2-8b",
"bias": "none",
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": "gaussian",
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 128,
"lora_dropout": 0.1,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": [
"lm_head",
"embed_tokens"
],
"peft_type": "LORA",
"r": 64,
"rank_pattern": {},
"revision": null,
"target_modules": ".*(text_model|modality_projection|perceiver_resampler).*(down_proj|gate_proj|up_proj|k_proj|q_proj|v_proj|o_proj).*$",
"task_type": null,
"use_dora": true,
"use_rslora": false
}