Instructions to use google/gemma-4-E2B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-E2B-it with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("google/gemma-4-E2B-it") model = AutoModelForImageTextToText.from_pretrained("google/gemma-4-E2B-it") - Notebooks
- Google Colab
- Kaggle
fun config
Browse files- config.json +4 -0
config.json
CHANGED
|
@@ -53,6 +53,10 @@
|
|
| 53 |
1,
|
| 54 |
106
|
| 55 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
"image_token_id": 258880,
|
| 57 |
"initializer_range": 0.02,
|
| 58 |
"model_type": "gemma4",
|
|
|
|
| 53 |
1,
|
| 54 |
106
|
| 55 |
],
|
| 56 |
+
"id2label": {
|
| 57 |
+
"1904": "no",
|
| 58 |
+
"4443": "yes",
|
| 59 |
+
},
|
| 60 |
"image_token_id": 258880,
|
| 61 |
"initializer_range": 0.02,
|
| 62 |
"model_type": "gemma4",
|