Upload Gemma3ForCausalLM
Browse files- config.json +27 -21
- generation_config.json +11 -6
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,25 +1,28 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "HuggingFaceTB/SmolLM-1.7B-Instruct",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_bias": false,
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
-
"intermediate_size":
|
15 |
-
"max_position_embeddings":
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"pad_token_id": 2,
|
22 |
-
"pretraining_tp": 1,
|
23 |
"quantization_config": {
|
24 |
"_load_in_4bit": true,
|
25 |
"_load_in_8bit": false,
|
@@ -35,12 +38,15 @@
|
|
35 |
"load_in_8bit": false,
|
36 |
"quant_method": "bitsandbytes"
|
37 |
},
|
38 |
-
"
|
|
|
|
|
39 |
"rope_scaling": null,
|
40 |
-
"rope_theta":
|
41 |
-
"
|
|
|
42 |
"torch_dtype": "float32",
|
43 |
-
"transformers_version": "4.
|
44 |
"use_cache": true,
|
45 |
-
"vocab_size":
|
46 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
+
"Gemma3ForCausalLM"
|
4 |
],
|
5 |
"attention_bias": false,
|
6 |
"attention_dropout": 0.0,
|
7 |
+
"attn_logit_softcapping": null,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"cache_implementation": "hybrid",
|
10 |
+
"eos_token_id": [
|
11 |
+
1,
|
12 |
+
106
|
13 |
+
],
|
14 |
+
"final_logit_softcapping": null,
|
15 |
+
"head_dim": 256,
|
16 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
17 |
+
"hidden_size": 1152,
|
18 |
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 6912,
|
20 |
+
"max_position_embeddings": 32768,
|
21 |
+
"model_type": "gemma3_text",
|
22 |
+
"num_attention_heads": 4,
|
23 |
+
"num_hidden_layers": 26,
|
24 |
+
"num_key_value_heads": 1,
|
25 |
+
"pad_token_id": 0,
|
|
|
|
|
26 |
"quantization_config": {
|
27 |
"_load_in_4bit": true,
|
28 |
"_load_in_8bit": false,
|
|
|
38 |
"load_in_8bit": false,
|
39 |
"quant_method": "bitsandbytes"
|
40 |
},
|
41 |
+
"query_pre_attn_scalar": 256,
|
42 |
+
"rms_norm_eps": 1e-06,
|
43 |
+
"rope_local_base_freq": 10000,
|
44 |
"rope_scaling": null,
|
45 |
+
"rope_theta": 1000000,
|
46 |
+
"sliding_window": 512,
|
47 |
+
"sliding_window_pattern": 6,
|
48 |
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.50.0",
|
50 |
"use_cache": true,
|
51 |
+
"vocab_size": 262144
|
52 |
}
|
generation_config.json
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
|
|
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.50.0"
|
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:f59dd1baa08acf807cc847c351e59b944dcbf04968518d377d62652486a7b8d6
|
3 |
+
size 1617811758
|