mgeorge412 commited on
Commit
d13eff3
·
verified ·
1 Parent(s): 6053e9b

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +68 -0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GlmOcrForConditionalGeneration"
4
+ ],
5
+ "image_end_token_id": 59257,
6
+ "image_start_token_id": 59256,
7
+ "image_token_id": 59280,
8
+ "model_type": "glm_ocr",
9
+ "text_config": {
10
+ "attention_bias": false,
11
+ "attention_dropout": 0.0,
12
+ "dtype": "bfloat16",
13
+ "eos_token_id": [
14
+ 59246,
15
+ 59253
16
+ ],
17
+ "head_dim": 128,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 1536,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 4608,
22
+ "max_position_embeddings": 131072,
23
+ "model_type": "glm_ocr_text",
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 16,
26
+ "num_key_value_heads": 8,
27
+ "num_nextn_predict_layers": 1,
28
+ "pad_token_id": 59246,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_parameters": {
31
+ "mrope_section": [
32
+ 16,
33
+ 24,
34
+ 24
35
+ ],
36
+ "partial_rotary_factor": 1.0,
37
+ "rope_theta": 10000,
38
+ "rope_type": "default"
39
+ },
40
+ "tie_word_embeddings": false,
41
+ "use_cache": true,
42
+ "vocab_size": 59392
43
+ },
44
+ "tie_word_embeddings": false,
45
+ "transformers_version": "5.2.0",
46
+ "video_end_token_id": 59259,
47
+ "video_start_token_id": 59258,
48
+ "video_token_id": 59281,
49
+ "vision_config": {
50
+ "attention_bias": true,
51
+ "attention_dropout": 0.0,
52
+ "depth": 24,
53
+ "hidden_act": "silu",
54
+ "hidden_dropout_prob": 0.0,
55
+ "hidden_size": 1024,
56
+ "image_size": 336,
57
+ "in_channels": 3,
58
+ "initializer_range": 0.02,
59
+ "intermediate_size": 4096,
60
+ "model_type": "glm_ocr_vision",
61
+ "num_heads": 16,
62
+ "out_hidden_size": 1536,
63
+ "patch_size": 14,
64
+ "rms_norm_eps": 1e-05,
65
+ "spatial_merge_size": 2,
66
+ "temporal_patch_size": 2
67
+ }
68
+ }