smcleish commited on
Commit
7a47c7f
·
verified ·
1 Parent(s): 037badb

Upload GemmaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +32 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GemmaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attn_logit_softcapping": null,
8
+ "bos_token_id": 0,
9
+ "eos_token_id": 0,
10
+ "final_logit_softcapping": null,
11
+ "head_dim": 128,
12
+ "hidden_act": "gelu",
13
+ "hidden_activation": null,
14
+ "hidden_size": 512,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 2048,
17
+ "max_position_embeddings": 2048,
18
+ "model_type": "gemma",
19
+ "num_attention_heads": 4,
20
+ "num_hidden_layers": 12,
21
+ "num_key_value_heads": 2,
22
+ "pad_token_id": 0,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_scaling": null,
25
+ "rope_theta": 10000.0,
26
+ "sliding_window": null,
27
+ "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.48.2",
30
+ "use_cache": true,
31
+ "vocab_size": 50304
32
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.48.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2d30987c1dda02c19ef6e8826bc140e2c88af0c018175974c48f3715b8add11
3
+ size 394852384