mhenrichsen
commited on
Commit
•
7831bde
1
Parent(s):
4daa565
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +441 -0
- config.json +27 -0
- generation_config.json +7 -0
- gitattributes +37 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +261 -0
- special_tokens_map.json +30 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +49 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,441 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
---
|
4 |
+
|
5 |
+
# Reupload of Google Gemma - Find original readme below.
|
6 |
+
|
7 |
+
# Gemma Model Card
|
8 |
+
|
9 |
+
**Model Page**: [Gemma](https://ai.google.dev/gemma/docs)
|
10 |
+
|
11 |
+
This model card corresponds to the 7B base version of the Gemma model. You can also visit the model card of the [2B base model](https://huggingface.co/google/gemma-2b), [7B instruct model](https://huggingface.co/google/gemma-7b-it), and [2B instruct model](https://huggingface.co/google/gemma-2b-it).
|
12 |
+
|
13 |
+
**Resources and Technical Documentation**:
|
14 |
+
|
15 |
+
* [Responsible Generative AI Toolkit](https://ai.google.dev/responsible)
|
16 |
+
* [Gemma on Kaggle](https://www.kaggle.com/models/google/gemma)
|
17 |
+
* [Gemma on Vertex Model Garden](https://console.cloud.google.com/vertex-ai/publishers/google/model-garden/335?version=gemma-7b-gg-hf)
|
18 |
+
|
19 |
+
**Terms of Use**: [Terms](https://www.kaggle.com/models/google/gemma/license/consent)
|
20 |
+
|
21 |
+
**Authors**: Google
|
22 |
+
|
23 |
+
## Model Information
|
24 |
+
|
25 |
+
Summary description and brief definition of inputs and outputs.
|
26 |
+
|
27 |
+
### Description
|
28 |
+
|
29 |
+
Gemma is a family of lightweight, state-of-the-art open models from Google,
|
30 |
+
built from the same research and technology used to create the Gemini models.
|
31 |
+
They are text-to-text, decoder-only large language models, available in English,
|
32 |
+
with open weights, pre-trained variants, and instruction-tuned variants. Gemma
|
33 |
+
models are well-suited for a variety of text generation tasks, including
|
34 |
+
question answering, summarization, and reasoning. Their relatively small size
|
35 |
+
makes it possible to deploy them in environments with limited resources such as
|
36 |
+
a laptop, desktop or your own cloud infrastructure, democratizing access to
|
37 |
+
state of the art AI models and helping foster innovation for everyone.
|
38 |
+
|
39 |
+
### Usage
|
40 |
+
|
41 |
+
Below we share some code snippets on how to get quickly started with running the model. First make sure to `pip install -U transformers`, then copy the snippet from the section that is relevant for your usecase.
|
42 |
+
|
43 |
+
#### Fine-tuning examples
|
44 |
+
|
45 |
+
You can find fine-tuning notebooks under the [`examples/` directory](https://huggingface.co/google/gemma-7b/tree/main/examples). We provide:
|
46 |
+
|
47 |
+
* A script to perform Supervised Fine-Tuning (SFT) on UltraChat dataset using [QLoRA](https://huggingface.co/papers/2305.14314)
|
48 |
+
* A script to perform SFT using FSDP on TPU devices
|
49 |
+
* A notebook that you can run on a free-tier Google Colab instance to perform SFT on English quotes dataset
|
50 |
+
|
51 |
+
#### Running the model on a CPU
|
52 |
+
|
53 |
+
|
54 |
+
```python
|
55 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
56 |
+
|
57 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
58 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b")
|
59 |
+
|
60 |
+
input_text = "Write me a poem about Machine Learning."
|
61 |
+
input_ids = tokenizer(**input_text, return_tensors="pt")
|
62 |
+
|
63 |
+
outputs = model.generate(input_ids)
|
64 |
+
print(tokenizer.decode(outputs[0]))
|
65 |
+
```
|
66 |
+
|
67 |
+
|
68 |
+
#### Running the model on a single / multi GPU
|
69 |
+
|
70 |
+
|
71 |
+
```python
|
72 |
+
# pip install accelerate
|
73 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
74 |
+
|
75 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
76 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b", device_map="auto")
|
77 |
+
|
78 |
+
input_text = "Write me a poem about Machine Learning."
|
79 |
+
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
|
80 |
+
|
81 |
+
outputs = model.generate(**input_ids)
|
82 |
+
print(tokenizer.decode(outputs[0]))
|
83 |
+
```
|
84 |
+
|
85 |
+
|
86 |
+
#### Running the model on a GPU using different precisions
|
87 |
+
|
88 |
+
* _Using `torch.float16`_
|
89 |
+
|
90 |
+
```python
|
91 |
+
# pip install accelerate
|
92 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
93 |
+
|
94 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
95 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b", device_map="auto", torch_dtype=torch.float16)
|
96 |
+
|
97 |
+
input_text = "Write me a poem about Machine Learning."
|
98 |
+
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
|
99 |
+
|
100 |
+
outputs = model.generate(**input_ids)
|
101 |
+
print(tokenizer.decode(outputs[0]))
|
102 |
+
```
|
103 |
+
|
104 |
+
* _Using `torch.bfloat16`_
|
105 |
+
|
106 |
+
```python
|
107 |
+
# pip install accelerate
|
108 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
109 |
+
|
110 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
111 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b", device_map="auto", torch_dtype=torch.bfloat16)
|
112 |
+
|
113 |
+
input_text = "Write me a poem about Machine Learning."
|
114 |
+
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
|
115 |
+
|
116 |
+
outputs = model.generate(**input_ids)
|
117 |
+
print(tokenizer.decode(outputs[0]))
|
118 |
+
```
|
119 |
+
|
120 |
+
#### Quantized Versions through `bitsandbytes`
|
121 |
+
|
122 |
+
* _Using 8-bit precision (int8)_
|
123 |
+
|
124 |
+
```python
|
125 |
+
# pip install bitsandbytes accelerate
|
126 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
127 |
+
|
128 |
+
quantization_config = BitsAndBytesConfig(load_in_8bit=True)
|
129 |
+
|
130 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
131 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b", quantization_config=quantization_config)
|
132 |
+
|
133 |
+
input_text = "Write me a poem about Machine Learning."
|
134 |
+
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
|
135 |
+
|
136 |
+
outputs = model.generate(**input_ids)
|
137 |
+
print(tokenizer.decode(outputs[0]))
|
138 |
+
```
|
139 |
+
|
140 |
+
* _Using 4-bit precision_
|
141 |
+
|
142 |
+
```python
|
143 |
+
# pip install bitsandbytes accelerate
|
144 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
145 |
+
|
146 |
+
quantization_config = BitsAndBytesConfig(load_in_4bit=True)
|
147 |
+
|
148 |
+
tokenizer = AutoTokenizer.from_pretrained("google/gemma-7b")
|
149 |
+
model = AutoModelForCausalLM.from_pretrained("google/gemma-7b", quantization_config=quantization_config)
|
150 |
+
|
151 |
+
input_text = "Write me a poem about Machine Learning."
|
152 |
+
input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
|
153 |
+
|
154 |
+
outputs = model.generate(**input_ids)
|
155 |
+
print(tokenizer.decode(outputs[0]))
|
156 |
+
```
|
157 |
+
|
158 |
+
|
159 |
+
#### Other optimizations
|
160 |
+
|
161 |
+
* _Flash Attention 2_
|
162 |
+
|
163 |
+
First make sure to install `flash-attn` in your environment `pip install flash-attn`
|
164 |
+
|
165 |
+
```diff
|
166 |
+
model = AutoModelForCausalLM.from_pretrained(
|
167 |
+
model_id,
|
168 |
+
torch_dtype=torch.float16,
|
169 |
+
+ attn_implementation="flash_attention_2"
|
170 |
+
).to(0)
|
171 |
+
```
|
172 |
+
|
173 |
+
### Inputs and outputs
|
174 |
+
|
175 |
+
* **Input:** Text string, such as a question, a prompt, or a document to be
|
176 |
+
summarized.
|
177 |
+
* **Output:** Generated English-language text in response to the input, such
|
178 |
+
as an answer to a question, or a summary of a document.
|
179 |
+
|
180 |
+
## Model Data
|
181 |
+
|
182 |
+
Data used for model training and how the data was processed.
|
183 |
+
|
184 |
+
### Training Dataset
|
185 |
+
|
186 |
+
These models were trained on a dataset of text data that includes a wide variety
|
187 |
+
of sources, totaling 6 trillion tokens. Here are the key components:
|
188 |
+
|
189 |
+
* Web Documents: A diverse collection of web text ensures the model is exposed
|
190 |
+
to a broad range of linguistic styles, topics, and vocabulary. Primarily
|
191 |
+
English-language content.
|
192 |
+
* Code: Exposing the model to code helps it to learn the syntax and patterns of
|
193 |
+
programming languages, which improves its ability to generate code or
|
194 |
+
understand code-related questions.
|
195 |
+
* Mathematics: Training on mathematical text helps the model learn logical
|
196 |
+
reasoning, symbolic representation, and to address mathematical queries.
|
197 |
+
|
198 |
+
The combination of these diverse data sources is crucial for training a powerful
|
199 |
+
language model that can handle a wide variety of different tasks and text
|
200 |
+
formats.
|
201 |
+
|
202 |
+
### Data Preprocessing
|
203 |
+
|
204 |
+
Here are the key data cleaning and filtering methods applied to the training
|
205 |
+
data:
|
206 |
+
|
207 |
+
* CSAM Filtering: Rigorous CSAM (Child Sexual Abuse Material) filtering was
|
208 |
+
applied at multiple stages in the data preparation process to ensure the
|
209 |
+
exclusion of harmful and illegal content
|
210 |
+
* Sensitive Data Filtering: As part of making Gemma pre-trained models safe and
|
211 |
+
reliable, automated techniques were used to filter out certain personal
|
212 |
+
information and other sensitive data from training sets.
|
213 |
+
* Additional methods: Filtering based on content quality and safely in line with
|
214 |
+
[our policies](https://storage.googleapis.com/gweb-uniblog-publish-prod/documents/2023_Google_AI_Principles_Progress_Update.pdf#page=11).
|
215 |
+
|
216 |
+
## Implementation Information
|
217 |
+
|
218 |
+
Details about the model internals.
|
219 |
+
|
220 |
+
### Hardware
|
221 |
+
|
222 |
+
Gemma was trained using the latest generation of
|
223 |
+
[Tensor Processing Unit (TPU)](https://cloud.google.com/tpu/docs/intro-to-tpu) hardware (TPUv5e).
|
224 |
+
|
225 |
+
Training large language models requires significant computational power. TPUs,
|
226 |
+
designed specifically for matrix operations common in machine learning, offer
|
227 |
+
several advantages in this domain:
|
228 |
+
|
229 |
+
* Performance: TPUs are specifically designed to handle the massive computations
|
230 |
+
involved in training LLMs. They can speed up training considerably compared to
|
231 |
+
CPUs.
|
232 |
+
* Memory: TPUs often come with large amounts of high-bandwidth memory, allowing
|
233 |
+
for the handling of large models and batch sizes during training. This can
|
234 |
+
lead to better model quality.
|
235 |
+
* Scalability: TPU Pods (large clusters of TPUs) provide a scalable solution for
|
236 |
+
handling the growing complexity of large foundation models. You can distribute
|
237 |
+
training across multiple TPU devices for faster and more efficient processing.
|
238 |
+
* Cost-effectiveness: In many scenarios, TPUs can provide a more cost-effective
|
239 |
+
solution for training large models compared to CPU-based infrastructure,
|
240 |
+
especially when considering the time and resources saved due to faster
|
241 |
+
training.
|
242 |
+
* These advantages are aligned with
|
243 |
+
[Google's commitments to operate sustainably](https://sustainability.google/operating-sustainably/).
|
244 |
+
|
245 |
+
### Software
|
246 |
+
|
247 |
+
Training was done using [JAX](https://github.com/google/jax) and [ML Pathways](https://blog.google/technology/ai/introducing-pathways-next-generation-ai-architecture).
|
248 |
+
|
249 |
+
JAX allows researchers to take advantage of the latest generation of hardware,
|
250 |
+
including TPUs, for faster and more efficient training of large models.
|
251 |
+
|
252 |
+
ML Pathways is Google's latest effort to build artificially intelligent systems
|
253 |
+
capable of generalizing across multiple tasks. This is specially suitable for
|
254 |
+
[foundation models](https://ai.google/discover/foundation-models/), including large language models like
|
255 |
+
these ones.
|
256 |
+
|
257 |
+
Together, JAX and ML Pathways are used as described in the
|
258 |
+
[paper about the Gemini family of models](https://arxiv.org/abs/2312.11805); "the 'single
|
259 |
+
controller' programming model of Jax and Pathways allows a single Python
|
260 |
+
process to orchestrate the entire training run, dramatically simplifying the
|
261 |
+
development workflow."
|
262 |
+
|
263 |
+
## Evaluation
|
264 |
+
|
265 |
+
Model evaluation metrics and results.
|
266 |
+
|
267 |
+
### Benchmark Results
|
268 |
+
|
269 |
+
These models were evaluated against a large collection of different datasets and
|
270 |
+
metrics to cover different aspects of text generation:
|
271 |
+
|
272 |
+
| Benchmark | Metric | 2B Params | 7B Params |
|
273 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
274 |
+
| [MMLU](https://arxiv.org/abs/2009.03300) | 5-shot, top-1 | 42.3 | 64.3 |
|
275 |
+
| [HellaSwag](https://arxiv.org/abs/1905.07830) | 0-shot |71.4 | 81.2 |
|
276 |
+
| [PIQA](https://arxiv.org/abs/1911.11641) | 0-shot | 77.3 | 81.2 |
|
277 |
+
| [SocialIQA](https://arxiv.org/abs/1904.09728) | 0-shot | 59.7 | 51.8 |
|
278 |
+
| [BooIQ](https://arxiv.org/abs/1905.10044) | 0-shot | 69.4 | 83.2 |
|
279 |
+
| [WinoGrande](https://arxiv.org/abs/1907.10641) | partial score | 65.4 | 72.3 |
|
280 |
+
| [CommonsenseQA](https://arxiv.org/abs/1811.00937) | 7-shot | 65.3 | 71.3 |
|
281 |
+
| [OpenBookQA](https://arxiv.org/abs/1809.02789) | | 47.8 | 52.8 |
|
282 |
+
| [ARC-e](https://arxiv.org/abs/1911.01547) | | 73.2 | 81.5 |
|
283 |
+
| [ARC-c](https://arxiv.org/abs/1911.01547) | | 42.1 | 53.2 |
|
284 |
+
| [TriviaQA](https://arxiv.org/abs/1705.03551) | 5-shot | 53.2 | 63.4 |
|
285 |
+
| [Natural Questions](https://github.com/google-research-datasets/natural-questions) | 5-shot | - | 23 |
|
286 |
+
| [HumanEval](https://arxiv.org/abs/2107.03374) | pass@1 | 22.0 | 32.3 |
|
287 |
+
| [MBPP](https://arxiv.org/abs/2108.07732) | 3-shot | 29.2 | 44.4 |
|
288 |
+
| [GSM8K](https://arxiv.org/abs/2110.14168) | maj@1 | 17.7 | 46.4 |
|
289 |
+
| [MATH](https://arxiv.org/abs/2108.07732) | 4-shot | 11.8 | 24.3 |
|
290 |
+
| [AGIEval](https://arxiv.org/abs/2304.06364) | | 24.2 | 41.7 |
|
291 |
+
| [BIG-Bench](https://arxiv.org/abs/2206.04615) | | 35.2 | 55.1 |
|
292 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
293 |
+
| **Average** | | **54.0** | **56.4** |
|
294 |
+
|
295 |
+
## Ethics and Safety
|
296 |
+
|
297 |
+
Ethics and safety evaluation approach and results.
|
298 |
+
|
299 |
+
### Evaluation Approach
|
300 |
+
|
301 |
+
Our evaluation methods include structured evaluations and internal red-teaming
|
302 |
+
testing of relevant content policies. Red-teaming was conducted by a number of
|
303 |
+
different teams, each with different goals and human evaluation metrics. These
|
304 |
+
models were evaluated against a number of different categories relevant to
|
305 |
+
ethics and safety, including:
|
306 |
+
|
307 |
+
* Text-to-Text Content Safety: Human evaluation on prompts covering safety
|
308 |
+
policies including child sexual abuse and exploitation, harassment, violence
|
309 |
+
and gore, and hate speech.
|
310 |
+
* Text-to-Text Representational Harms: Benchmark against relevant academic
|
311 |
+
datasets such as [WinoBias](https://arxiv.org/abs/1804.06876) and [BBQ Dataset](https://arxiv.org/abs/2110.08193v2).
|
312 |
+
* Memorization: Automated evaluation of memorization of training data, including
|
313 |
+
the risk of personally identifiable information exposure.
|
314 |
+
* Large-scale harm: Tests for "dangerous capabilities," such as chemical,
|
315 |
+
biological, radiological, and nuclear (CBRN) risks.
|
316 |
+
|
317 |
+
### Evaluation Results
|
318 |
+
|
319 |
+
The results of ethics and safety evaluations are within acceptable thresholds
|
320 |
+
for meeting [internal policies](https://storage.googleapis.com/gweb-uniblog-publish-prod/documents/2023_Google_AI_Principles_Progress_Update.pdf#page=11) for categories such as child
|
321 |
+
safety, content safety, representational harms, memorization, large-scale harms.
|
322 |
+
On top of robust internal evaluations, the results of well known safety
|
323 |
+
benchmarks like BBQ, BOLD, Winogender, Winobias, RealToxicity, and TruthfulQA
|
324 |
+
are shown here.
|
325 |
+
|
326 |
+
| Benchmark | Metric | 2B Params | 7B Params |
|
327 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
328 |
+
| [RealToxicity](https://arxiv.org/abs/2009.11462) | average | 6.86 | 7.90 |
|
329 |
+
| [BOLD](https://arxiv.org/abs/2101.11718) | | 45.57 | 49.08 |
|
330 |
+
| [CrowS-Pairs](https://aclanthology.org/2020.emnlp-main.154/) | top-1 | 45.82 | 51.33 |
|
331 |
+
| [BBQ Ambig](https://arxiv.org/abs/2110.08193v2) | 1-shot, top-1 | 62.58 | 92.54 |
|
332 |
+
| [BBQ Disambig](https://arxiv.org/abs/2110.08193v2) | top-1 | 54.62 | 71.99 |
|
333 |
+
| [Winogender](https://arxiv.org/abs/1804.09301) | top-1 | 51.25 | 54.17 |
|
334 |
+
| [TruthfulQA](https://arxiv.org/abs/2109.07958) | | 44.84 | 31.81 |
|
335 |
+
| [Winobias 1_2](https://arxiv.org/abs/1804.06876) | | 56.12 | 59.09 |
|
336 |
+
| [Winobias 2_2](https://arxiv.org/abs/1804.06876) | | 91.10 | 92.23 |
|
337 |
+
| [Toxigen](https://arxiv.org/abs/2203.09509) | | 29.77 | 39.59 |
|
338 |
+
| ------------------------------ | ------------- | ----------- | --------- |
|
339 |
+
|
340 |
+
|
341 |
+
## Usage and Limitations
|
342 |
+
|
343 |
+
These models have certain limitations that users should be aware of.
|
344 |
+
|
345 |
+
### Intended Usage
|
346 |
+
|
347 |
+
Open Large Language Models (LLMs) have a wide range of applications across
|
348 |
+
various industries and domains. The following list of potential uses is not
|
349 |
+
comprehensive. The purpose of this list is to provide contextual information
|
350 |
+
about the possible use-cases that the model creators considered as part of model
|
351 |
+
training and development.
|
352 |
+
|
353 |
+
* Content Creation and Communication
|
354 |
+
* Text Generation: These models can be used to generate creative text formats
|
355 |
+
such as poems, scripts, code, marketing copy, and email drafts.
|
356 |
+
* Chatbots and Conversational AI: Power conversational interfaces for customer
|
357 |
+
service, virtual assistants, or interactive applications.
|
358 |
+
* Text Summarization: Generate concise summaries of a text corpus, research
|
359 |
+
papers, or reports.
|
360 |
+
* Research and Education
|
361 |
+
* Natural Language Processing (NLP) Research: These models can serve as a
|
362 |
+
foundation for researchers to experiment with NLP techniques, develop
|
363 |
+
algorithms, and contribute to the advancement of the field.
|
364 |
+
* Language Learning Tools: Support interactive language learning experiences,
|
365 |
+
aiding in grammar correction or providing writing practice.
|
366 |
+
* Knowledge Exploration: Assist researchers in exploring large bodies of text
|
367 |
+
by generating summaries or answering questions about specific topics.
|
368 |
+
|
369 |
+
### Limitations
|
370 |
+
|
371 |
+
* Training Data
|
372 |
+
* The quality and diversity of the training data significantly influence the
|
373 |
+
model's capabilities. Biases or gaps in the training data can lead to
|
374 |
+
limitations in the model's responses.
|
375 |
+
* The scope of the training dataset determines the subject areas the model can
|
376 |
+
handle effectively.
|
377 |
+
* Context and Task Complexity
|
378 |
+
* LLMs are better at tasks that can be framed with clear prompts and
|
379 |
+
instructions. Open-ended or highly complex tasks might be challenging.
|
380 |
+
* A model's performance can be influenced by the amount of context provided
|
381 |
+
(longer context generally leads to better outputs, up to a certain point).
|
382 |
+
* Language Ambiguity and Nuance
|
383 |
+
* Natural language is inherently complex. LLMs might struggle to grasp subtle
|
384 |
+
nuances, sarcasm, or figurative language.
|
385 |
+
* Factual Accuracy
|
386 |
+
* LLMs generate responses based on information they learned from their
|
387 |
+
training datasets, but they are not knowledge bases. They may generate
|
388 |
+
incorrect or outdated factual statements.
|
389 |
+
* Common Sense
|
390 |
+
* LLMs rely on statistical patterns in language. They might lack the ability
|
391 |
+
to apply common sense reasoning in certain situations.
|
392 |
+
|
393 |
+
### Ethical Considerations and Risks
|
394 |
+
|
395 |
+
The development of large language models (LLMs) raises several ethical concerns.
|
396 |
+
In creating an open model, we have carefully considered the following:
|
397 |
+
|
398 |
+
* Bias and Fairness
|
399 |
+
* LLMs trained on large-scale, real-world text data can reflect socio-cultural
|
400 |
+
biases embedded in the training material. These models underwent careful
|
401 |
+
scrutiny, input data pre-processing described and posterior evaluations
|
402 |
+
reported in this card.
|
403 |
+
* Misinformation and Misuse
|
404 |
+
* LLMs can be misused to generate text that is false, misleading, or harmful.
|
405 |
+
* Guidelines are provided for responsible use with the model, see the
|
406 |
+
[Responsible Generative AI Toolkit](http://ai.google.dev/gemma/responsible).
|
407 |
+
* Transparency and Accountability:
|
408 |
+
* This model card summarizes details on the models' architecture,
|
409 |
+
capabilities, limitations, and evaluation processes.
|
410 |
+
* A responsibly developed open model offers the opportunity to share
|
411 |
+
innovation by making LLM technology accessible to developers and researchers
|
412 |
+
across the AI ecosystem.
|
413 |
+
|
414 |
+
Risks identified and mitigations:
|
415 |
+
|
416 |
+
* Perpetuation of biases: It's encouraged to perform continuous monitoring
|
417 |
+
(using evaluation metrics, human review) and the exploration of de-biasing
|
418 |
+
techniques during model training, fine-tuning, and other use cases.
|
419 |
+
* Generation of harmful content: Mechanisms and guidelines for content safety
|
420 |
+
are essential. Developers are encouraged to exercise caution and implement
|
421 |
+
appropriate content safety safeguards based on their specific product policies
|
422 |
+
and application use cases.
|
423 |
+
* Misuse for malicious purposes: Technical limitations and developer and
|
424 |
+
end-user education can help mitigate against malicious applications of LLMs.
|
425 |
+
Educational resources and reporting mechanisms for users to flag misuse are
|
426 |
+
provided. Prohibited uses of Gemma models are outlined in the
|
427 |
+
[Gemma Prohibited Use Policy](https://ai.google.dev/gemma/prohibited_use_policy).
|
428 |
+
* Privacy violations: Models were trained on data filtered for removal of PII
|
429 |
+
(Personally Identifiable Information). Developers are encouraged to adhere to
|
430 |
+
privacy regulations with privacy-preserving techniques.
|
431 |
+
|
432 |
+
### Benefits
|
433 |
+
|
434 |
+
At the time of release, this family of models provides high-performance open
|
435 |
+
large language model implementations designed from the ground up for Responsible
|
436 |
+
AI development compared to similarly sized models.
|
437 |
+
|
438 |
+
Using the benchmark evaluation metrics described in this document, these models
|
439 |
+
have shown to provide superior performance to other, comparably-sized open model
|
440 |
+
alternatives.
|
441 |
+
|
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.0.dev0",
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 256000
|
27 |
+
}
|
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.0.dev0"
|
7 |
+
}
|
gitattributes
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
37 |
+
gemma-7b.gguf filter=lfs diff=lfs merge=lfs -text
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:632edaf7993dd73b33287cc34e0de0ed48c04a54834198fac5f2f78ff47e62c9
|
3 |
+
size 4995496656
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9b0278bd4e203c50d4a1b2a29bd6061b19c48abc77f338a4de2f0dd4fba0fac
|
3 |
+
size 4982953168
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69dcacd38561f42064c81a0d8ebfd97d8a393d22e40fea327fc6c9a14205768c
|
3 |
+
size 4982953200
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ddee49e12c7ec4ffb8ff6359a727a798ded9d6176da4bad30833f24426cb92f
|
3 |
+
size 2113988336
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 17075361792
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
7 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
8 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
9 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
10 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
11 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
12 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
13 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
14 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
15 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
16 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
17 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
18 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
19 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
20 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
21 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
22 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
23 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
24 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
25 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
26 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
27 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
28 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
29 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
30 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
31 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
32 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
33 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
34 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
35 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
36 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
37 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
38 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
39 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
40 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
41 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
42 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
43 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
44 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
45 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
46 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
47 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
48 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
49 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
50 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
51 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
52 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
53 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
54 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
55 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
56 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
57 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
58 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
59 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
60 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
61 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
62 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
63 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
64 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
65 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
66 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
67 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
68 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
69 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
70 |
+
"model.layers.15.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
71 |
+
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
72 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
73 |
+
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
74 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
75 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
76 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
77 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
78 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
79 |
+
"model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
80 |
+
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
81 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
82 |
+
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
83 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
84 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
85 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
86 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
87 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
88 |
+
"model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
89 |
+
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
90 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
91 |
+
"model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
92 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
93 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
94 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
95 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
96 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
97 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
98 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
99 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
100 |
+
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
101 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
102 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
103 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
104 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
105 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
106 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
107 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
108 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
109 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
110 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
111 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
112 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
113 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
114 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
115 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
116 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
117 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
118 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
119 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
120 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
121 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
122 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
123 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
124 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
125 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
126 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
127 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
128 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
129 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
130 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
131 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
132 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
133 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
134 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
135 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
136 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
137 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
138 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
139 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
140 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
141 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
142 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
143 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
144 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
145 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
146 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
147 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
148 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
149 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
150 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
151 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
152 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
153 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
154 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
155 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
156 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
157 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
158 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
159 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
160 |
+
"model.layers.24.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
161 |
+
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
162 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
163 |
+
"model.layers.24.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
164 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
165 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
166 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
167 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
168 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
169 |
+
"model.layers.25.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
170 |
+
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
171 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
172 |
+
"model.layers.25.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
173 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
174 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
175 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
176 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
177 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
178 |
+
"model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
179 |
+
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
180 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
181 |
+
"model.layers.26.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
182 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
183 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
184 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
185 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
186 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
187 |
+
"model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
188 |
+
"model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
189 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
|
190 |
+
"model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
|
191 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
192 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
|
193 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
|
194 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
|
195 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
|
196 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
197 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
198 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
199 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
200 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
201 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
202 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
203 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
204 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
205 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
206 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
207 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
208 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
209 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
210 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
211 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
212 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
213 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
214 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
215 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
216 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
217 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
218 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
219 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
220 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
221 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
222 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
223 |
+
"model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
224 |
+
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
225 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
226 |
+
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
227 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
228 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
229 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
230 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
231 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
232 |
+
"model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
233 |
+
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
234 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
235 |
+
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
236 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
237 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
238 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
239 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
240 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
241 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
242 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
243 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
244 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
245 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
246 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
247 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
248 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
249 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
250 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
251 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
252 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
253 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
254 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
255 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
256 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
257 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
258 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
259 |
+
"model.norm.weight": "model-00004-of-00004.safetensors"
|
260 |
+
}
|
261 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<bos>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<eos>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0d908b4f9326e0998815690e325b6abbd378978553e10627924dd825db7e243
|
3 |
+
size 17477553
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6969e64047744a44bb3abfb5c50f8de0f7ed8b571d5444426ef931f651d1a0ef
|
3 |
+
size 4241111
|
tokenizer_config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"bos_token": "<bos>",
|
39 |
+
"clean_up_tokenization_spaces": false,
|
40 |
+
"eos_token": "<eos>",
|
41 |
+
"legacy": null,
|
42 |
+
"model_max_length": 1000000000000000019884624838656,
|
43 |
+
"pad_token": "<pad>",
|
44 |
+
"sp_model_kwargs": {},
|
45 |
+
"spaces_between_special_tokens": false,
|
46 |
+
"tokenizer_class": "GemmaTokenizer",
|
47 |
+
"unk_token": "<unk>",
|
48 |
+
"use_default_system_prompt": false
|
49 |
+
}
|