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:
# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
24 days ago
-
Update generation_config.json (#7)
- Update generation_config.json (f3a14c905985a2be042cd83403a5c0edfcbff228)3b0b0a4
-
Update README.md
Verified signature46d4c6f
-
Update README (#6)
- Update README (4e5bc729f9f8873716e9b6e4be19ef4c589923b7)364bd03
-
Add Technical Report
Verified signaturee93af37
-
Update max_position_embeddings to support full context length. (#2)
- Update max_position_embeddings to support full context length. (049a5469e5c6db170e6dc07de9414cbe0a2260f6) Co-authored-by: Douglas Reid <dougreid@users.noreply.huggingface.co>3cb659f
-
Update README.md
Verified signature7d5d451 -
Update README.md
Verified signatured48cbc8 -
Preparing for release!
Co-authored-by: douglas reid <douglas reid@users.noreply.huggingface.co> Co-authored-by: dougreid <dougreid@users.noreply.huggingface.co>723932f