Mungert commited on
Commit
80bc78f
·
verified ·
1 Parent(s): 159b567

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +615 -0
README.md ADDED
@@ -0,0 +1,615 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google/gemma-3-270m
3
+ license: gemma
4
+ tags:
5
+ - gemma3
6
+ - gemma
7
+ - google
8
+ pipeline_tag: text-generation
9
+ library_name: transformers
10
+ extra_gated_heading: Access Gemma on Hugging Face
11
+ extra_gated_prompt: >-
12
+ To access Gemma on Hugging Face, you’re required to review and agree to
13
+ Google’s usage license. To do this, please ensure you’re logged in to Hugging
14
+ Face and click below. Requests are processed immediately.
15
+ extra_gated_button_content: Acknowledge license
16
+ ---
17
+
18
+ # <span style="color: #7FFF7F;">gemma-3-270m-it GGUF Models</span>
19
+
20
+
21
+ ## <span style="color: #7F7FFF;">Model Generation Details</span>
22
+
23
+ This model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`79c1160b`](https://github.com/ggerganov/llama.cpp/commit/79c1160b073b8148a404f3dd2584be1606dccc66).
24
+
25
+
26
+
27
+
28
+
29
+
30
+ ---
31
+
32
+ <a href="https://readyforquantum.com/huggingface_gguf_selection_guide.html" style="color: #7FFF7F;">
33
+ Click here to get info on choosing the right GGUF model format
34
+ </a>
35
+
36
+ ---
37
+
38
+
39
+
40
+ <!--Begin Original Model Card-->
41
+
42
+
43
+ # Gemma 3 model card
44
+
45
+ **Model Page**: [Gemma](https://ai.google.dev/gemma/docs/core)
46
+
47
+ **Resources and Technical Documentation**:
48
+
49
+ * [Gemma 3 Technical Report][g3-tech-report]
50
+ * [Responsible Generative AI Toolkit][rai-toolkit]
51
+ * [Gemma on Kaggle][kaggle-gemma]
52
+ * [Gemma on Vertex Model Garden][vertex-mg-gemma3]
53
+
54
+ **Terms of Use**: [Terms][terms]
55
+
56
+ **Authors**: Google DeepMind
57
+
58
+ ## Model Information
59
+
60
+ Summary description and brief definition of inputs and outputs.
61
+
62
+ ### Description
63
+
64
+ Gemma is a family of lightweight, state-of-the-art open models from Google,
65
+ built from the same research and technology used to create the Gemini models.
66
+ Gemma 3 models are multimodal, handling text and image input and generating text
67
+ output, with open weights for both pre-trained variants and instruction-tuned
68
+ variants. Gemma 3 has a large, 128K context window, multilingual support in over
69
+ 140 languages, and is available in more sizes than previous versions. Gemma 3
70
+ models are well-suited for a variety of text generation and image understanding
71
+ tasks, including question answering, summarization, and reasoning. Their
72
+ relatively small size makes it possible to deploy them in environments with
73
+ limited resources such as laptops, desktops or your own cloud infrastructure,
74
+ democratizing access to state of the art AI models and helping foster innovation
75
+ for everyone.
76
+
77
+ ### Inputs and outputs
78
+
79
+ - **Input:**
80
+ - Text string, such as a question, a prompt, or a document to be summarized
81
+ - Images, normalized to 896 x 896 resolution and encoded to 256 tokens
82
+ each, for the 4B, 12B, and 27B sizes.
83
+ - Total input context of 128K tokens for the 4B, 12B, and 27B sizes, and
84
+ 32K tokens for the 1B and 270M sizes.
85
+
86
+ - **Output:**
87
+ - Generated text in response to the input, such as an answer to a
88
+ question, analysis of image content, or a summary of a document
89
+ - Total output context up to 128K tokens for the 4B, 12B, and 27B sizes,
90
+ and 32K tokens for the 1B and 270M sizes per request, subtracting the
91
+ request input tokens
92
+
93
+ ### Citation
94
+
95
+ ```none
96
+ @article{gemma_2025,
97
+ title={Gemma 3},
98
+ url={https://arxiv.org/abs/2503.19786},
99
+ publisher={Google DeepMind},
100
+ author={Gemma Team},
101
+ year={2025}
102
+ }
103
+ ```
104
+
105
+ ## Model Data
106
+
107
+ Data used for model training and how the data was processed.
108
+
109
+ ### Training Dataset
110
+
111
+ These models were trained on a dataset of text data that includes a wide variety
112
+ of sources. The 27B model was trained with 14 trillion tokens, the 12B model was
113
+ trained with 12 trillion tokens, 4B model was trained with 4 trillion tokens,
114
+ the 1B with 2 trillion tokens, and the 270M with 6 trillion tokens. The
115
+ knowledge cutoff date for the training data was August 2024. Here are the key
116
+ components:
117
+
118
+ - Web Documents: A diverse collection of web text ensures the model is
119
+ exposed to a broad range of linguistic styles, topics, and vocabulary. The
120
+ training dataset includes content in over 140 languages.
121
+ - Code: Exposing the model to code helps it to learn the syntax and
122
+ patterns of programming languages, which improves its ability to generate
123
+ code and understand code-related questions.
124
+ - Mathematics: Training on mathematical text helps the model learn logical
125
+ reasoning, symbolic representation, and to address mathematical queries.
126
+ - Images: A wide range of images enables the model to perform image
127
+ analysis and visual data extraction tasks.
128
+
129
+ The combination of these diverse data sources is crucial for training a powerful
130
+ multimodal model that can handle a wide variety of different tasks and data
131
+ formats.
132
+
133
+ ### Data Preprocessing
134
+
135
+ Here are the key data cleaning and filtering methods applied to the training
136
+ data:
137
+
138
+ - CSAM Filtering: Rigorous CSAM (Child Sexual Abuse Material) filtering
139
+ was applied at multiple stages in the data preparation process to ensure
140
+ the exclusion of harmful and illegal content.
141
+ - Sensitive Data Filtering: As part of making Gemma pre-trained models
142
+ safe and reliable, automated techniques were used to filter out certain
143
+ personal information and other sensitive data from training sets.
144
+ - Additional methods: Filtering based on content quality and safety in
145
+ line with [our policies][safety-policies].
146
+
147
+ ## Implementation Information
148
+
149
+ Details about the model internals.
150
+
151
+ ### Hardware
152
+
153
+ Gemma was trained using [Tensor Processing Unit (TPU)][tpu] hardware (TPUv4p,
154
+ TPUv5p and TPUv5e). Training vision-language models (VLMS) requires significant
155
+ computational power. TPUs, designed specifically for matrix operations common in
156
+ machine learning, offer several advantages in this domain:
157
+
158
+ - Performance: TPUs are specifically designed to handle the massive
159
+ computations involved in training VLMs. They can speed up training
160
+ considerably compared to CPUs.
161
+ - Memory: TPUs often come with large amounts of high-bandwidth memory,
162
+ allowing for the handling of large models and batch sizes during training.
163
+ This can lead to better model quality.
164
+ - Scalability: TPU Pods (large clusters of TPUs) provide a scalable
165
+ solution for handling the growing complexity of large foundation models.
166
+ You can distribute training across multiple TPU devices for faster and more
167
+ efficient processing.
168
+ - Cost-effectiveness: In many scenarios, TPUs can provide a more
169
+ cost-effective solution for training large models compared to CPU-based
170
+ infrastructure, especially when considering the time and resources saved
171
+ due to faster training.
172
+ - These advantages are aligned with
173
+ [Google's commitments to operate sustainably][sustainability].
174
+
175
+ ### Software
176
+
177
+ Training was done using [JAX][jax] and [ML Pathways][ml-pathways].
178
+
179
+ JAX allows researchers to take advantage of the latest generation of hardware,
180
+ including TPUs, for faster and more efficient training of large models. ML
181
+ Pathways is Google's latest effort to build artificially intelligent systems
182
+ capable of generalizing across multiple tasks. This is specially suitable for
183
+ foundation models, including large language models like these ones.
184
+
185
+ Together, JAX and ML Pathways are used as described in the
186
+ [paper about the Gemini family of models][gemini-2-paper]; *"the 'single
187
+ controller' programming model of Jax and Pathways allows a single Python
188
+ process to orchestrate the entire training run, dramatically simplifying the
189
+ development workflow."*
190
+
191
+ ## Evaluation
192
+
193
+ Model evaluation metrics and results.
194
+
195
+ ### Benchmark Results
196
+
197
+ These models were evaluated against a large collection of different datasets and
198
+ metrics to cover different aspects of text generation. Evaluation results marked
199
+ with **IT** are for instruction-tuned models. Evaluation results marked with
200
+ **PT** are for pre-trained models.
201
+
202
+ #### Gemma 3 270M
203
+
204
+ | **Benchmark** | **n-shot** | **Gemma 3 PT 270M** |
205
+ | :------------------------ | :-----------: | ------------------: |
206
+ | [HellaSwag][hellaswag] | 10-shot | 40.9 |
207
+ | [BoolQ][boolq] | 0-shot | 61.4 |
208
+ | [PIQA][piqa] | 0-shot | 67.7 |
209
+ | [TriviaQA][triviaqa] | 5-shot | 15.4 |
210
+ | [ARC-c][arc] | 25-shot | 29.0 |
211
+ | [ARC-e][arc] | 0-shot | 57.7 |
212
+ | [WinoGrande][winogrande] | 5-shot | 52.0 |
213
+
214
+ [hellaswag]: https://arxiv.org/abs/1905.07830
215
+ [boolq]: https://arxiv.org/abs/1905.10044
216
+ [piqa]: https://arxiv.org/abs/1911.11641
217
+ [triviaqa]: https://arxiv.org/abs/1705.03551
218
+ [arc]: https://arxiv.org/abs/1911.01547
219
+ [winogrande]: https://arxiv.org/abs/1907.10641
220
+
221
+ | **Benchmark** | **n-shot** | **Gemma 3 IT 270m** |
222
+ | :------------------------ | :-----------: | ------------------: |
223
+ | [HellaSwag][hellaswag] | 0-shot | 37.7 |
224
+ | [PIQA][piqa] | 0-shot | 66.2 |
225
+ | [ARC-c][arc] | 0-shot | 28.2 |
226
+ | [WinoGrande][winogrande] | 0-shot | 52.3 |
227
+ | [BIG-Bench Hard][bbh] | few-shot | 26.7 |
228
+ | [IF Eval][ifeval] | 0-shot | 51.2 |
229
+
230
+ [hellaswag]: https://arxiv.org/abs/1905.07830
231
+ [piqa]: https://arxiv.org/abs/1911.11641
232
+ [arc]: https://arxiv.org/abs/1911.01547
233
+ [winogrande]: https://arxiv.org/abs/1907.10641
234
+ [bbh]: https://paperswithcode.com/dataset/bbh
235
+ [bbh]: https://paperswithcode.com/dataset/bbh
236
+ [ifeval]: https://arxiv.org/abs/2311.07911
237
+
238
+ #### Gemma 3 1B, 4B, 12B & 27B
239
+
240
+ ##### Reasoning and factuality
241
+
242
+ | Benchmark | n-shot | Gemma 3 IT 1B | Gemma 3 IT 4B | Gemma 3 IT 12B | Gemma 3 IT 27B |
243
+ |--------------------------------|--------|:-------------:|:-------------:|:--------------:|:--------------:|
244
+ | [GPQA][gpqa] Diamond | 0-shot | 19.2 | 30.8 | 40.9 | 42.4 |
245
+ | [SimpleQA][simpleqa] | 0-shot | 2.2 | 4.0 | 6.3 | 10.0 |
246
+ | [FACTS Grounding][facts-grdg] | - | 36.4 | 70.1 | 75.8 | 74.9 |
247
+ | [BIG-Bench Hard][bbh] | 0-shot | 39.1 | 72.2 | 85.7 | 87.6 |
248
+ | [BIG-Bench Extra Hard][bbeh] | 0-shot | 7.2 | 11.0 | 16.3 | 19.3 |
249
+ | [IFEval][ifeval] | 0-shot | 80.2 | 90.2 | 88.9 | 90.4 |
250
+
251
+ | Benchmark | n-shot | Gemma 3 PT 1B | Gemma 3 PT 4B | Gemma 3 PT 12B | Gemma 3 PT 27B |
252
+ | ------------------------------ |----------|:--------------:|:-------------:|:--------------:|:--------------:|
253
+ | [HellaSwag][hellaswag] | 10-shot | 62.3 | 77.2 | 84.2 | 85.6 |
254
+ | [BoolQ][boolq] | 0-shot | 63.2 | 72.3 | 78.8 | 82.4 |
255
+ | [PIQA][piqa] | 0-shot | 73.8 | 79.6 | 81.8 | 83.3 |
256
+ | [SocialIQA][socialiqa] | 0-shot | 48.9 | 51.9 | 53.4 | 54.9 |
257
+ | [TriviaQA][triviaqa] | 5-shot | 39.8 | 65.8 | 78.2 | 85.5 |
258
+ | [Natural Questions][naturalq] | 5-shot | 9.48 | 20.0 | 31.4 | 36.1 |
259
+ | [ARC-c][arc] | 25-shot | 38.4 | 56.2 | 68.9 | 70.6 |
260
+ | [ARC-e][arc] | 0-shot | 73.0 | 82.4 | 88.3 | 89.0 |
261
+ | [WinoGrande][winogrande] | 5-shot | 58.2 | 64.7 | 74.3 | 78.8 |
262
+ | [BIG-Bench Hard][bbh] | few-shot | 28.4 | 50.9 | 72.6 | 77.7 |
263
+ | [DROP][drop] | 1-shot | 42.4 | 60.1 | 72.2 | 77.2 |
264
+
265
+ [gpqa]: https://arxiv.org/abs/2311.12022
266
+ [simpleqa]: https://arxiv.org/abs/2411.04368
267
+ [facts-grdg]: https://goo.gle/FACTS_paper
268
+ [bbeh]: https://github.com/google-deepmind/bbeh
269
+ [ifeval]: https://arxiv.org/abs/2311.07911
270
+ [hellaswag]: https://arxiv.org/abs/1905.07830
271
+ [boolq]: https://arxiv.org/abs/1905.10044
272
+ [piqa]: https://arxiv.org/abs/1911.11641
273
+ [socialiqa]: https://arxiv.org/abs/1904.09728
274
+ [triviaqa]: https://arxiv.org/abs/1705.03551
275
+ [naturalq]: https://github.com/google-research-datasets/natural-questions
276
+ [arc]: https://arxiv.org/abs/1911.01547
277
+ [winogrande]: https://arxiv.org/abs/1907.10641
278
+ [bbh]: https://paperswithcode.com/dataset/bbh
279
+ [drop]: https://arxiv.org/abs/1903.00161
280
+
281
+ ##### STEM and code
282
+
283
+ | Benchmark | n-shot | Gemma 3 IT 1B | Gemma 3 IT 4B | Gemma 3 IT 12B | Gemma 3 IT 27B |
284
+ |----------------------------|--------|:-------------:|:-------------:|:--------------:|:--------------:|
285
+ | [MMLU][mmlu] (Pro) | 0-shot | 14.7 | 43.6 | 60.6 | 67.5 |
286
+ | [LiveCodeBench][lcb] | 0-shot | 1.9 | 12.6 | 24.6 | 29.7 |
287
+ | [Bird-SQL][bird-sql] (dev) | - | 6.4 | 36.3 | 47.9 | 54.4 |
288
+ | [Math][math] | 0-shot | 48.0 | 75.6 | 83.8 | 89.0 |
289
+ | HiddenMath | 0-shot | 15.8 | 43.0 | 54.5 | 60.3 |
290
+ | [MBPP][mbpp] | 3-shot | 35.2 | 63.2 | 73.0 | 74.4 |
291
+ | [HumanEval][humaneval] | 0-shot | 41.5 | 71.3 | 85.4 | 87.8 |
292
+ | [Natural2Code][nat2code] | 0-shot | 56.0 | 70.3 | 80.7 | 84.5 |
293
+ | [GSM8K][gsm8k] | 0-shot | 62.8 | 89.2 | 94.4 | 95.9 |
294
+
295
+ | Benchmark | n-shot | Gemma 3 PT 4B | Gemma 3 PT 12B | Gemma 3 PT 27B |
296
+ | ------------------------------ |----------------|:-------------:|:--------------:|:--------------:|
297
+ | [MMLU][mmlu] | 5-shot | 59.6 | 74.5 | 78.6 |
298
+ | [MMLU][mmlu] (Pro COT) | 5-shot | 29.2 | 45.3 | 52.2 |
299
+ | [AGIEval][agieval] | 3-5-shot | 42.1 | 57.4 | 66.2 |
300
+ | [MATH][math] | 4-shot | 24.2 | 43.3 | 50.0 |
301
+ | [GSM8K][gsm8k] | 8-shot | 38.4 | 71.0 | 82.6 |
302
+ | [GPQA][gpqa] | 5-shot | 15.0 | 25.4 | 24.3 |
303
+ | [MBPP][mbpp] | 3-shot | 46.0 | 60.4 | 65.6 |
304
+ | [HumanEval][humaneval] | 0-shot | 36.0 | 45.7 | 48.8 |
305
+
306
+ [mmlu]: https://arxiv.org/abs/2009.03300
307
+ [agieval]: https://arxiv.org/abs/2304.06364
308
+ [math]: https://arxiv.org/abs/2103.03874
309
+ [gsm8k]: https://arxiv.org/abs/2110.14168
310
+ [gpqa]: https://arxiv.org/abs/2311.12022
311
+ [mbpp]: https://arxiv.org/abs/2108.07732
312
+ [humaneval]: https://arxiv.org/abs/2107.03374
313
+ [lcb]: https://arxiv.org/abs/2403.07974
314
+ [bird-sql]: https://arxiv.org/abs/2305.03111
315
+ [nat2code]: https://arxiv.org/abs/2405.04520
316
+
317
+ #### Multilingual
318
+
319
+ | Benchmark | n-shot | Gemma 3 IT 1B | Gemma 3 IT 4B | Gemma 3 IT 12B | Gemma 3 IT 27B |
320
+ |--------------------------------------|--------|:-------------:|:-------------:|:--------------:|:--------------:|
321
+ | [Global-MMLU-Lite][global-mmlu-lite] | 0-shot | 34.2 | 54.5 | 69.5 | 75.1 |
322
+ | [ECLeKTic][eclektic] | 0-shot | 1.4 | 4.6 | 10.3 | 16.7 |
323
+ | [WMT24++][wmt24pp] | 0-shot | 35.9 | 46.8 | 51.6 | 53.4 |
324
+
325
+ | Benchmark | Gemma 3 PT 1B | Gemma 3 PT 4B | Gemma 3 PT 12B | Gemma 3 PT 27B |
326
+ | ------------------------------------ |:-------------:|:-------------:|:--------------:|:--------------:|
327
+ | [MGSM][mgsm] | 2.04 | 34.7 | 64.3 | 74.3 |
328
+ | [Global-MMLU-Lite][global-mmlu-lite] | 24.9 | 57.0 | 69.4 | 75.7 |
329
+ | [WMT24++][wmt24pp] (ChrF) | 36.7 | 48.4 | 53.9 | 55.7 |
330
+ | [FloRes][flores] | 29.5 | 39.2 | 46.0 | 48.8 |
331
+ | [XQuAD][xquad] (all) | 43.9 | 68.0 | 74.5 | 76.8 |
332
+ | [ECLeKTic][eclektic] | 4.69 | 11.0 | 17.2 | 24.4 |
333
+ | [IndicGenBench][indicgenbench] | 41.4 | 57.2 | 61.7 | 63.4 |
334
+
335
+ [mgsm]: https://arxiv.org/abs/2210.03057
336
+ [flores]: https://arxiv.org/abs/2106.03193
337
+ [xquad]: https://arxiv.org/abs/1910.11856v3
338
+ [global-mmlu-lite]: https://huggingface.co/datasets/CohereForAI/Global-MMLU-Lite
339
+ [wmt24pp]: https://arxiv.org/abs/2502.12404v1
340
+ [eclektic]: https://arxiv.org/abs/2502.21228
341
+ [indicgenbench]: https://arxiv.org/abs/2404.16816
342
+
343
+ ##### Multimodal
344
+
345
+ | Benchmark | Gemma 3 IT 4B | Gemma 3 IT 12B | Gemma 3 IT 27B |
346
+ |-----------------------------------|:-------------:|:--------------:|:--------------:|
347
+ | [MMMU][mmmu] (val) | 48.8 | 59.6 | 64.9 |
348
+ | [DocVQA][docvqa] | 75.8 | 87.1 | 86.6 |
349
+ | [InfoVQA][info-vqa] | 50.0 | 64.9 | 70.6 |
350
+ | [TextVQA][textvqa] | 57.8 | 67.7 | 65.1 |
351
+ | [AI2D][ai2d] | 74.8 | 84.2 | 84.5 |
352
+ | [ChartQA][chartqa] | 68.8 | 75.7 | 78.0 |
353
+ | [VQAv2][vqav2] (val) | 62.4 | 71.6 | 71.0 |
354
+ | [MathVista][mathvista] (testmini) | 50.0 | 62.9 | 67.6 |
355
+
356
+ | Benchmark | Gemma 3 PT 4B | Gemma 3 PT 12B | Gemma 3 PT 27B |
357
+ | ------------------------------ |:-------------:|:--------------:|:--------------:|
358
+ | [COCOcap][coco-cap] | 102 | 111 | 116 |
359
+ | [DocVQA][docvqa] (val) | 72.8 | 82.3 | 85.6 |
360
+ | [InfoVQA][info-vqa] (val) | 44.1 | 54.8 | 59.4 |
361
+ | [MMMU][mmmu] (pt) | 39.2 | 50.3 | 56.1 |
362
+ | [TextVQA][textvqa] (val) | 58.9 | 66.5 | 68.6 |
363
+ | [RealWorldQA][realworldqa] | 45.5 | 52.2 | 53.9 |
364
+ | [ReMI][remi] | 27.3 | 38.5 | 44.8 |
365
+ | [AI2D][ai2d] | 63.2 | 75.2 | 79.0 |
366
+ | [ChartQA][chartqa] | 63.6 | 74.7 | 76.3 |
367
+ | [VQAv2][vqav2] | 63.9 | 71.2 | 72.9 |
368
+ | [BLINK][blinkvqa] | 38.0 | 35.9 | 39.6 |
369
+ | [OKVQA][okvqa] | 51.0 | 58.7 | 60.2 |
370
+ | [TallyQA][tallyqa] | 42.5 | 51.8 | 54.3 |
371
+ | [SpatialSense VQA][ss-vqa] | 50.9 | 60.0 | 59.4 |
372
+ | [CountBenchQA][countbenchqa] | 26.1 | 17.8 | 68.0 |
373
+
374
+ [coco-cap]: https://cocodataset.org/#home
375
+ [docvqa]: https://www.docvqa.org/
376
+ [info-vqa]: https://arxiv.org/abs/2104.12756
377
+ [mmmu]: https://arxiv.org/abs/2311.16502
378
+ [textvqa]: https://textvqa.org/
379
+ [realworldqa]: https://paperswithcode.com/dataset/realworldqa
380
+ [remi]: https://arxiv.org/html/2406.09175v1
381
+ [ai2d]: https://allenai.org/data/diagrams
382
+ [chartqa]: https://arxiv.org/abs/2203.10244
383
+ [vqav2]: https://visualqa.org/index.html
384
+ [blinkvqa]: https://arxiv.org/abs/2404.12390
385
+ [okvqa]: https://okvqa.allenai.org/
386
+ [tallyqa]: https://arxiv.org/abs/1810.12440
387
+ [ss-vqa]: https://arxiv.org/abs/1908.02660
388
+ [countbenchqa]: https://github.com/google-research/big_vision/blob/main/big_vision/datasets/countbenchqa/
389
+ [mathvista]: https://arxiv.org/abs/2310.02255
390
+
391
+ ## Ethics and Safety
392
+
393
+ Ethics and safety evaluation approach and results.
394
+
395
+ ### Evaluation Approach
396
+
397
+ Our evaluation methods include structured evaluations and internal red-teaming
398
+ testing of relevant content policies. Red-teaming was conducted by a number of
399
+ different teams, each with different goals and human evaluation metrics. These
400
+ models were evaluated against a number of different categories relevant to
401
+ ethics and safety, including:
402
+
403
+ - **Child Safety**: Evaluation of text-to-text and image to text prompts
404
+ covering child safety policies, including child sexual abuse and
405
+ exploitation.
406
+ - **Content Safety:** Evaluation of text-to-text and image to text prompts
407
+ covering safety policies including, harassment, violence and gore, and hate
408
+ speech.
409
+ - **Representational Harms**: Evaluation of text-to-text and image to text
410
+ prompts covering safety policies including bias, stereotyping, and harmful
411
+ associations or inaccuracies.
412
+
413
+ In addition to development level evaluations, we conduct "assurance
414
+ evaluations" which are our 'arms-length' internal evaluations for responsibility
415
+ governance decision making. They are conducted separately from the model
416
+ development team, to inform decision making about release. High level findings
417
+ are fed back to the model team, but prompt sets are held-out to prevent
418
+ overfitting and preserve the results' ability to inform decision making.
419
+ Assurance evaluation results are reported to our Responsibility & Safety Council
420
+ as part of release review.
421
+
422
+ ### Evaluation Results
423
+
424
+ For all areas of safety testing, we saw major improvements in the categories of
425
+ child safety, content safety, and representational harms relative to previous
426
+ Gemma models. All testing was conducted without safety filters to evaluate the
427
+ model capabilities and behaviors. For both text-to-text and image-to-text, and
428
+ across all model sizes, the model produced minimal policy violations, and showed
429
+ significant improvements over previous Gemma models' performance with respect
430
+ to ungrounded inferences. A limitation of our evaluations was they included only
431
+ English language prompts.
432
+
433
+ ## Usage and Limitations
434
+
435
+ These models have certain limitations that users should be aware of.
436
+
437
+ ### Intended Usage
438
+
439
+ Open vision-language models (VLMs) models have a wide range of applications
440
+ across various industries and domains. The following list of potential uses is
441
+ not comprehensive. The purpose of this list is to provide contextual information
442
+ about the possible use-cases that the model creators considered as part of model
443
+ training and development.
444
+
445
+ - Content Creation and Communication
446
+ - Text Generation: These models can be used to generate creative text
447
+ formats such as poems, scripts, code, marketing copy, and email drafts.
448
+ - Chatbots and Conversational AI: Power conversational interfaces
449
+ for customer service, virtual assistants, or interactive applications.
450
+ - Text Summarization: Generate concise summaries of a text corpus,
451
+ research papers, or reports.
452
+ - Image Data Extraction: These models can be used to extract,
453
+ interpret, and summarize visual data for text communications.
454
+ - Research and Education
455
+ - Natural Language Processing (NLP) and VLM Research: These
456
+ models can serve as a foundation for researchers to experiment with VLM
457
+ and NLP techniques, develop algorithms, and contribute to the
458
+ advancement of the field.
459
+ - Language Learning Tools: Support interactive language learning
460
+ experiences, aiding in grammar correction or providing writing practice.
461
+ - Knowledge Exploration: Assist researchers in exploring large
462
+ bodies of text by generating summaries or answering questions about
463
+ specific topics.
464
+
465
+ ### Limitations
466
+
467
+ - Training Data
468
+ - The quality and diversity of the training data significantly
469
+ influence the model's capabilities. Biases or gaps in the training data
470
+ can lead to limitations in the model's responses.
471
+ - The scope of the training dataset determines the subject areas
472
+ the model can handle effectively.
473
+ - Context and Task Complexity
474
+ - Models are better at tasks that can be framed with clear
475
+ prompts and instructions. Open-ended or highly complex tasks might be
476
+ challenging.
477
+ - A model's performance can be influenced by the amount of context
478
+ provided (longer context generally leads to better outputs, up to a
479
+ certain point).
480
+ - Language Ambiguity and Nuance
481
+ - Natural language is inherently complex. Models might struggle
482
+ to grasp subtle nuances, sarcasm, or figurative language.
483
+ - Factual Accuracy
484
+ - Models generate responses based on information they learned
485
+ from their training datasets, but they are not knowledge bases. They
486
+ may generate incorrect or outdated factual statements.
487
+ - Common Sense
488
+ - Models rely on statistical patterns in language. They might
489
+ lack the ability to apply common sense reasoning in certain situations.
490
+
491
+ ### Ethical Considerations and Risks
492
+
493
+ The development of vision-language models (VLMs) raises several ethical
494
+ concerns. In creating an open model, we have carefully considered the following:
495
+
496
+ - Bias and Fairness
497
+ - VLMs trained on large-scale, real-world text and image data can
498
+ reflect socio-cultural biases embedded in the training material. These
499
+ models underwent careful scrutiny, input data pre-processing described
500
+ and posterior evaluations reported in this card.
501
+ - Misinformation and Misuse
502
+ - VLMs can be misused to generate text that is false, misleading,
503
+ or harmful.
504
+ - Guidelines are provided for responsible use with the model, see the
505
+ [Responsible Generative AI Toolkit][rai-toolkit].
506
+ - Transparency and Accountability:
507
+ - This model card summarizes details on the models' architecture,
508
+ capabilities, limitations, and evaluation processes.
509
+ - A responsibly developed open model offers the opportunity to
510
+ share innovation by making VLM technology accessible to developers and
511
+ researchers across the AI ecosystem.
512
+
513
+ Risks identified and mitigations:
514
+
515
+ - **Perpetuation of biases**: It's encouraged to perform continuous
516
+ monitoring (using evaluation metrics, human review) and the exploration of
517
+ de-biasing techniques during model training, fine-tuning, and other use
518
+ cases.
519
+ - **Generation of harmful content**: Mechanisms and guidelines for content
520
+ safety are essential. Developers are encouraged to exercise caution and
521
+ implement appropriate content safety safeguards based on their specific
522
+ product policies and application use cases.
523
+ - **Misuse for malicious purposes**: Technical limitations and developer
524
+ and end-user education can help mitigate against malicious applications of
525
+ VLMs. Educational resources and reporting mechanisms for users to flag
526
+ misuse are provided. Prohibited uses of Gemma models are outlined in the
527
+ [Gemma Prohibited Use Policy][prohibited-use].
528
+ - **Privacy violations**: Models were trained on data filtered for removal
529
+ of certain personal information and other sensitive data. Developers are
530
+ encouraged to adhere to privacy regulations with privacy-preserving
531
+ techniques.
532
+
533
+ ### Benefits
534
+
535
+ At the time of release, this family of models provides high-performance open
536
+ vision-language model implementations designed from the ground up for
537
+ responsible AI development compared to similarly sized models.
538
+
539
+ Using the benchmark evaluation metrics described in this document, these models
540
+ have shown to provide superior performance to other, comparably-sized open model
541
+ alternatives.
542
+
543
+ [g3-tech-report]: https://arxiv.org/abs/2503.19786
544
+ [rai-toolkit]: https://ai.google.dev/responsible
545
+ [kaggle-gemma]: https://www.kaggle.com/models/google/gemma-3
546
+ [vertex-mg-gemma3]: https://console.cloud.google.com/vertex-ai/publishers/google/model-garden/gemma3
547
+ [terms]: https://ai.google.dev/gemma/terms
548
+ [safety-policies]: https://ai.google/static/documents/ai-responsibility-update-published-february-2025.pdf
549
+ [prohibited-use]: https://ai.google.dev/gemma/prohibited_use_policy
550
+ [tpu]: https://cloud.google.com/tpu/docs/intro-to-tpu
551
+ [sustainability]: https://sustainability.google/operating-sustainably/
552
+ [jax]: https://github.com/jax-ml/jax
553
+ [ml-pathways]: https://blog.google/technology/ai/introducing-pathways-next-generation-ai-architecture/
554
+ [sustainability]: https://sustainability.google/operating-sustainably/
555
+ [gemini-2-paper]: https://arxiv.org/abs/2312.11805
556
+
557
+
558
+ <!--End Original Model Card-->
559
+
560
+ ---
561
+
562
+ # <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
563
+
564
+ Help me test my **AI-Powered Quantum Network Monitor Assistant** with **quantum-ready security checks**:
565
+
566
+ 👉 [Quantum Network Monitor](https://readyforquantum.com/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)
567
+
568
+
569
+ The full Open Source Code for the Quantum Network Monitor Service available at my github repos ( repos with NetworkMonitor in the name) : [Source Code Quantum Network Monitor](https://github.com/Mungert69). You will also find the code I use to quantize the models if you want to do it yourself [GGUFModelBuilder](https://github.com/Mungert69/GGUFModelBuilder)
570
+
571
+ 💬 **How to test**:
572
+ Choose an **AI assistant type**:
573
+ - `TurboLLM` (GPT-4.1-mini)
574
+ - `HugLLM` (Hugginface Open-source models)
575
+ - `TestLLM` (Experimental CPU-only)
576
+
577
+ ### **What I’m Testing**
578
+ I’m pushing the limits of **small open-source models for AI network monitoring**, specifically:
579
+ - **Function calling** against live network services
580
+ - **How small can a model go** while still handling:
581
+ - Automated **Nmap security scans**
582
+ - **Quantum-readiness checks**
583
+ - **Network Monitoring tasks**
584
+
585
+ 🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads on huggingface docker space):
586
+ - ✅ **Zero-configuration setup**
587
+ - ⏳ 30s load time (slow inference but **no API costs**) . No token limited as the cost is low.
588
+ - 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!
589
+
590
+ ### **Other Assistants**
591
+ 🟢 **TurboLLM** – Uses **gpt-4.1-mini** :
592
+ - **It performs very well but unfortunatly OpenAI charges per token. For this reason tokens usage is limited.
593
+ - **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**
594
+ - **Real-time network diagnostics and monitoring**
595
+ - **Security Audits**
596
+ - **Penetration testing** (Nmap/Metasploit)
597
+
598
+ 🔵 **HugLLM** – Latest Open-source models:
599
+ - 🌐 Runs on Hugging Face Inference API. Performs pretty well using the lastest models hosted on Novita.
600
+
601
+ ### 💡 **Example commands you could test**:
602
+ 1. `"Give me info on my websites SSL certificate"`
603
+ 2. `"Check if my server is using quantum safe encyption for communication"`
604
+ 3. `"Run a comprehensive security audit on my server"`
605
+ 4. '"Create a cmd processor to .. (what ever you want)" Note you need to install a [Quantum Network Monitor Agent](https://readyforquantum.com/Download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) to run the .net code on. This is a very flexible and powerful feature. Use with caution!
606
+
607
+ ### Final Word
608
+
609
+ I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
610
+
611
+ If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
612
+
613
+ I'm also open to job opportunities or sponsorship.
614
+
615
+ Thank you! 😊