---
library_name: transformers
license: gemma
license_link: https://ai.google.dev/gemma/terms
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
tags:
- llama-cpp
- gguf-my-repo
base_model: google/codegemma-1.1-2b
---
# codegemma-1.1-2b
**Model creator:** [google](https://huggingface.co/google)
**Original model**: [google/codegemma-1.1-2b](https://huggingface.co/google/codegemma-1.1-2b)
**GGUF quantization:** provided by [olegshulyakov](https:/huggingface.co/olegshulyakov) using `llama.cpp`
## Special thanks
🙏 Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/) for making all of this possible.
## Use with Ollama
```bash
ollama run "hf.co/olegshulyakov/codegemma-1.1-2b-GGUF:Q5_K_XL"
```
## Use with LM Studio
```bash
lms load "olegshulyakov/codegemma-1.1-2b-GGUF"
```
## Use with llama.cpp CLI
```bash
llama-cli -hf olegshulyakov/codegemma-1.1-2b-GGUF:Q5_K_XL -p "The meaning to life and the universe is"
```
## Use with llama.cpp Server:
```bash
llama-server -hf olegshulyakov/codegemma-1.1-2b-GGUF:Q5_K_XL -c 4096
```