metadata
library_name: keras-hub
license: gemma
pipeline_tag: text-generation
extra_gated_heading: Access Gemma on Hugging Face
extra_gated_prompt: >-
To access Gemma on Hugging Face, you’re required to review and agree to
Google’s usage license. To do this, please ensure you’re logged-in to Hugging
Face and click below. Requests are processed immediately.
extra_gated_button_content: Acknowledge license
Gemma Model Card
Model Page: Gemma
❗️ There is a newer version of this model here: gemma-1.1-2b-it-keras
This model card corresponds to the 2B instruct version of the Gemma model for usage in keras. For more information about the model, visit https://huggingface.co/google/gemma-2b-it.
Resources and Technical Documentation:
Terms of Use: Terms
Authors: Google
Loading the model
import keras_nlp
gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset("hf://google/gemma-2b-it-keras")