kingsley01 commited on
Commit
4b76f18
·
verified ·
1 Parent(s): e0b2520

Upload config

Browse files
Files changed (1) hide show
  1. config.json +54 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "InternVLForConditionalGeneration"
4
+ ],
5
+ "downsample_ratio": 0.5,
6
+ "image_seq_length": 256,
7
+ "image_token_index": 92546,
8
+ "model_type": "internvl",
9
+ "projector_hidden_act": "gelu",
10
+ "text_config": {
11
+ "_attn_implementation_autoset": true,
12
+ "architectures": [
13
+ "InternLM2ForCausalLM"
14
+ ],
15
+ "attention_bias": false,
16
+ "bos_token_id": 1,
17
+ "eos_token_id": 2,
18
+ "head_dim": 128,
19
+ "hidden_size": 4096,
20
+ "intermediate_size": 14336,
21
+ "max_position_embeddings": 32768,
22
+ "mlp_bias": false,
23
+ "model_type": "llama",
24
+ "num_attention_heads": 32,
25
+ "num_hidden_layers": 32,
26
+ "num_key_value_heads": 8,
27
+ "pad_token_id": 2,
28
+ "pretraining_tp": 1,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": {
31
+ "factor": 2.0,
32
+ "rope_type": "dynamic",
33
+ "type": "dynamic"
34
+ },
35
+ "rope_theta": 1000000,
36
+ "torch_dtype": "bfloat16",
37
+ "vocab_size": 92553
38
+ },
39
+ "transformers_version": "4.50.0.dev0",
40
+ "vision_config": {
41
+ "_attn_implementation_autoset": true,
42
+ "architectures": [
43
+ "InternVisionModel"
44
+ ],
45
+ "attention_dropout": 0.0,
46
+ "drop_path_rate": 0.0,
47
+ "dropout": 0.0,
48
+ "initializer_factor": 1.0,
49
+ "layer_scale_init_value": 0.1,
50
+ "model_type": "internvl_vision",
51
+ "torch_dtype": "bfloat16"
52
+ },
53
+ "vision_feature_layer": -1
54
+ }