marcinbrzezanski commited on
Commit
eb9d505
1 Parent(s): e6696ea

Upload Gemma2ForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. generation_config.json +11 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/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
+ "bits": 8,
30
+ "damp_percent": 0.1,
31
+ "dataset": "c4",
32
+ "desc_act": false,
33
+ "group_size": 128,
34
+ "modules_in_block_to_quantize": null,
35
+ "quant_method": "gptq",
36
+ "sym": true,
37
+ "true_sequential": true
38
+ },
39
+ "query_pre_attn_scalar": 256,
40
+ "rms_norm_eps": 1e-06,
41
+ "rope_theta": 10000.0,
42
+ "sliding_window": 4096,
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.43.3",
45
+ "use_cache": true,
46
+ "vocab_size": 256000
47
+ }
generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": [
6
+ 1,
7
+ 107
8
+ ],
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.43.3"
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f7bdb04a042428a0fd3843d804923ca200e4454b876f53ecd1241ff137e8cf
3
+ size 3254315080