juliozhao commited on
Commit
72b1bcf
1 Parent(s): cf6ae04

Upload 5 files

Browse files
Files changed (5) hide show
  1. README.md +13 -1
  2. adapter_config.json +26 -0
  3. adapter_model.bin +3 -0
  4. config.json +45 -0
  5. non_lora_trainables.bin +3 -0
README.md CHANGED
@@ -1,3 +1,15 @@
1
  ---
2
- license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
  ---
4
+ ## Training procedure
5
+
6
+ ### Framework versions
7
+
8
+ - PEFT 0.4.0
9
+ - PEFT 0.4.0
10
+ - PEFT 0.4.0
11
+ - PEFT 0.4.0
12
+ - PEFT 0.4.0
13
+
14
+ - PEFT 0.4.0
15
+ - PEFT 0.4.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "liuhaotian/llava-v1.5-7b",
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
+ "k_proj",
18
+ "gate_proj",
19
+ "up_proj",
20
+ "down_proj",
21
+ "v_proj",
22
+ "q_proj",
23
+ "o_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:2dcb97d1e409c536a7399d94c0fb93b61b998c0d1e58a24323fd276db3ca2d63
3
+ size 639786637
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "liuhaotian/llava-v1.5-7b",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "freeze_mm_vision_resampler": false,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "image_aspect_ratio": "pad",
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 11008,
15
+ "max_length": 4096,
16
+ "max_position_embeddings": 4096,
17
+ "mm_hidden_size": 1024,
18
+ "mm_projector_lr": 0.0,
19
+ "mm_projector_type": "mlp2x_gelu",
20
+ "mm_resampler_type": null,
21
+ "mm_use_im_patch_token": false,
22
+ "mm_use_im_start_end": false,
23
+ "mm_vision_select_feature": "patch",
24
+ "mm_vision_select_layer": -2,
25
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
26
+ "model_type": "llava",
27
+ "num_attention_heads": 32,
28
+ "num_hidden_layers": 32,
29
+ "num_key_value_heads": 32,
30
+ "pad_token_id": 0,
31
+ "pretraining_tp": 1,
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_scaling": null,
34
+ "tie_word_embeddings": false,
35
+ "tokenizer_model_max_length": 2048,
36
+ "tokenizer_padding_side": "right",
37
+ "torch_dtype": "float16",
38
+ "transformers_version": "4.31.0",
39
+ "tune_mm_mlp_adapter": false,
40
+ "tune_mm_vision_resampler": false,
41
+ "unfreeze_mm_vision_tower": false,
42
+ "use_cache": false,
43
+ "use_mm_proj": true,
44
+ "vocab_size": 32000
45
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65202c76d627b329cbb28e3704b4aab452daefb9c7c230d6e8abba72969ebfaf
3
+ size 41961191