milandean commited on
Commit
e4fc4f7
1 Parent(s): 13da4ef

Upload README.md with huggingface_hub

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