Upload model
Browse files- README.md +9 -0
- adapter_config.json +30 -0
- adapter_model.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
---
|
| 4 |
+
## Training procedure
|
| 5 |
+
|
| 6 |
+
### Framework versions
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
- PEFT 0.5.0
|
adapter_config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_mapping": {
|
| 3 |
+
"base_model_class": "BlipForConditionalGeneration",
|
| 4 |
+
"parent_library": "transformers.models.blip.modeling_blip"
|
| 5 |
+
},
|
| 6 |
+
"base_model_name_or_path": "Salesforce/blip-image-captioning-large",
|
| 7 |
+
"bias": "lora_only",
|
| 8 |
+
"fan_in_fan_out": false,
|
| 9 |
+
"inference_mode": true,
|
| 10 |
+
"init_lora_weights": true,
|
| 11 |
+
"layers_pattern": null,
|
| 12 |
+
"layers_to_transform": null,
|
| 13 |
+
"lora_alpha": 32,
|
| 14 |
+
"lora_dropout": 0.05,
|
| 15 |
+
"modules_to_save": null,
|
| 16 |
+
"peft_type": "LORA",
|
| 17 |
+
"r": 16,
|
| 18 |
+
"revision": null,
|
| 19 |
+
"target_modules": [
|
| 20 |
+
"query",
|
| 21 |
+
"value",
|
| 22 |
+
"qkv",
|
| 23 |
+
"projection",
|
| 24 |
+
"fc1",
|
| 25 |
+
"fc2",
|
| 26 |
+
"dense",
|
| 27 |
+
"text_decoder.cls.predictions.decoder"
|
| 28 |
+
],
|
| 29 |
+
"task_type": null
|
| 30 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9f306f7d9771a5009471a9904638e40ac8a339630748ae89afc39ed9cf8c722
|
| 3 |
+
size 42072037
|