Edit model card

Access CodeGemma on Hugging Face

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

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.

Log in or Sign Up to review the conditions and access this model content.

CodeGemma

Google Model Page: CodeGemma

This model card corresponds to the latest 2B base version of the Code Gemma 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.

Google Model Page : CodeGemma

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-2b-keras")
Downloads last month
12
Inference Examples
Inference API (serverless) does not yet support keras-hub models for this pipeline type.