Instructions to use google/gemma-4-12B-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-12B-it with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/gemma-4-12B-it") model = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-12B-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- AMD Developer Cloud
Update README
#47
by MaartenGr - opened
README.md
CHANGED
|
@@ -386,7 +386,7 @@ Compared to Gemma 3, the models use standard `system`, `assistant`, and `user` r
|
|
| 386 |
|
| 387 |
### 3. Multi-Turn Conversations
|
| 388 |
|
| 389 |
-
* **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final response. Thoughts from previous model turns must *not be added* before the next user turn begins.
|
| 390 |
|
| 391 |
### 4. Modality order
|
| 392 |
|
|
|
|
| 386 |
|
| 387 |
### 3. Multi-Turn Conversations
|
| 388 |
|
| 389 |
+
* **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final response. Thoughts from previous model turns must *not be added* before the next user turn begins, with the exception of tool call turns where thinking content should be preserved.
|
| 390 |
|
| 391 |
### 4. Modality order
|
| 392 |
|