Update config.json
Browse files- config.json +5 -28
config.json
CHANGED
@@ -1,34 +1,11 @@
|
|
1 |
{
|
2 |
-
"architectures": [
|
3 |
-
"Gemma2ForCausalLM"
|
4 |
-
],
|
5 |
-
"attention_bias": false,
|
6 |
-
"attention_dropout": 0.0,
|
7 |
-
"attn_logit_softcapping": 50.0,
|
8 |
"bos_token_id": 2,
|
9 |
-
"cache_implementation": "hybrid",
|
10 |
"eos_token_id": 1,
|
11 |
-
"
|
12 |
-
"head_dim": 128,
|
13 |
-
"hidden_act": "gelu_pytorch_tanh",
|
14 |
-
"hidden_activation": "gelu_pytorch_tanh",
|
15 |
-
"hidden_size": 4608,
|
16 |
-
"initializer_range": 0.02,
|
17 |
-
"intermediate_size": 36864,
|
18 |
-
"max_position_embeddings": 8192,
|
19 |
-
"model_type": "gemma2",
|
20 |
-
"num_attention_heads": 32,
|
21 |
-
"num_hidden_layers": 46,
|
22 |
-
"num_key_value_heads": 16,
|
23 |
"pad_token_id": 0,
|
24 |
-
"query_pre_attn_scalar": 144,
|
25 |
-
"rms_norm_eps": 1e-06,
|
26 |
-
"rope_theta": 10000.0,
|
27 |
-
"sliding_window": 4096,
|
28 |
-
"sliding_window_size": 4096,
|
29 |
-
"torch_dtype": "bfloat16",
|
30 |
-
"transformers_version": "4.42.0.dev0",
|
31 |
-
"use_cache": true,
|
32 |
"vocab_size": 256000,
|
33 |
-
"
|
|
|
|
|
|
|
34 |
}
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token_id": 2,
|
|
|
3 |
"eos_token_id": 1,
|
4 |
+
"model_type": "gemini",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"vocab_size": 256000,
|
7 |
+
"transformers.js_config": {
|
8 |
+
"use_built_in_ai": true,
|
9 |
+
"load_tokenizer": false,
|
10 |
+
}
|
11 |
}
|