rootlocalghost commited on
Commit
152c7fa
·
verified ·
1 Parent(s): 3479e2e

clone config.json

Browse files
Files changed (1) hide show
  1. config.json +77 -0
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "QianfanOCRForConditionalGeneration"
4
+ ],
5
+ "downsample_ratio": 0.5,
6
+ "dynamic_image_size": true,
7
+ "eos_token_id": 151645,
8
+ "force_image_size": 448,
9
+ "image_token_id": 151671,
10
+ "text_config": {
11
+ "_name_or_path": "/root/codespace/checkpoints/Qwen3-4B",
12
+ "architectures": [
13
+ "Qwen3ForCausalLM"
14
+ ],
15
+ "attention_bias": false,
16
+ "attention_dropout": 0.0,
17
+ "bos_token_id": 151643,
18
+ "debug": false,
19
+ "eos_token_id": 151645,
20
+ "ep_size": 1,
21
+ "head_dim": 128,
22
+ "hidden_act": "silu",
23
+ "hidden_size": 2560,
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 9728,
26
+ "max_position_embeddings": 32768,
27
+ "max_window_layers": 36,
28
+ "micro_forward": false,
29
+ "model_type": "qwen3",
30
+ "num_attention_heads": 32,
31
+ "num_hidden_layers": 36,
32
+ "num_key_value_heads": 8,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 5000000,
36
+ "skip_checkpoint": false,
37
+ "sliding_window": null,
38
+ "torch_dtype": "bfloat16",
39
+ "use_cache": false,
40
+ "use_deepep": false,
41
+ "use_sliding_window": false,
42
+ "vocab_size": 153678
43
+ },
44
+ "max_dynamic_patch": 12,
45
+ "min_dynamic_patch": 1,
46
+ "model_type": "qianfan_ocr",
47
+ "pad2square": false,
48
+ "pad_token_id": 151643,
49
+ "ps_version": "v2",
50
+ "select_layer": -1,
51
+ "template": "internvl2_5",
52
+ "tie_word_embeddings": false,
53
+ "torch_dtype": "bfloat16",
54
+ "transformers_version": null,
55
+ "use_thumbnail": true,
56
+ "vision_config": {
57
+ "architectures": [
58
+ "QianfanOCRVisionModel"
59
+ ],
60
+ "attention_dropout": 0.0,
61
+ "drop_path_rate": 0.1,
62
+ "hidden_act": "gelu",
63
+ "hidden_size": 1024,
64
+ "image_size": 448,
65
+ "initializer_range": 0.02,
66
+ "intermediate_size": 4096,
67
+ "layer_norm_eps": 1e-06,
68
+ "model_type": "qianfan_ocr_vision",
69
+ "norm_type": "layer_norm",
70
+ "num_attention_heads": 16,
71
+ "num_channels": 3,
72
+ "num_hidden_layers": 24,
73
+ "patch_size": 14,
74
+ "qkv_bias": true,
75
+ "torch_dtype": "bfloat16"
76
+ }
77
+ }