Instructions to use google/gemma-4-12B-it-assistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-12B-it-assistant with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("google/gemma-4-12B-it-assistant") model = AutoModelForCausalLM.from_pretrained("google/gemma-4-12B-it-assistant") - Notebooks
- Google Colab
- Kaggle
Update max_position_embeddings to support full context length.
#2
by dougreid - opened
No description provided.
osanseviero changed pull request status to merged