ZachSun commited on
Commit
22cfef1
1 Parent(s): b79ae1b

Upload 9 files

Browse files
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.4.0
Vit-lora/README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ ## Training procedure
2
+
3
+ ### Framework versions
4
+
5
+ - PEFT 0.4.0
6
+
7
+ - PEFT 0.4.0
Vit-lora/adapter_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": {
3
+ "base_model_class": "CLIPVisionTower",
4
+ "parent_library": "llava.model.multimodal_encoder.clip_encoder"
5
+ },
6
+ "base_model_name_or_path": null,
7
+ "bias": "none",
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": 128,
14
+ "lora_dropout": 0.2,
15
+ "modules_to_save": null,
16
+ "peft_type": "LORA",
17
+ "r": 64,
18
+ "revision": null,
19
+ "target_modules": [
20
+ "fc2",
21
+ "out_proj",
22
+ "v_proj",
23
+ "fc1",
24
+ "q_proj",
25
+ "k_proj"
26
+ ],
27
+ "task_type": null
28
+ }
Vit-lora/adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03ae6a462c072e94c399889727eb05c18ee3f2df83af2ba4ddd1881c29635c4f
3
+ size 56730509
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "./checkpoints/ShareGPT4V-13B_Pretrained_vit-large336-l12_vicuna-13b-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": null,
10
+ "lora_alpha": 256,
11
+ "lora_dropout": 0.05,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 128,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "down_proj",
18
+ "v_proj",
19
+ "k_proj",
20
+ "gate_proj",
21
+ "up_proj",
22
+ "o_proj",
23
+ "q_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM"
26
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7a0c380089a2558855e97405c0617a09d3343ebc5ec2c2d2a6c87400c92487d
3
+ size 1058320717
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./checkpoints/ShareGPT4V-13B_Pretrained_vit-large336-l12_vicuna-13b-v1.5",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 5120,
11
+ "image_aspect_ratio": "pad",
12
+ "image_grid_pinpoints": null,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 13824,
15
+ "loss_alpha": 0.5,
16
+ "max_position_embeddings": 2048,
17
+ "mm_hidden_size": 1024,
18
+ "mm_projector_lr": 2e-05,
19
+ "mm_projector_type": "cluster",
20
+ "mm_use_im_patch_token": false,
21
+ "mm_use_im_start_end": false,
22
+ "mm_vision_select_feature": "patch",
23
+ "mm_vision_select_layer": -2,
24
+ "mm_vision_tower": "Lin-Chen/ShareGPT4V-13B_Pretrained_vit-large336-l12",
25
+ "model_type": "llama",
26
+ "num_attention_heads": 40,
27
+ "num_hidden_layers": 40,
28
+ "num_key_value_heads": 40,
29
+ "num_latents": 256,
30
+ "pad_token_id": 0,
31
+ "pretraining_tp": 1,
32
+ "qav_loss": false,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "tie_word_embeddings": false,
36
+ "torch_dtype": "float16",
37
+ "transformers_version": "4.31.0",
38
+ "tune_mm_mlp_adapter": false,
39
+ "use_cache": true,
40
+ "use_mm_proj": true,
41
+ "vision_tower_lr": 0.0002,
42
+ "vocab_size": 32000
43
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:879f55ec5bb78947049d9b13507adc4fc362d089c6bf2a6f9043fe5570950bd9
3
+ size 69241595
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff