RichardErkhov
commited on
Commit
•
dc3485e
1
Parent(s):
3a7d3e2
uploaded model
Browse files- config.json +51 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gemma-2-2b-it",
|
3 |
+
"architectures": [
|
4 |
+
"Gemma2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"attn_logit_softcapping": 50.0,
|
9 |
+
"bos_token_id": 2,
|
10 |
+
"cache_implementation": "hybrid",
|
11 |
+
"eos_token_id": [
|
12 |
+
1,
|
13 |
+
107
|
14 |
+
],
|
15 |
+
"final_logit_softcapping": 30.0,
|
16 |
+
"head_dim": 256,
|
17 |
+
"hidden_act": "gelu_pytorch_tanh",
|
18 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
19 |
+
"hidden_size": 2304,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 9216,
|
22 |
+
"max_position_embeddings": 8192,
|
23 |
+
"model_type": "gemma2",
|
24 |
+
"num_attention_heads": 8,
|
25 |
+
"num_hidden_layers": 26,
|
26 |
+
"num_key_value_heads": 4,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"quantization_config": {
|
29 |
+
"_load_in_4bit": false,
|
30 |
+
"_load_in_8bit": true,
|
31 |
+
"bnb_4bit_compute_dtype": "float32",
|
32 |
+
"bnb_4bit_quant_storage": "uint8",
|
33 |
+
"bnb_4bit_quant_type": "fp4",
|
34 |
+
"bnb_4bit_use_double_quant": false,
|
35 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
36 |
+
"llm_int8_has_fp16_weight": false,
|
37 |
+
"llm_int8_skip_modules": null,
|
38 |
+
"llm_int8_threshold": 6.0,
|
39 |
+
"load_in_4bit": false,
|
40 |
+
"load_in_8bit": true,
|
41 |
+
"quant_method": "bitsandbytes"
|
42 |
+
},
|
43 |
+
"query_pre_attn_scalar": 256,
|
44 |
+
"rms_norm_eps": 1e-06,
|
45 |
+
"rope_theta": 10000.0,
|
46 |
+
"sliding_window": 4096,
|
47 |
+
"torch_dtype": "float16",
|
48 |
+
"transformers_version": "4.44.2",
|
49 |
+
"use_cache": true,
|
50 |
+
"vocab_size": 256000
|
51 |
+
}
|