Text Generation
KerasHub
English
text-generation-inference
text-classification
text-conversation
text-to-text-generation
Instructions to use keras/gemma_instruct_7b_en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/gemma_instruct_7b_en with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/gemma_instruct_7b_en") - Keras
How to use keras/gemma_instruct_7b_en 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://keras/gemma_instruct_7b_en") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md with new model card content
Verified signatured90da53
-
Update README.md with new model card content
Verified signature4296d02
-
Update README.md
Verified signaturea304be3
-
Update README.md
Verified signature714e1d4
-
Update README.md with new model card content
Verified signaturee11bc25
-
Update README.md with new model card content
Verified signature91793b1 -
Update README.md with new model card content
Verified signature9ac0ef7 -
Update README.md with new model card content
Verified signaturea803597
-
Upload folder using huggingface_hub
Verified signatureb316368 -
initial commit
Verified signaturec175aaa