maloukafer commited on
Commit
afcc18f
·
verified ·
1 Parent(s): 82f94d6

Upload config.json with huggingface_hub

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