Sayan01 commited on
Commit
aca6b9a
·
verified ·
1 Parent(s): 9795378

Upload Gemma2ForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. generation_config.json +8 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "final_logit_softcapping": 30.0,
12
+ "head_dim": 256,
13
+ "hidden_act": "gelu_pytorch_tanh",
14
+ "hidden_activation": "gelu_pytorch_tanh",
15
+ "hidden_size": 3584,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
+ "max_position_embeddings": 8192,
19
+ "model_type": "gemma2",
20
+ "num_attention_heads": 16,
21
+ "num_hidden_layers": 14,
22
+ "num_key_value_heads": 8,
23
+ "pad_token_id": 0,
24
+ "query_pre_attn_scalar": 256,
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.50.0",
31
+ "use_cache": true,
32
+ "vocab_size": 256000
33
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "cache_implementation": "hybrid",
5
+ "eos_token_id": 1,
6
+ "pad_token_id": 0,
7
+ "transformers_version": "4.50.0"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2a76a8179beff166b2be8371da17f5b07bab996ae5024669d0e28385a9ecf1a
3
+ size 4301685552