Instructions to use google/gemma-4-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-12B with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/gemma-4-12B") model = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-12B") - Notebooks
- Google Colab
- Kaggle
ValueError: Cannot use apply_chat_template because this processor does not have a chat template.
#3
by kangyang - opened