QinyuZhao1116 commited on
Commit
9b89944
1 Parent(s): 55da318

Upload 6 files

Browse files
README.md CHANGED
@@ -1,6 +1,9 @@
1
- The LoRA-retrained version of LLaVA v1.5 model.
 
 
 
2
 
3
- Please refer to our work:
4
 
5
- The First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?
6
- [Paper](https://arxiv.org/abs/2403.09037) [GitHub](https://github.com/Qinyu-Allen-Zhao/LVLM-LP)
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
 
6
+ ### Framework versions
7
 
8
+
9
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "lmsys/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": 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
+ "gate_proj",
18
+ "v_proj",
19
+ "down_proj",
20
+ "k_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:b69ae0f99b623d314d2d6c238d5c988778acf8e6c0fc0a6dc489c424f9bee253
3
+ size 639786637
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "lmsys/vicuna-7b-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": 4096,
11
+ "image_aspect_ratio": "pad",
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 11008,
14
+ "max_position_embeddings": 4096,
15
+ "mm_hidden_size": 1024,
16
+ "mm_projector_lr": 2e-05,
17
+ "mm_projector_type": "mlp2x_gelu",
18
+ "mm_use_im_patch_token": false,
19
+ "mm_use_im_start_end": false,
20
+ "mm_vision_select_feature": "patch",
21
+ "mm_vision_select_layer": -2,
22
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
23
+ "model_type": "llava",
24
+ "num_attention_heads": 32,
25
+ "num_hidden_layers": 32,
26
+ "num_key_value_heads": 32,
27
+ "pad_token_id": 0,
28
+ "pretraining_tp": 1,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": null,
31
+ "tie_word_embeddings": false,
32
+ "tokenizer_model_max_length": 2048,
33
+ "tokenizer_padding_side": "right",
34
+ "torch_dtype": "float16",
35
+ "transformers_version": "4.31.0",
36
+ "tune_mm_mlp_adapter": false,
37
+ "use_cache": true,
38
+ "use_mm_proj": true,
39
+ "vocab_size": 32000
40
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d4a383a5c28e3c05ad5e6f54822558e3616b34347b92715b22295f6026fa5cc
3
+ size 41961191
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff