ningzhuo commited on
Commit
f0bf7fd
·
verified ·
1 Parent(s): 35e0fe6

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +94 -0
config.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PaddleOCRVLForConditionalGeneration"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "auto_map": {
7
+ "AutoConfig": "configuration_paddleocr_vl.PaddleOCRVLConfig",
8
+ "AutoModel": "modeling_paddleocr_vl.PaddleOCRVLForConditionalGeneration",
9
+ "AutoModelForCausalLM": "modeling_paddleocr_vl.PaddleOCRVLForConditionalGeneration"
10
+ },
11
+ "compression_ratio": 1.0,
12
+ "freq_allocation": 20,
13
+ "fuse_ln": false,
14
+ "head_dim": 128,
15
+ "hidden_act": "silu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 1024,
18
+ "ignored_index": -100,
19
+ "image_token_id": 100295,
20
+ "intermediate_size": 3072,
21
+ "is_lora": false,
22
+ "max_position_embeddings": 131072,
23
+ "model_type": "paddleocr_vl",
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 18,
26
+ "num_key_value_heads": 2,
27
+ "paddleformers_version": "1.1.1.post20260417",
28
+ "pp_seg_method": "layer:DecoderLayer|EmptyLayer",
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_is_neox_style": true,
31
+ "rope_parameters": {
32
+ "mrope_section": [
33
+ 16,
34
+ 24,
35
+ 24
36
+ ],
37
+ "rope_theta": 500000,
38
+ "rope_type": "default",
39
+ "type": "default"
40
+ },
41
+ "rope_scaling": {
42
+ "mrope_section": [
43
+ 16,
44
+ 24,
45
+ 24
46
+ ],
47
+ "rope_theta": 500000,
48
+ "rope_type": "default",
49
+ "type": "default"
50
+ },
51
+ "rope_theta": 500000,
52
+ "scale_qk_coeff": 1.0,
53
+ "seq_length": 8192,
54
+ "sliding_window": null,
55
+ "tensor_model_parallel_size": -1,
56
+ "tie_word_embeddings": false,
57
+ "token_balance_seqlen": false,
58
+ "torch_dtype": "bfloat16",
59
+ "use_3d_rope": true,
60
+ "use_bias": false,
61
+ "use_cache": false,
62
+ "use_fast_layer_norm": false,
63
+ "use_flash_attention": false,
64
+ "video_token_id": 101307,
65
+ "vision_config": {
66
+ "architectures": [
67
+ "PaddleOCRVisionModel"
68
+ ],
69
+ "attention_dropout": 0.0,
70
+ "auto_map": {
71
+ "AutoConfig": "configuration_paddleocr_vl.PaddleOCRVLConfig",
72
+ "AutoModel": "modeling_paddleocr_vl.PaddleOCRVisionModel"
73
+ },
74
+ "hidden_act": "gelu_pytorch_tanh",
75
+ "hidden_size": 1152,
76
+ "image_size": 384,
77
+ "intermediate_size": 4304,
78
+ "layer_norm_eps": 1e-06,
79
+ "model_type": "paddleocr_vl",
80
+ "num_attention_heads": 16,
81
+ "num_channels": 3,
82
+ "num_hidden_layers": 27,
83
+ "pad_token_id": 0,
84
+ "patch_size": 14,
85
+ "spatial_merge_size": 2,
86
+ "temporal_patch_size": 2,
87
+ "tokens_per_second": 2,
88
+ "torch_dtype": "bfloat16"
89
+ },
90
+ "vision_end_token_id": 101306,
91
+ "vision_start_token_id": 101305,
92
+ "vocab_size": 103424,
93
+ "weight_share_add_bias": true
94
+ }