yaolily commited on
Commit
51c637a
·
verified ·
1 Parent(s): b7d8378

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +61 -0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "YiVLForConditionalGeneration"
4
+ ],
5
+ "ignore_index": -100,
6
+ "image_aspect_ratio": "resize",
7
+ "image_token_index": 9,
8
+ "mlp_post_norm": false,
9
+ "mlp_post_norm_element_affine": false,
10
+ "mm_projector": "resampler",
11
+ "mm_use_im_start_end": true,
12
+ "model_type": "yi_vl",
13
+ "pad_token_id": 2,
14
+ "projector_hidden_act": "gelu",
15
+ "text_config": {
16
+ "aux_loss_alpha": 0.001,
17
+ "first_k_dense_replace": 0,
18
+ "hidden_size": 2560,
19
+ "intermediate_size": 13568,
20
+ "max_position_embeddings": 65536,
21
+ "model_type": "deepseek",
22
+ "moe_grouped_gemm": null,
23
+ "moe_intermediate_size": 1664,
24
+ "moe_layer_freq": 1,
25
+ "n_routed_experts": 64,
26
+ "n_shared_experts": 2,
27
+ "norm_topk_prob": true,
28
+ "num_attention_heads": 20,
29
+ "num_experts_per_tok": 6,
30
+ "num_hidden_layers": 28,
31
+ "num_key_value_heads": 20,
32
+ "rope_theta": 5000000,
33
+ "scoring_func": "softmax",
34
+ "seq_aux": true,
35
+ "vocab_size": 100352
36
+ },
37
+ "tokens_per_image": [
38
+ 128,
39
+ 256
40
+ ],
41
+ "torch_dtype": "bfloat16",
42
+ "transformers_version": "4.42.4",
43
+ "vision_config": {
44
+ "_flash_attn_2_enabled": true,
45
+ "architectures": [
46
+ "CustomSiglipVisionModel"
47
+ ],
48
+ "hidden_act": "gelu_pytorch_tanh",
49
+ "hidden_size": 1152,
50
+ "image_size": 980,
51
+ "intermediate_size": 4304,
52
+ "layer_norm_eps": 1e-06,
53
+ "model_type": "custom_siglip_vision_model",
54
+ "num_attention_heads": 16,
55
+ "num_hidden_layers": 27,
56
+ "patch_size": 14,
57
+ "torch_dtype": "float32"
58
+ },
59
+ "vision_feature_layer": -1,
60
+ "vision_feature_select_strategy": "full"
61
+ }