lolzinventor commited on
Commit
0fc98e3
·
verified ·
1 Parent(s): 266c0b4

Upload Gemma3ForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma3ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 255999,
6
+ "dtype": "bfloat16",
7
+ "eoi_token_index": 256000,
8
+ "hidden_size": 5376,
9
+ "image_token_index": 262144,
10
+ "initializer_range": 0.02,
11
+ "mm_tokens_per_image": 256,
12
+ "model_type": "gemma3",
13
+ "text_config": {
14
+ "_sliding_window_pattern": 6,
15
+ "attention_bias": false,
16
+ "attention_dropout": 0.0,
17
+ "attn_logit_softcapping": null,
18
+ "dtype": "bfloat16",
19
+ "final_logit_softcapping": null,
20
+ "head_dim": 128,
21
+ "hidden_activation": "gelu_pytorch_tanh",
22
+ "hidden_size": 5376,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 21504,
25
+ "layer_types": [
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "sliding_attention",
31
+ "full_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "sliding_attention",
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "full_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "sliding_attention",
47
+ "sliding_attention",
48
+ "sliding_attention",
49
+ "full_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "sliding_attention",
53
+ "sliding_attention",
54
+ "sliding_attention",
55
+ "full_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "sliding_attention",
59
+ "sliding_attention",
60
+ "sliding_attention",
61
+ "full_attention",
62
+ "sliding_attention",
63
+ "sliding_attention",
64
+ "sliding_attention",
65
+ "sliding_attention",
66
+ "sliding_attention",
67
+ "full_attention",
68
+ "sliding_attention",
69
+ "sliding_attention",
70
+ "sliding_attention",
71
+ "sliding_attention",
72
+ "sliding_attention",
73
+ "full_attention",
74
+ "sliding_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "sliding_attention",
78
+ "sliding_attention",
79
+ "full_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "sliding_attention",
83
+ "sliding_attention",
84
+ "sliding_attention",
85
+ "full_attention",
86
+ "sliding_attention",
87
+ "sliding_attention"
88
+ ],
89
+ "max_position_embeddings": 131072,
90
+ "model_type": "gemma3_text",
91
+ "num_attention_heads": 32,
92
+ "num_hidden_layers": 62,
93
+ "num_key_value_heads": 16,
94
+ "query_pre_attn_scalar": 168,
95
+ "rms_norm_eps": 1e-06,
96
+ "rope_local_base_freq": 10000.0,
97
+ "rope_scaling": {
98
+ "factor": 8.0,
99
+ "rope_type": "linear"
100
+ },
101
+ "rope_theta": 1000000.0,
102
+ "sliding_window": 1024,
103
+ "use_bidirectional_attention": false,
104
+ "use_cache": true,
105
+ "vocab_size": 262208
106
+ },
107
+ "transformers_version": "4.57.3",
108
+ "use_cache": true,
109
+ "vision_config": {
110
+ "attention_dropout": 0.0,
111
+ "dtype": "bfloat16",
112
+ "hidden_act": "gelu_pytorch_tanh",
113
+ "hidden_size": 1152,
114
+ "image_size": 896,
115
+ "intermediate_size": 4304,
116
+ "layer_norm_eps": 1e-06,
117
+ "model_type": "siglip_vision_model",
118
+ "num_attention_heads": 16,
119
+ "num_channels": 3,
120
+ "num_hidden_layers": 27,
121
+ "patch_size": 14,
122
+ "vision_use_head": false
123
+ }
124
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "cache_implementation": "hybrid",
4
+ "do_sample": true,
5
+ "eos_token_id": [
6
+ 1,
7
+ 106
8
+ ],
9
+ "pad_token_id": 0,
10
+ "top_k": 64,
11
+ "top_p": 0.95,
12
+ "transformers_version": "4.57.3"
13
+ }
model-00001-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88eb36da82f5ee78cef532e97135777436bcb348d1edb3caeda5d32780890089
3
+ size 4854573696
model-00002-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad17c503d855f77657010eabdedcaace2079ab49e904ae6681ed1b9e65ac8a0f
3
+ size 4954792944
model-00003-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4b7358d30a6ef753b9ed52d9768b1ef0a0dc22ba55401a57fefdfe09a00ae34
3
+ size 4954792976
model-00004-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858d11b89e6d085d36e127ba7f0701d9c8bb4a4ccc25808b636d38679218c47a
3
+ size 4954793016
model-00005-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb743c8a9a173b2456e99598af3b588fe9c70dded6389dbf8c4d0507674a2f28
3
+ size 4954793016
model-00006-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fe5de7c156ef3bf6b9f2e514d834560a0b9f4965543ac7108468886eb0600ee
3
+ size 4954793016
model-00007-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcf1895a4a7f704d5098b03ac475e7b600cb0db60a8fad7cc4313b351376ddcf
3
+ size 4954793016
model-00008-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6a5481d4dbaf57e5cf0caf5524ecd4b16eecb215e5036048f9a52a72eb7bb3f
3
+ size 4954793016
model-00009-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c4adbb73da745d51d3cb87da2b2b218ff115e93510b83d2b96804b97d222f4
3
+ size 4954793016
model-00010-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e383d8209d1261df9ed5707f9ad1ea9601f523b11a6b7ada13b56d1231c32b4e
3
+ size 4954793016
model-00011-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51f9dbe0c73828a41d5b8ce473e169f1161153e423d0f68a6e1ded20c6055306
3
+ size 4954793016
model-00012-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8d85177c5a0e909a9dfc1c212c1460f12b908fbf69262ab7682205f34314715
3
+ size 462476696
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff