Upload 5 files
Browse files- adapter_config.json +59 -0
- adapter_model.bin +3 -0
- config.json +43 -0
- mm_projector.bin +3 -0
- non_lora_trainables.bin +3 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auto_mapping": null,
|
| 3 |
+
"base_model_name_or_path": "./LLaMA-UAV/model_zoo/vicuna-7b-v1.5/",
|
| 4 |
+
"bias": "none",
|
| 5 |
+
"fan_in_fan_out": false,
|
| 6 |
+
"inference_mode": true,
|
| 7 |
+
"init_lora_weights": true,
|
| 8 |
+
"layers_pattern": null,
|
| 9 |
+
"layers_to_transform": [
|
| 10 |
+
0,
|
| 11 |
+
1,
|
| 12 |
+
2,
|
| 13 |
+
3,
|
| 14 |
+
4,
|
| 15 |
+
5,
|
| 16 |
+
6,
|
| 17 |
+
7,
|
| 18 |
+
8,
|
| 19 |
+
9,
|
| 20 |
+
10,
|
| 21 |
+
11,
|
| 22 |
+
12,
|
| 23 |
+
13,
|
| 24 |
+
14,
|
| 25 |
+
15,
|
| 26 |
+
16,
|
| 27 |
+
17,
|
| 28 |
+
18,
|
| 29 |
+
19,
|
| 30 |
+
20,
|
| 31 |
+
21,
|
| 32 |
+
22,
|
| 33 |
+
23,
|
| 34 |
+
24,
|
| 35 |
+
25,
|
| 36 |
+
26,
|
| 37 |
+
27,
|
| 38 |
+
28,
|
| 39 |
+
29,
|
| 40 |
+
30,
|
| 41 |
+
31
|
| 42 |
+
],
|
| 43 |
+
"lora_alpha": 16,
|
| 44 |
+
"lora_dropout": 0.05,
|
| 45 |
+
"modules_to_save": null,
|
| 46 |
+
"peft_type": "LORA",
|
| 47 |
+
"r": 64,
|
| 48 |
+
"revision": null,
|
| 49 |
+
"target_modules": [
|
| 50 |
+
"v_proj",
|
| 51 |
+
"up_proj",
|
| 52 |
+
"gate_proj",
|
| 53 |
+
"o_proj",
|
| 54 |
+
"q_proj",
|
| 55 |
+
"k_proj",
|
| 56 |
+
"down_proj"
|
| 57 |
+
],
|
| 58 |
+
"task_type": "CAUSAL_LM"
|
| 59 |
+
}
|
adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b6a7f8c7a4c43092b863b210a6f9f23b3076ce80c32c2f5f45eb6b108ea4c1ca
|
| 3 |
+
size 319970957
|
config.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "./model_zoo/vicuna-7b-v1.5/",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"bert_type": "qformer_pretrain_freeze",
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"compress_type": "mean",
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"freeze_mm_mlp_adapter": false,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"image_aspect_ratio": "square",
|
| 14 |
+
"image_grid_pinpoints": null,
|
| 15 |
+
"image_processor": "./llamavid/processor/clip-patch14-224",
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 11008,
|
| 18 |
+
"max_position_embeddings": 4096,
|
| 19 |
+
"max_token": 2048,
|
| 20 |
+
"mm_hidden_size": 1408,
|
| 21 |
+
"mm_projector_type": "mlp2x_gelu",
|
| 22 |
+
"mm_use_im_patch_token": false,
|
| 23 |
+
"mm_use_im_start_end": false,
|
| 24 |
+
"mm_vision_select_feature": "patch",
|
| 25 |
+
"mm_vision_select_layer": -2,
|
| 26 |
+
"mm_vision_tower": "./model_zoo/LAVIS/eva_vit_g.pth",
|
| 27 |
+
"model_type": "llama",
|
| 28 |
+
"num_attention_heads": 32,
|
| 29 |
+
"num_hidden_layers": 32,
|
| 30 |
+
"num_key_value_heads": 32,
|
| 31 |
+
"num_query": 32,
|
| 32 |
+
"pad_token_id": 0,
|
| 33 |
+
"pretraining_tp": 1,
|
| 34 |
+
"rms_norm_eps": 1e-05,
|
| 35 |
+
"rope_scaling": null,
|
| 36 |
+
"tie_word_embeddings": false,
|
| 37 |
+
"torch_dtype": "float16",
|
| 38 |
+
"transformers_version": "4.31.0",
|
| 39 |
+
"tune_mm_mlp_adapter": true,
|
| 40 |
+
"use_cache": true,
|
| 41 |
+
"use_mm_proj": true,
|
| 42 |
+
"vocab_size": 32002
|
| 43 |
+
}
|
mm_projector.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd9c61b1ddc7be0fafe9bb1a23d17b1235479fbcab4cccf4176adae6124a9f59
|
| 3 |
+
size 763949522
|
non_lora_trainables.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a77df7f4cc9b79cb59d4276892a84988bfc2a7066e73c37b121abd00e4b0b92d
|
| 3 |
+
size 654613560
|