Instructions to use google/gemma-4-E2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/gemma-4-E2B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/gemma-4-E2B") model = AutoModelForMultimodalLM.from_pretrained("google/gemma-4-E2B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README (#10)
- Update README (63b40e6f885981d724826735a0d233f53e6d2a02)d29ff6b
-
Add Technical Report
Verified signature19f17d3
-
Update README.md
Verified signature63db66a
-
Update README.md
Verified signature84434eb
-
Upload tokenizer.json
Verified signatureAdd BOS by default for base models9d53598 -
Update tokenizer_config.json
Verified signature94babfa -
Preparing for release!
Co-authored-by: RyanMullins <RyanMullins@users.noreply.huggingface.co> Co-authored-by: pcuenq <pcuenq@users.noreply.huggingface.co> Co-authored-by: bebechien <bebechien@users.noreply.huggingface.co> Co-authored-by: osanseviero <osanseviero@users.noreply.huggingface.co>926a599