codegemma-2b-keras / README.md
martin-gorner's picture
Update README.md
bf64a57 verified
|
raw
history blame
1.29 kB
---
library_name: keras-nlp
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
**❗️There is a newer version of this model here: [huggingface.co/google/codegemma-1.1-2b-keras](https://huggingface.co/google/codegemma-1.1-2b-keras)**
This model card corresponds to the 2B base version of the Code Gemma model for usage in keras.
For more information about the model, visit https://huggingface.co/google/codegemma-2b.
Google Model Page
: [CodeGemma](https://ai.google.dev/gemma/docs/codegemma)
Resources and Technical Documentation
: [Technical Report](https://goo.gle/codegemma)
: [Responsible Generative AI Toolkit](https://ai.google.dev/responsible)
Terms of Use
: [Terms](https://ai.google.dev/gemma/terms)
Authors
: Google
## Loading the model
```python
import keras_nlp
gemma_lm = keras_nlp.models.GemmaCausalLM.from_preset("hf://google/codegemma-2b-keras")
```