GenbaLabs commited on
Commit
2abda87
·
verified ·
1 Parent(s): 2486063

weight: config.json

Browse files
Files changed (1) hide show
  1. config.json +175 -0
config.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DiffusionGemmaForBlockDiffusion"
4
+ ],
5
+ "boi_token_id": 255999,
6
+ "canvas_length": 256,
7
+ "dtype": "bfloat16",
8
+ "eoi_token_id": 258882,
9
+ "eos_token_id": [
10
+ 1,
11
+ 106
12
+ ],
13
+ "image_token_id": 258880,
14
+ "initializer_range": 0.02,
15
+ "model_type": "diffusion_gemma",
16
+ "text_config": {
17
+ "attention_bias": false,
18
+ "attention_dropout": 0.0,
19
+ "bos_token_id": 2,
20
+ "dtype": "bfloat16",
21
+ "eos_token_id": 1,
22
+ "final_logit_softcapping": 30.0,
23
+ "global_head_dim": 512,
24
+ "head_dim": 256,
25
+ "hidden_activation": "gelu_pytorch_tanh",
26
+ "hidden_size": 2816,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 2112,
29
+ "layer_types": [
30
+ "sliding_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "full_attention",
36
+ "sliding_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "full_attention",
42
+ "sliding_attention",
43
+ "sliding_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "full_attention",
48
+ "sliding_attention",
49
+ "sliding_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "full_attention",
54
+ "sliding_attention",
55
+ "sliding_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "full_attention"
60
+ ],
61
+ "max_position_embeddings": 262144,
62
+ "model_type": "diffusion_gemma_text",
63
+ "moe_intermediate_size": 704,
64
+ "num_attention_heads": 16,
65
+ "num_experts": 128,
66
+ "num_global_key_value_heads": 2,
67
+ "num_hidden_layers": 30,
68
+ "num_key_value_heads": 8,
69
+ "pad_token_id": 0,
70
+ "rms_norm_eps": 1e-06,
71
+ "rope_parameters": {
72
+ "full_attention": {
73
+ "partial_rotary_factor": 0.25,
74
+ "rope_theta": 1000000.0,
75
+ "rope_type": "proportional"
76
+ },
77
+ "sliding_attention": {
78
+ "rope_theta": 10000.0,
79
+ "rope_type": "default"
80
+ }
81
+ },
82
+ "sliding_window": 1024,
83
+ "tie_word_embeddings": true,
84
+ "top_k_experts": 8,
85
+ "use_bidirectional_attention": "vision",
86
+ "vocab_size": 262144
87
+ },
88
+ "tie_word_embeddings": true,
89
+ "transformers_version": "5.8.0.dev0",
90
+ "vision_config": {
91
+ "_name_or_path": "",
92
+ "architectures": null,
93
+ "attention_bias": false,
94
+ "attention_dropout": 0.0,
95
+ "chunk_size_feed_forward": 0,
96
+ "default_output_length": 280,
97
+ "dtype": "bfloat16",
98
+ "global_head_dim": 72,
99
+ "head_dim": 72,
100
+ "hidden_activation": "gelu_pytorch_tanh",
101
+ "hidden_size": 1152,
102
+ "id2label": {
103
+ "0": "LABEL_0",
104
+ "1": "LABEL_1"
105
+ },
106
+ "initializer_range": 0.02,
107
+ "intermediate_size": 4304,
108
+ "is_encoder_decoder": false,
109
+ "label2id": {
110
+ "LABEL_0": 0,
111
+ "LABEL_1": 1
112
+ },
113
+ "max_position_embeddings": 131072,
114
+ "model_type": "gemma4_vision",
115
+ "num_attention_heads": 16,
116
+ "num_hidden_layers": 27,
117
+ "num_key_value_heads": 16,
118
+ "output_attentions": false,
119
+ "output_hidden_states": false,
120
+ "patch_size": 16,
121
+ "pooling_kernel_size": 3,
122
+ "position_embedding_size": 10240,
123
+ "problem_type": null,
124
+ "return_dict": true,
125
+ "rms_norm_eps": 1e-06,
126
+ "rope_parameters": {
127
+ "rope_theta": 100.0,
128
+ "rope_type": "default"
129
+ },
130
+ "standardize": true,
131
+ "use_clipped_linears": false
132
+ },
133
+ "vision_soft_tokens_per_image": 280,
134
+ "quantization_config": {
135
+ "config_groups": {
136
+ "group_0": {
137
+ "input_activations": {
138
+ "dynamic": false,
139
+ "num_bits": 4,
140
+ "type": "float",
141
+ "group_size": 16
142
+ },
143
+ "weights": {
144
+ "dynamic": false,
145
+ "num_bits": 4,
146
+ "type": "float",
147
+ "group_size": 16
148
+ },
149
+ "targets": [
150
+ "Linear"
151
+ ]
152
+ }
153
+ },
154
+ "ignore": [
155
+ "lm_head",
156
+ "*embed_vision*",
157
+ "*mlp*",
158
+ "*router*",
159
+ "*self_attn*",
160
+ "*self_conditioning*",
161
+ "*vision_tower*"
162
+ ],
163
+ "quant_algo": "NVFP4",
164
+ "kv_cache_scheme": {
165
+ "dynamic": false,
166
+ "num_bits": 8,
167
+ "type": "float"
168
+ },
169
+ "producer": {
170
+ "name": "modelopt",
171
+ "version": "0.45.0.dev127+ga3a02ca5b.d20260608"
172
+ },
173
+ "quant_method": "modelopt"
174
+ }
175
+ }