typorch commited on
Commit
2c3fc4a
1 Parent(s): f1b45a5

Upload model

Browse files
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/gemma",
3
+ "architectures": [
4
+ "GemmaModel"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 2,
9
+ "eos_token_id": 1,
10
+ "head_dim": 256,
11
+ "hidden_act": "gelu",
12
+ "hidden_activation": "gelu_pytorch_tanh",
13
+ "hidden_size": 2048,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 16384,
16
+ "max_position_embeddings": 8192,
17
+ "model_type": "gemma",
18
+ "num_attention_heads": 8,
19
+ "num_hidden_layers": 18,
20
+ "num_key_value_heads": 1,
21
+ "pad_token_id": 0,
22
+ "rms_norm_eps": 1e-06,
23
+ "rope_scaling": null,
24
+ "rope_theta": 10000.0,
25
+ "torch_dtype": "float32",
26
+ "transformers_version": "4.45.0.dev0",
27
+ "use_cache": false,
28
+ "vocab_size": 256000
29
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7846d3e99a8076f9407c199e43cef3994efbc9b517eba301d4a27910d928daec
3
+ size 4978865240
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dd0a6f3522cc1f062987e2d6db25146e8b13900a66881b8485354dacf140448
3
+ size 1082225016
model.safetensors.index.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 6061072384
4
+ },
5
+ "weight_map": {
6
+ "embed_tokens.weight": "model-00001-of-00002.safetensors",
7
+ "layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
8
+ "layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
9
+ "layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
10
+ "layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
11
+ "layers.0.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
12
+ "layers.0.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
13
+ "layers.0.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
14
+ "layers.0.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
15
+ "layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
16
+ "layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
17
+ "layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
18
+ "layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
19
+ "layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
20
+ "layers.1.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
21
+ "layers.1.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
22
+ "layers.1.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
23
+ "layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
24
+ "layers.1.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
25
+ "layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
26
+ "layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
27
+ "layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
28
+ "layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
29
+ "layers.10.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
30
+ "layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
31
+ "layers.10.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
32
+ "layers.10.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
33
+ "layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
34
+ "layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
35
+ "layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
36
+ "layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
37
+ "layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
38
+ "layers.11.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
39
+ "layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
40
+ "layers.11.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
41
+ "layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
42
+ "layers.11.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
43
+ "layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
44
+ "layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
45
+ "layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
46
+ "layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
47
+ "layers.12.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
48
+ "layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
49
+ "layers.12.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
50
+ "layers.12.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
51
+ "layers.12.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
52
+ "layers.13.input_layernorm.weight": "model-00002-of-00002.safetensors",
53
+ "layers.13.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
54
+ "layers.13.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
55
+ "layers.13.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
56
+ "layers.13.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
57
+ "layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
58
+ "layers.13.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
59
+ "layers.13.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
60
+ "layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
61
+ "layers.14.input_layernorm.weight": "model-00002-of-00002.safetensors",
62
+ "layers.14.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
63
+ "layers.14.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
64
+ "layers.14.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
65
+ "layers.14.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
66
+ "layers.14.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
67
+ "layers.14.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
68
+ "layers.14.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
69
+ "layers.14.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
70
+ "layers.15.input_layernorm.weight": "model-00002-of-00002.safetensors",
71
+ "layers.15.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
72
+ "layers.15.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
73
+ "layers.15.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
74
+ "layers.15.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
75
+ "layers.15.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
76
+ "layers.15.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
77
+ "layers.15.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
78
+ "layers.15.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
79
+ "layers.16.input_layernorm.weight": "model-00002-of-00002.safetensors",
80
+ "layers.16.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
81
+ "layers.16.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
82
+ "layers.16.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
83
+ "layers.16.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
84
+ "layers.16.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
85
+ "layers.16.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
86
+ "layers.16.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
87
+ "layers.16.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
88
+ "layers.17.input_layernorm.weight": "model-00002-of-00002.safetensors",
89
+ "layers.17.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
90
+ "layers.17.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
91
+ "layers.17.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
92
+ "layers.17.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
93
+ "layers.17.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
94
+ "layers.17.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
95
+ "layers.17.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
96
+ "layers.17.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
97
+ "layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
98
+ "layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
99
+ "layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
100
+ "layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
101
+ "layers.2.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
102
+ "layers.2.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
103
+ "layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
104
+ "layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
105
+ "layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
106
+ "layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
107
+ "layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
108
+ "layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
109
+ "layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
110
+ "layers.3.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
111
+ "layers.3.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
112
+ "layers.3.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
113
+ "layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
114
+ "layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
115
+ "layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
116
+ "layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
117
+ "layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
118
+ "layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
119
+ "layers.4.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
120
+ "layers.4.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
121
+ "layers.4.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
122
+ "layers.4.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
123
+ "layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
124
+ "layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
125
+ "layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
126
+ "layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
127
+ "layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
128
+ "layers.5.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
129
+ "layers.5.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
130
+ "layers.5.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
131
+ "layers.5.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
132
+ "layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
133
+ "layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
134
+ "layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
135
+ "layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
136
+ "layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
137
+ "layers.6.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
138
+ "layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
139
+ "layers.6.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
140
+ "layers.6.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
141
+ "layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
142
+ "layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
143
+ "layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
144
+ "layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
145
+ "layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
146
+ "layers.7.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
147
+ "layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
148
+ "layers.7.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
149
+ "layers.7.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
150
+ "layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
151
+ "layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
152
+ "layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
153
+ "layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
154
+ "layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
155
+ "layers.8.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
156
+ "layers.8.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
157
+ "layers.8.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
158
+ "layers.8.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
159
+ "layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
160
+ "layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
161
+ "layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
162
+ "layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
163
+ "layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
164
+ "layers.9.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
165
+ "layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
166
+ "layers.9.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
167
+ "layers.9.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
168
+ "layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
169
+ "norm.weight": "model-00002-of-00002.safetensors"
170
+ }
171
+ }