Instructions to use YuCollection/gemma-4-E2B-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YuCollection/gemma-4-E2B-bf16 with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("YuCollection/gemma-4-E2B-bf16") model = AutoModelForImageTextToText.from_pretrained("YuCollection/gemma-4-E2B-bf16") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,20 +5,37 @@ license_link: https://ai.google.dev/gemma/docs/gemma_4_license
|
|
| 5 |
pipeline_tag: any-to-any
|
| 6 |
---
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
<p align="center">
|
| 14 |
-
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
<
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
</p>
|
| 21 |
|
|
|
|
| 22 |
Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages.
|
| 23 |
|
| 24 |
Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in four distinct sizes: **E2B**, **E4B**, **26B A4B**, and **31B**. Their diverse sizes make them deployable in environments ranging from high-end phones to laptops and servers, democratizing access to state-of-the-art AI.
|
|
|
|
| 5 |
pipeline_tag: any-to-any
|
| 6 |
---
|
| 7 |
|
| 8 |
+
> **Note:** This repository is an **archived mirror** and is **not** the original upstream source.
|
| 9 |
+
> The original model, weights, and documentation are developed and maintained by **Google DeepMind**.
|
| 10 |
+
>
|
| 11 |
+
> All hosted model weights are **unmodified**. Any README edits are purely editorial and do not affect the model, its behavior, or its licensing.
|
| 12 |
+
>
|
| 13 |
+
> The model is released under the **Apache License, Version 2.0**, which permits use, modification, and redistribution under its terms.
|
| 14 |
+
>
|
| 15 |
+
> *This repository is not affiliated with, endorsed by, or sponsored by Google DeepMind.*
|
| 16 |
|
| 17 |
<p align="center">
|
| 18 |
+
<a href="https://huggingface.co/collections/google/gemma-4" target="_blank">
|
| 19 |
+
<img src="https://img.shields.io/badge/Models-Hugging%20Face-yellow?style=flat-square">
|
| 20 |
+
</a>
|
| 21 |
+
<a href="https://github.com/google-gemma" target="_blank">
|
| 22 |
+
<img src="https://img.shields.io/badge/Source-GitHub-181717?style=flat-square">
|
| 23 |
+
</a>
|
| 24 |
+
<a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/" target="_blank">
|
| 25 |
+
<img src="https://img.shields.io/badge/Blog-Launch-lightgrey?style=flat-square">
|
| 26 |
+
</a>
|
| 27 |
+
<a href="https://ai.google.dev/gemma/docs/core" target="_blank">
|
| 28 |
+
<img src="https://img.shields.io/badge/Docs-Official-0A66C2?style=flat-square">
|
| 29 |
+
</a>
|
| 30 |
+
<a href="https://ai.google.dev/gemma/docs/gemma_4_license" target="_blank">
|
| 31 |
+
<img src="https://img.shields.io/badge/License-Apache%202.0-red?style=flat-square">
|
| 32 |
+
</a>
|
| 33 |
+
<a href="https://deepmind.google/models/gemma/" target="_blank">
|
| 34 |
+
<img src="https://img.shields.io/badge/Author-Google%20DeepMind-blue?style=flat-square">
|
| 35 |
+
</a>
|
| 36 |
</p>
|
| 37 |
|
| 38 |
+
|
| 39 |
Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on small models) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages.
|
| 40 |
|
| 41 |
Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in four distinct sizes: **E2B**, **E4B**, **26B A4B**, and **31B**. Their diverse sizes make them deployable in environments ranging from high-end phones to laptops and servers, democratizing access to state-of-the-art AI.
|