LanguageBind
commited on
Commit
•
cd31ee0
1
Parent(s):
61286d5
Upload 2 files
Browse files- config.json +53 -0
- mm_projector.bin +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/phi-2",
|
3 |
+
"architectures": [
|
4 |
+
"PhiForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "microsoft/phi-2--configuration_phi.PhiConfig",
|
9 |
+
"AutoModelForCausalLM": "microsoft/phi-2--modeling_phi.PhiForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": null,
|
12 |
+
"embd_pdrop": 0.0,
|
13 |
+
"eos_token_id": null,
|
14 |
+
"freeze_mm_mlp_adapter": false,
|
15 |
+
"hidden_act": "gelu_new",
|
16 |
+
"hidden_size": 2560,
|
17 |
+
"image_aspect_ratio": "square",
|
18 |
+
"image_projector_type": "mlp2x_gelu",
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 10240,
|
21 |
+
"layer_norm_eps": 1e-05,
|
22 |
+
"max_position_embeddings": 2048,
|
23 |
+
"mm_hidden_size": 1152,
|
24 |
+
"mm_image_tower": "google/siglip-so400m-patch14-384",
|
25 |
+
"mm_projector_lr": null,
|
26 |
+
"mm_use_im_patch_token": false,
|
27 |
+
"mm_use_im_start_end": false,
|
28 |
+
"mm_video_tower": null,
|
29 |
+
"mm_vision_select_feature": "patch",
|
30 |
+
"mm_vision_select_layer": -2,
|
31 |
+
"model_type": "llava_phi",
|
32 |
+
"num_attention_heads": 32,
|
33 |
+
"num_hidden_layers": 32,
|
34 |
+
"num_key_value_heads": 32,
|
35 |
+
"pad_token_id": 50295,
|
36 |
+
"partial_rotary_factor": 0.4,
|
37 |
+
"qk_layernorm": false,
|
38 |
+
"resid_pdrop": 0.1,
|
39 |
+
"rope_scaling": null,
|
40 |
+
"rope_theta": 10000.0,
|
41 |
+
"tie_word_embeddings": false,
|
42 |
+
"tokenizer_padding_side": "right",
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.37.0",
|
45 |
+
"tune_mm_mlp_adapter": true,
|
46 |
+
"use_cache": true,
|
47 |
+
"use_mm_proj": true,
|
48 |
+
"video_global_proj": false,
|
49 |
+
"video_projector_type": "linear",
|
50 |
+
"video_spatial_proj": false,
|
51 |
+
"video_temproal_proj": false,
|
52 |
+
"vocab_size": 51200
|
53 |
+
}
|
mm_projector.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:df0692b420535aa033a2af6c4629165db82c1d88559e666e71954ebe6baa2354
|
3 |
+
size 19017405
|