lodestones
commited on
Commit
•
e610f02
1
Parent(s):
4711225
Upload FlaxGemmaForCausalLM
Browse files- README.md +201 -0
- config.json +27 -0
- flax_model-00001-of-00004.msgpack +3 -0
- flax_model-00002-of-00004.msgpack +3 -0
- flax_model-00003-of-00004.msgpack +3 -0
- flax_model-00004-of-00004.msgpack +3 -0
- flax_model.msgpack.index.json +261 -0
- generation_config.json +7 -0
README.md
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags: []
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
|
201 |
+
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GemmaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"eos_token_id": 1,
|
9 |
+
"head_dim": 256,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_size": 3072,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 24576,
|
14 |
+
"max_position_embeddings": 8192,
|
15 |
+
"model_type": "gemma",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 28,
|
18 |
+
"num_key_value_heads": 16,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"rms_norm_eps": 1e-06,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 10000.0,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.38.1",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 256000
|
27 |
+
}
|
flax_model-00001-of-00004.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b306610d0a17f4f059652d13cd60e54068f05a6b745c0ec7b834887f2ef202fe
|
3 |
+
size 4894835345
|
flax_model-00002-of-00004.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:778bbf6e583457d67aacf0378ea313ff46ef64ca1fad857211f2764599e8c361
|
3 |
+
size 4982947525
|
flax_model-00003-of-00004.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c2491c1e151f06586b356d6b3f48ef7f9a9299d8bffa967a43519302eaed5d67
|
3 |
+
size 4982947522
|
flax_model-00004-of-00004.msgpack
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bf9beb4ba9a949460e5d1850ad0ccf01586afbc0e3885290804a69d3b1402ea6
|
3 |
+
size 2214643337
|
flax_model.msgpack.index.json
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 17075361792
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model/embed_tokens/embedding": "flax_model-00001-of-00004.msgpack",
|
7 |
+
"model/layers/0/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
8 |
+
"model/layers/0/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
9 |
+
"model/layers/0/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
10 |
+
"model/layers/0/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
11 |
+
"model/layers/0/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
12 |
+
"model/layers/0/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
13 |
+
"model/layers/0/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
14 |
+
"model/layers/0/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
15 |
+
"model/layers/0/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
16 |
+
"model/layers/1/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
17 |
+
"model/layers/1/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
18 |
+
"model/layers/1/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
19 |
+
"model/layers/1/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
20 |
+
"model/layers/1/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
21 |
+
"model/layers/1/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
22 |
+
"model/layers/1/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
23 |
+
"model/layers/1/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
24 |
+
"model/layers/1/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
25 |
+
"model/layers/10/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
26 |
+
"model/layers/10/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
27 |
+
"model/layers/10/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
28 |
+
"model/layers/10/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
29 |
+
"model/layers/10/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
30 |
+
"model/layers/10/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
31 |
+
"model/layers/10/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
32 |
+
"model/layers/10/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
33 |
+
"model/layers/10/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
34 |
+
"model/layers/11/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
35 |
+
"model/layers/11/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
36 |
+
"model/layers/11/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
37 |
+
"model/layers/11/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
38 |
+
"model/layers/11/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
39 |
+
"model/layers/11/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
40 |
+
"model/layers/11/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
41 |
+
"model/layers/11/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
42 |
+
"model/layers/11/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
43 |
+
"model/layers/12/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
44 |
+
"model/layers/12/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
45 |
+
"model/layers/12/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
46 |
+
"model/layers/12/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
47 |
+
"model/layers/12/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
48 |
+
"model/layers/12/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
49 |
+
"model/layers/12/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
50 |
+
"model/layers/12/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
51 |
+
"model/layers/12/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
52 |
+
"model/layers/13/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
53 |
+
"model/layers/13/mlp/down_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
54 |
+
"model/layers/13/mlp/gate_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
55 |
+
"model/layers/13/mlp/up_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
56 |
+
"model/layers/13/post_attention_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
57 |
+
"model/layers/13/self_attn/k_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
58 |
+
"model/layers/13/self_attn/o_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
59 |
+
"model/layers/13/self_attn/q_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
60 |
+
"model/layers/13/self_attn/v_proj/kernel": "flax_model-00001-of-00004.msgpack",
|
61 |
+
"model/layers/14/input_layernorm/weight": "flax_model-00001-of-00004.msgpack",
|
62 |
+
"model/layers/14/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
63 |
+
"model/layers/14/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
64 |
+
"model/layers/14/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
65 |
+
"model/layers/14/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
66 |
+
"model/layers/14/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
67 |
+
"model/layers/14/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
68 |
+
"model/layers/14/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
69 |
+
"model/layers/14/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
70 |
+
"model/layers/15/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
71 |
+
"model/layers/15/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
72 |
+
"model/layers/15/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
73 |
+
"model/layers/15/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
74 |
+
"model/layers/15/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
75 |
+
"model/layers/15/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
76 |
+
"model/layers/15/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
77 |
+
"model/layers/15/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
78 |
+
"model/layers/15/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
79 |
+
"model/layers/16/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
80 |
+
"model/layers/16/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
81 |
+
"model/layers/16/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
82 |
+
"model/layers/16/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
83 |
+
"model/layers/16/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
84 |
+
"model/layers/16/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
85 |
+
"model/layers/16/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
86 |
+
"model/layers/16/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
87 |
+
"model/layers/16/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
88 |
+
"model/layers/17/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
89 |
+
"model/layers/17/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
90 |
+
"model/layers/17/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
91 |
+
"model/layers/17/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
92 |
+
"model/layers/17/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
93 |
+
"model/layers/17/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
94 |
+
"model/layers/17/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
95 |
+
"model/layers/17/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
96 |
+
"model/layers/17/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
97 |
+
"model/layers/18/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
98 |
+
"model/layers/18/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
99 |
+
"model/layers/18/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
100 |
+
"model/layers/18/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
101 |
+
"model/layers/18/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
102 |
+
"model/layers/18/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
103 |
+
"model/layers/18/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
104 |
+
"model/layers/18/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
105 |
+
"model/layers/18/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
106 |
+
"model/layers/19/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
107 |
+
"model/layers/19/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
108 |
+
"model/layers/19/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
109 |
+
"model/layers/19/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
110 |
+
"model/layers/19/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
111 |
+
"model/layers/19/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
112 |
+
"model/layers/19/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
113 |
+
"model/layers/19/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
114 |
+
"model/layers/19/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
115 |
+
"model/layers/2/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
116 |
+
"model/layers/2/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
117 |
+
"model/layers/2/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
118 |
+
"model/layers/2/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
119 |
+
"model/layers/2/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
120 |
+
"model/layers/2/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
121 |
+
"model/layers/2/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
122 |
+
"model/layers/2/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
123 |
+
"model/layers/2/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
124 |
+
"model/layers/20/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
125 |
+
"model/layers/20/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
126 |
+
"model/layers/20/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
127 |
+
"model/layers/20/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
128 |
+
"model/layers/20/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
129 |
+
"model/layers/20/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
130 |
+
"model/layers/20/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
131 |
+
"model/layers/20/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
132 |
+
"model/layers/20/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
133 |
+
"model/layers/21/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
134 |
+
"model/layers/21/mlp/down_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
135 |
+
"model/layers/21/mlp/gate_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
136 |
+
"model/layers/21/mlp/up_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
137 |
+
"model/layers/21/post_attention_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
138 |
+
"model/layers/21/self_attn/k_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
139 |
+
"model/layers/21/self_attn/o_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
140 |
+
"model/layers/21/self_attn/q_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
141 |
+
"model/layers/21/self_attn/v_proj/kernel": "flax_model-00002-of-00004.msgpack",
|
142 |
+
"model/layers/22/input_layernorm/weight": "flax_model-00002-of-00004.msgpack",
|
143 |
+
"model/layers/22/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
144 |
+
"model/layers/22/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
145 |
+
"model/layers/22/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
146 |
+
"model/layers/22/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
147 |
+
"model/layers/22/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
148 |
+
"model/layers/22/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
149 |
+
"model/layers/22/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
150 |
+
"model/layers/22/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
151 |
+
"model/layers/23/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
152 |
+
"model/layers/23/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
153 |
+
"model/layers/23/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
154 |
+
"model/layers/23/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
155 |
+
"model/layers/23/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
156 |
+
"model/layers/23/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
157 |
+
"model/layers/23/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
158 |
+
"model/layers/23/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
159 |
+
"model/layers/23/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
160 |
+
"model/layers/24/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
161 |
+
"model/layers/24/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
162 |
+
"model/layers/24/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
163 |
+
"model/layers/24/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
164 |
+
"model/layers/24/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
165 |
+
"model/layers/24/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
166 |
+
"model/layers/24/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
167 |
+
"model/layers/24/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
168 |
+
"model/layers/24/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
169 |
+
"model/layers/25/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
170 |
+
"model/layers/25/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
171 |
+
"model/layers/25/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
172 |
+
"model/layers/25/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
173 |
+
"model/layers/25/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
174 |
+
"model/layers/25/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
175 |
+
"model/layers/25/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
176 |
+
"model/layers/25/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
177 |
+
"model/layers/25/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
178 |
+
"model/layers/26/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
179 |
+
"model/layers/26/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
180 |
+
"model/layers/26/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
181 |
+
"model/layers/26/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
182 |
+
"model/layers/26/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
183 |
+
"model/layers/26/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
184 |
+
"model/layers/26/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
185 |
+
"model/layers/26/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
186 |
+
"model/layers/26/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
187 |
+
"model/layers/27/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
188 |
+
"model/layers/27/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
189 |
+
"model/layers/27/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
190 |
+
"model/layers/27/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
191 |
+
"model/layers/27/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
192 |
+
"model/layers/27/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
193 |
+
"model/layers/27/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
194 |
+
"model/layers/27/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
195 |
+
"model/layers/27/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
196 |
+
"model/layers/3/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
197 |
+
"model/layers/3/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
198 |
+
"model/layers/3/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
199 |
+
"model/layers/3/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
200 |
+
"model/layers/3/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
201 |
+
"model/layers/3/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
202 |
+
"model/layers/3/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
203 |
+
"model/layers/3/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
204 |
+
"model/layers/3/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
205 |
+
"model/layers/4/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
206 |
+
"model/layers/4/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
207 |
+
"model/layers/4/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
208 |
+
"model/layers/4/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
209 |
+
"model/layers/4/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
210 |
+
"model/layers/4/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
211 |
+
"model/layers/4/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
212 |
+
"model/layers/4/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
213 |
+
"model/layers/4/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
214 |
+
"model/layers/5/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
215 |
+
"model/layers/5/mlp/down_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
216 |
+
"model/layers/5/mlp/gate_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
217 |
+
"model/layers/5/mlp/up_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
218 |
+
"model/layers/5/post_attention_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
219 |
+
"model/layers/5/self_attn/k_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
220 |
+
"model/layers/5/self_attn/o_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
221 |
+
"model/layers/5/self_attn/q_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
222 |
+
"model/layers/5/self_attn/v_proj/kernel": "flax_model-00003-of-00004.msgpack",
|
223 |
+
"model/layers/6/input_layernorm/weight": "flax_model-00003-of-00004.msgpack",
|
224 |
+
"model/layers/6/mlp/down_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
225 |
+
"model/layers/6/mlp/gate_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
226 |
+
"model/layers/6/mlp/up_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
227 |
+
"model/layers/6/post_attention_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
228 |
+
"model/layers/6/self_attn/k_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
229 |
+
"model/layers/6/self_attn/o_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
230 |
+
"model/layers/6/self_attn/q_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
231 |
+
"model/layers/6/self_attn/v_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
232 |
+
"model/layers/7/input_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
233 |
+
"model/layers/7/mlp/down_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
234 |
+
"model/layers/7/mlp/gate_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
235 |
+
"model/layers/7/mlp/up_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
236 |
+
"model/layers/7/post_attention_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
237 |
+
"model/layers/7/self_attn/k_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
238 |
+
"model/layers/7/self_attn/o_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
239 |
+
"model/layers/7/self_attn/q_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
240 |
+
"model/layers/7/self_attn/v_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
241 |
+
"model/layers/8/input_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
242 |
+
"model/layers/8/mlp/down_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
243 |
+
"model/layers/8/mlp/gate_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
244 |
+
"model/layers/8/mlp/up_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
245 |
+
"model/layers/8/post_attention_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
246 |
+
"model/layers/8/self_attn/k_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
247 |
+
"model/layers/8/self_attn/o_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
248 |
+
"model/layers/8/self_attn/q_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
249 |
+
"model/layers/8/self_attn/v_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
250 |
+
"model/layers/9/input_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
251 |
+
"model/layers/9/mlp/down_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
252 |
+
"model/layers/9/mlp/gate_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
253 |
+
"model/layers/9/mlp/up_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
254 |
+
"model/layers/9/post_attention_layernorm/weight": "flax_model-00004-of-00004.msgpack",
|
255 |
+
"model/layers/9/self_attn/k_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
256 |
+
"model/layers/9/self_attn/o_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
257 |
+
"model/layers/9/self_attn/q_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
258 |
+
"model/layers/9/self_attn/v_proj/kernel": "flax_model-00004-of-00004.msgpack",
|
259 |
+
"model/norm/weight": "flax_model-00004-of-00004.msgpack"
|
260 |
+
}
|
261 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.38.1"
|
7 |
+
}
|