Weizhi Wang commited on
Commit
3bd23e6
1 Parent(s): 018404d
Files changed (3) hide show
  1. config.json +43 -0
  2. mm_projector.bin +3 -0
  3. trainer_state.json +0 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/raid5/weizhi/models/Meta-Llama-3-8B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "freeze_mm_mlp_adapter": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "image_aspect_ratio": "square",
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 14336,
16
+ "max_position_embeddings": 8192,
17
+ "mm_hidden_size": 1024,
18
+ "mm_projector_lr": null,
19
+ "mm_projector_type": "mlp2x_gelu",
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": "openai/clip-vit-large-patch14-336",
25
+ "model_type": "llava",
26
+ "num_attention_heads": 32,
27
+ "num_hidden_layers": 32,
28
+ "num_key_value_heads": 8,
29
+ "pad_token_id": 0,
30
+ "pretraining_tp": 1,
31
+ "rms_norm_eps": 1e-05,
32
+ "rope_scaling": null,
33
+ "rope_theta": 500000.0,
34
+ "tie_word_embeddings": false,
35
+ "tokenizer_model_max_length": 2048,
36
+ "tokenizer_padding_side": "right",
37
+ "torch_dtype": "bfloat16",
38
+ "transformers_version": "4.31.0",
39
+ "tune_mm_mlp_adapter": true,
40
+ "use_cache": true,
41
+ "use_mm_proj": true,
42
+ "vocab_size": 128256
43
+ }
mm_projector.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e61b6cce71d5c93eecbde7a424590f66d9e0c75decf5f9a3fb1a1104df51588a
3
+ size 41961085
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff