weizhiwang
commited on
Commit
•
e7ca83b
1
Parent(s):
7dc26c9
initial
Browse files- config.json +50 -0
- mm_projector.bin +3 -0
- trainer_state.json +0 -0
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/abc/models/Phi-3-mini-4k-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_phi3.Phi3Config",
|
9 |
+
"AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 1,
|
12 |
+
"embd_pdrop": 0.0,
|
13 |
+
"eos_token_id": 32000,
|
14 |
+
"freeze_mm_mlp_adapter": false,
|
15 |
+
"hidden_act": "silu",
|
16 |
+
"hidden_size": 3072,
|
17 |
+
"image_aspect_ratio": "square",
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 8192,
|
20 |
+
"max_position_embeddings": 4096,
|
21 |
+
"mm_hidden_size": 1024,
|
22 |
+
"mm_patch_merge_type": "flat",
|
23 |
+
"mm_projector_lr": null,
|
24 |
+
"mm_projector_type": "mlp2x_gelu",
|
25 |
+
"mm_use_im_patch_token": false,
|
26 |
+
"mm_use_im_start_end": false,
|
27 |
+
"mm_vision_select_feature": "patch",
|
28 |
+
"mm_vision_select_layer": -2,
|
29 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14-336",
|
30 |
+
"model_type": "llava_phi3",
|
31 |
+
"num_attention_heads": 32,
|
32 |
+
"num_hidden_layers": 32,
|
33 |
+
"num_key_value_heads": 32,
|
34 |
+
"original_max_position_embeddings": 4096,
|
35 |
+
"pad_token_id": 32000,
|
36 |
+
"resid_pdrop": 0.0,
|
37 |
+
"rms_norm_eps": 1e-05,
|
38 |
+
"rope_scaling": null,
|
39 |
+
"rope_theta": 10000.0,
|
40 |
+
"sliding_window": 2047,
|
41 |
+
"tie_word_embeddings": false,
|
42 |
+
"tokenizer_model_max_length": 2048,
|
43 |
+
"tokenizer_padding_side": "right",
|
44 |
+
"torch_dtype": "bfloat16",
|
45 |
+
"transformers_version": "4.41.0.dev0",
|
46 |
+
"tune_mm_mlp_adapter": true,
|
47 |
+
"use_cache": true,
|
48 |
+
"use_mm_proj": true,
|
49 |
+
"vocab_size": 32064
|
50 |
+
}
|
mm_projector.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f783e85a9b5511517e87750596bdc0fd03d194c6aec9a9ba8d99d5ad01310d9
|
3 |
+
size 25180216
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|