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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/gemma-4-E2B-it") model = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-E2B-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- AMD Developer Cloud
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
| 55 |
],
|
| 56 |
"id2label": {
|
| 57 |
"1904": "no",
|
| 58 |
-
"4443": "yes"
|
| 59 |
},
|
| 60 |
"image_token_id": 258880,
|
| 61 |
"initializer_range": 0.02,
|
|
|
|
| 55 |
],
|
| 56 |
"id2label": {
|
| 57 |
"1904": "no",
|
| 58 |
+
"4443": "yes"
|
| 59 |
},
|
| 60 |
"image_token_id": 258880,
|
| 61 |
"initializer_range": 0.02,
|