RichardErkhov commited on
Commit
c19ac1f
·
verified ·
1 Parent(s): 60e5aae

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +42 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "shieldgemma-2b",
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
+ "dtype": "bfloat16",
12
+ "eos_token_id": 1,
13
+ "final_logit_softcapping": 30.0,
14
+ "head_dim": 256,
15
+ "hidden_act": "gelu_pytorch_tanh",
16
+ "hidden_activation": "gelu_pytorch_tanh",
17
+ "hidden_size": 2304,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 9216,
20
+ "max_position_embeddings": 8192,
21
+ "model_type": "gemma2",
22
+ "num_attention_heads": 8,
23
+ "num_hidden_layers": 26,
24
+ "num_key_value_heads": 4,
25
+ "pad_token_id": 0,
26
+ "quantization_config": {
27
+ "bits": 4,
28
+ "group_size": 128,
29
+ "modules_to_not_convert": null,
30
+ "quant_method": "awq",
31
+ "version": "gemm",
32
+ "zero_point": true
33
+ },
34
+ "query_pre_attn_scalar": 224,
35
+ "rms_norm_eps": 1e-06,
36
+ "rope_theta": 10000.0,
37
+ "sliding_window": 4096,
38
+ "torch_dtype": "float16",
39
+ "transformers_version": "4.46.2",
40
+ "use_cache": false,
41
+ "vocab_size": 256000
42
+ }