Upload Gemma3ForCausalLM
Browse files- config.json +53 -26
- generation_config.json +9 -3
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,27 +1,56 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
|
|
6 |
"attention_dropout": 0.0,
|
7 |
-
"
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
"
|
15 |
-
"head_dim":
|
16 |
-
"
|
|
|
17 |
"initializer_range": 0.02,
|
18 |
-
"intermediate_size":
|
19 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
"max_position_embeddings": 32768,
|
21 |
-
"model_type": "
|
22 |
-
"num_attention_heads":
|
23 |
-
"
|
24 |
-
"
|
25 |
"pad_token_id": 0,
|
26 |
"quantization_config": {
|
27 |
"backend": null,
|
@@ -55,16 +84,14 @@
|
|
55 |
"use_cuda_fp16": false,
|
56 |
"use_exllama": true
|
57 |
},
|
58 |
-
"
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
"original_max_position_embeddings": 8192,
|
63 |
-
"rope_type": "llama3"
|
64 |
-
},
|
65 |
"rope_theta": 1000000,
|
|
|
66 |
"torch_dtype": "float16",
|
67 |
"transformers_version": "4.55.2",
|
68 |
"use_cache": true,
|
69 |
-
"vocab_size":
|
70 |
}
|
|
|
1 |
{
|
2 |
+
"_sliding_window_pattern": 6,
|
3 |
"architectures": [
|
4 |
+
"Gemma3ForCausalLM"
|
5 |
],
|
6 |
+
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"attn_logit_softcapping": null,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"cache_implementation": "hybrid",
|
11 |
+
"eos_token_id": [
|
12 |
+
1,
|
13 |
+
106
|
14 |
+
],
|
15 |
+
"final_logit_softcapping": null,
|
16 |
+
"head_dim": 256,
|
17 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
18 |
+
"hidden_size": 1152,
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 6912,
|
21 |
+
"layer_types": [
|
22 |
+
"sliding_attention",
|
23 |
+
"sliding_attention",
|
24 |
+
"sliding_attention",
|
25 |
+
"sliding_attention",
|
26 |
+
"sliding_attention",
|
27 |
+
"full_attention",
|
28 |
+
"sliding_attention",
|
29 |
+
"sliding_attention",
|
30 |
+
"sliding_attention",
|
31 |
+
"sliding_attention",
|
32 |
+
"sliding_attention",
|
33 |
+
"full_attention",
|
34 |
+
"sliding_attention",
|
35 |
+
"sliding_attention",
|
36 |
+
"sliding_attention",
|
37 |
+
"sliding_attention",
|
38 |
+
"sliding_attention",
|
39 |
+
"full_attention",
|
40 |
+
"sliding_attention",
|
41 |
+
"sliding_attention",
|
42 |
+
"sliding_attention",
|
43 |
+
"sliding_attention",
|
44 |
+
"sliding_attention",
|
45 |
+
"full_attention",
|
46 |
+
"sliding_attention",
|
47 |
+
"sliding_attention"
|
48 |
+
],
|
49 |
"max_position_embeddings": 32768,
|
50 |
+
"model_type": "gemma3_text",
|
51 |
+
"num_attention_heads": 4,
|
52 |
+
"num_hidden_layers": 26,
|
53 |
+
"num_key_value_heads": 1,
|
54 |
"pad_token_id": 0,
|
55 |
"quantization_config": {
|
56 |
"backend": null,
|
|
|
84 |
"use_cuda_fp16": false,
|
85 |
"use_exllama": true
|
86 |
},
|
87 |
+
"query_pre_attn_scalar": 256,
|
88 |
+
"rms_norm_eps": 1e-06,
|
89 |
+
"rope_local_base_freq": 10000,
|
90 |
+
"rope_scaling": null,
|
|
|
|
|
|
|
91 |
"rope_theta": 1000000,
|
92 |
+
"sliding_window": 512,
|
93 |
"torch_dtype": "float16",
|
94 |
"transformers_version": "4.55.2",
|
95 |
"use_cache": true,
|
96 |
+
"vocab_size": 262144
|
97 |
}
|
generation_config.json
CHANGED
@@ -1,7 +1,13 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
|
|
|
|
|
|
|
|
5 |
"pad_token_id": 0,
|
|
|
|
|
6 |
"transformers_version": "4.55.2"
|
7 |
}
|
|
|
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.55.2"
|
13 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c9f4a1eb9490b0afb755cfa3d96456278e5de7fc3d2e0848f49731a5ad1c441
|
3 |
+
size 968279216
|