{ "auto_mapping": { "base_model_class": "Pix2StructForConditionalGeneration", "parent_library": "transformers.models.pix2struct.modeling_pix2struct" }, "base_model_name_or_path": "google/pix2struct-docvqa-base", "bias": "lora_only", "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layers_pattern": null, "layers_to_transform": null, "lora_alpha": 8, "lora_dropout": 0.1, "modules_to_save": [], "peft_type": "LORA", "r": 4, "revision": null, "target_modules": [ "decoder.layer.0.self_attention.attention.query", "decoder.layer.0.self_attention.attention.key", "decoder.layer.0.self_attention.attention.value", "decoder.layer.0.encoder_decoder_attention.attention.query", "decoder.layer.0.encoder_decoder_attention.attention.key", "decoder.layer.0.encoder_decoder_attention.attention.value", "encoder.encoder.layer.0.attention.query", "encoder.encoder.layer.0.attention.key", "encoder.encoder.layer.0.attention.value", "decoder.layer.1.self_attention.attention.query", "decoder.layer.1.self_attention.attention.key", "decoder.layer.1.self_attention.attention.value", "decoder.layer.1.encoder_decoder_attention.attention.query", "decoder.layer.1.encoder_decoder_attention.attention.key", "decoder.layer.1.encoder_decoder_attention.attention.value", "encoder.encoder.layer.1.attention.query", "encoder.encoder.layer.1.attention.key", "encoder.encoder.layer.1.attention.value", "decoder.layer.2.self_attention.attention.query", "decoder.layer.2.self_attention.attention.key", "decoder.layer.2.self_attention.attention.value", "decoder.layer.2.encoder_decoder_attention.attention.query", "decoder.layer.2.encoder_decoder_attention.attention.key", "decoder.layer.2.encoder_decoder_attention.attention.value", "encoder.encoder.layer.2.attention.query", "encoder.encoder.layer.2.attention.key", "encoder.encoder.layer.2.attention.value", "decoder.layer.3.self_attention.attention.query", "decoder.layer.3.self_attention.attention.key", "decoder.layer.3.self_attention.attention.value", "decoder.layer.3.encoder_decoder_attention.attention.query", "decoder.layer.3.encoder_decoder_attention.attention.key", "decoder.layer.3.encoder_decoder_attention.attention.value", "encoder.encoder.layer.3.attention.query", "encoder.encoder.layer.3.attention.key", "encoder.encoder.layer.3.attention.value", "decoder.layer.4.self_attention.attention.query", "decoder.layer.4.self_attention.attention.key", "decoder.layer.4.self_attention.attention.value", "decoder.layer.4.encoder_decoder_attention.attention.query", "decoder.layer.4.encoder_decoder_attention.attention.key", "decoder.layer.4.encoder_decoder_attention.attention.value", "encoder.encoder.layer.4.attention.query", "encoder.encoder.layer.4.attention.key", "encoder.encoder.layer.4.attention.value", "decoder.layer.5.self_attention.attention.query", "decoder.layer.5.self_attention.attention.key", "decoder.layer.5.self_attention.attention.value", "decoder.layer.5.encoder_decoder_attention.attention.query", "decoder.layer.5.encoder_decoder_attention.attention.key", "decoder.layer.5.encoder_decoder_attention.attention.value", "encoder.encoder.layer.5.attention.query", "encoder.encoder.layer.5.attention.key", "encoder.encoder.layer.5.attention.value", "decoder.layer.6.self_attention.attention.query", "decoder.layer.6.self_attention.attention.key", "decoder.layer.6.self_attention.attention.value", "decoder.layer.6.encoder_decoder_attention.attention.query", "decoder.layer.6.encoder_decoder_attention.attention.key", "decoder.layer.6.encoder_decoder_attention.attention.value", "encoder.encoder.layer.6.attention.query", "encoder.encoder.layer.6.attention.key", "encoder.encoder.layer.6.attention.value", "decoder.layer.7.self_attention.attention.query", "decoder.layer.7.self_attention.attention.key", "decoder.layer.7.self_attention.attention.value", "decoder.layer.7.encoder_decoder_attention.attention.query", "decoder.layer.7.encoder_decoder_attention.attention.key", "decoder.layer.7.encoder_decoder_attention.attention.value", "encoder.encoder.layer.7.attention.query", "encoder.encoder.layer.7.attention.key", "encoder.encoder.layer.7.attention.value", "decoder.layer.8.self_attention.attention.query", "decoder.layer.8.self_attention.attention.key", "decoder.layer.8.self_attention.attention.value", "decoder.layer.8.encoder_decoder_attention.attention.query", "decoder.layer.8.encoder_decoder_attention.attention.key", "decoder.layer.8.encoder_decoder_attention.attention.value", "encoder.encoder.layer.8.attention.query", "encoder.encoder.layer.8.attention.key", "encoder.encoder.layer.8.attention.value", "decoder.layer.9.self_attention.attention.query", "decoder.layer.9.self_attention.attention.key", "decoder.layer.9.self_attention.attention.value", "decoder.layer.9.encoder_decoder_attention.attention.query", "decoder.layer.9.encoder_decoder_attention.attention.key", "decoder.layer.9.encoder_decoder_attention.attention.value", "encoder.encoder.layer.9.attention.query", "encoder.encoder.layer.9.attention.key", "encoder.encoder.layer.9.attention.value", "decoder.layer.10.self_attention.attention.query", "decoder.layer.10.self_attention.attention.key", "decoder.layer.10.self_attention.attention.value", "decoder.layer.10.encoder_decoder_attention.attention.query", "decoder.layer.10.encoder_decoder_attention.attention.key", "decoder.layer.10.encoder_decoder_attention.attention.value", "encoder.encoder.layer.10.attention.query", "encoder.encoder.layer.10.attention.key", "encoder.encoder.layer.10.attention.value", "decoder.layer.11.self_attention.attention.query", "decoder.layer.11.self_attention.attention.key", "decoder.layer.11.self_attention.attention.value", "decoder.layer.11.encoder_decoder_attention.attention.query", "decoder.layer.11.encoder_decoder_attention.attention.key", "decoder.layer.11.encoder_decoder_attention.attention.value", "encoder.encoder.layer.11.attention.query", "encoder.encoder.layer.11.attention.key", "encoder.encoder.layer.11.attention.value" ], "task_type": null }