gemma-7b-keras / README.md
merve's picture
merve HF staff
Update link to terms (#7)
478bc69 verified
metadata
library_name: keras-nlp
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 1

Google Model Page: Gemma

This model card corresponds to the latest 7B version of the Gemma model in Keras.

Keras models can be used with JAX, PyTorch or TensorFlow as numerical backends. JAX, with its support for SPMD model paralellism, is recommended for large models. For more information: distributed training with Keras and JAX.

You can find other models in the Gemma family here:

For more information about the model, visit https://huggingface.co/google/gemma-7b.

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-7b-keras")