martin-gorner's picture
keras hub migration
eb6c7b2
|
raw
history blame
2.01 kB
metadata
library_name: keras-hub
extra_gated_heading: Access CodeGemma on Hugging Face
extra_gated_prompt: >-
  To access CodeGemma 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
license: gemma
license_link: https://ai.google.dev/gemma/terms
pipeline_tag: text-generation

CodeGemma

Google Model Page: CodeGemma

This model card corresponds to the latest 7B instruct version of the CodeGemma 1.1 model for usage 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 CodeGemma family here:

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

Resources and Technical Documentation : Technical Report : Responsible Generative AI Toolkit

Terms of Use : Terms

Authors : Google

Loading the model

import keras_nlp

gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset("hf://google/codegemma-1.1-7b-it-keras")