Image-Text-to-Text
ZeroModels
Keras
PyTorch
JAX
TensorFlow
English
gemma3n
gemma-3n
audio-text-to-text
multimodal
Instructions to use zeromodels/gemma-3n-e4b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/gemma-3n-e4b-it with ZeroModels:
# pip install -U zeromodels # ZeroModels is pure Keras 3, so pick a backend: "jax", "torch" or "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" from zeromodels import AutoZModel # AutoZModel reads the repo's model_type and loads the matching class. # For a task head use the matching loader, e.g. AutoZMImageClassify / AutoZMDetect / # AutoZMSemanticSegment / AutoZMTextGenerate (see zeromodels.auto). model = AutoZModel.from_weights("zeromodels/gemma-3n-e4b-it") - Keras
How to use zeromodels/gemma-3n-e4b-it with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://zeromodels/gemma-3n-e4b-it") - Notebooks
- Google Colab
- Kaggle
Fix Collection badge link to the current zeromodels collection slug
Browse files
README.md
CHANGED
|
@@ -25,11 +25,11 @@ tags:
|
|
| 25 |
- tf
|
| 26 |
---
|
| 27 |
|
| 28 |
-
## ***See [our collection](https://huggingface.co/collections/zeromodels/gemma-3n-
|
| 29 |
|
| 30 |
# Run Gemma 3n with Keras 3: JAX, PyTorch, or TensorFlow
|
| 31 |
|
| 32 |
-
[](https://github.com/IMvision12/ZeroModels) [](https://imvision12.github.io/ZeroModels/gemma3n/) [](https://huggingface.co/collections/zeromodels/gemma-3n-
|
| 33 |
|
| 34 |
# zeromodels/gemma-3n-e4b-it
|
| 35 |
|
|
|
|
| 25 |
- tf
|
| 26 |
---
|
| 27 |
|
| 28 |
+
## ***See [our collection](https://huggingface.co/collections/zeromodels/gemma-3n-6a8eae3398ab3b9e5848c2c7) for all versions of Gemma 3n.***
|
| 29 |
|
| 30 |
# Run Gemma 3n with Keras 3: JAX, PyTorch, or TensorFlow
|
| 31 |
|
| 32 |
+
[](https://github.com/IMvision12/ZeroModels) [](https://imvision12.github.io/ZeroModels/gemma3n/) [](https://huggingface.co/collections/zeromodels/gemma-3n-6a8eae3398ab3b9e5848c2c7)
|
| 33 |
|
| 34 |
# zeromodels/gemma-3n-e4b-it
|
| 35 |
|