Instructions to use tensorblock/codegemma-7b-it-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/codegemma-7b-it-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/codegemma-7b-it-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/codegemma-7b-it-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/codegemma-7b-it-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/codegemma-7b-it-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/codegemma-7b-it-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/codegemma-7b-it-GGUF:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tensorblock/codegemma-7b-it-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf tensorblock/codegemma-7b-it-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/codegemma-7b-it-GGUF:Q2_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use tensorblock/codegemma-7b-it-GGUF with Ollama:
ollama run hf.co/tensorblock/codegemma-7b-it-GGUF:Q2_K
- Unsloth Desktop
- Docker Model Runner
How to use tensorblock/codegemma-7b-it-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/codegemma-7b-it-GGUF:Q2_K
- Lemonade
How to use tensorblock/codegemma-7b-it-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/codegemma-7b-it-GGUF:Q2_K
Run and chat with the model
lemonade run user.codegemma-7b-it-GGUF-Q2_K
List all available models
lemonade list
- Atomic Chat
Keep Q2_K/Q3_K_M gguf only
Browse files- codegemma-7b-it-Q3_K_L.gguf +0 -3
- codegemma-7b-it-Q3_K_S.gguf +0 -3
- codegemma-7b-it-Q4_0.gguf +0 -3
- codegemma-7b-it-Q4_K_M.gguf +0 -3
- codegemma-7b-it-Q4_K_S.gguf +0 -3
- codegemma-7b-it-Q5_0.gguf +0 -3
- codegemma-7b-it-Q5_K_M.gguf +0 -3
- codegemma-7b-it-Q5_K_S.gguf +0 -3
- codegemma-7b-it-Q6_K.gguf +0 -3
- codegemma-7b-it-Q8_0.gguf +0 -3
codegemma-7b-it-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7ed8fa1bfa7f86170bd7a12ecb0e78b208c55571b0fe633b7009b18095048711
|
| 3 |
-
size 4709067328
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0167dceee1b735c5e169b1ef2ecb7d50a88398a0c65712cb9bfef28cd30ea2eb
|
| 3 |
-
size 3982404160
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:47cbe05f093c5a971136a5e763bd0a2154b1fda07fc28fd4dd14154afc4e1b50
|
| 3 |
-
size 5011843648
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:893855f5e9354c7f3998d313cfcdfe11bdcb80d32d7f69ef324071c6c27fefb9
|
| 3 |
-
size 5329758784
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0cc3d09fb2ded6737e7f232f22e1e32eaa587c0879c9581a2b8c8376ca12874c
|
| 3 |
-
size 5046446656
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c0c6b579e44b43069d3f83b461df1a3d82e9c48b7f73930a829e008748693238
|
| 3 |
-
size 5980727872
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8f08143d5369f668731c36758e0a3baece265bd24a4681b55bfa3f6fc5cbb3bd
|
| 3 |
-
size 6144502336
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:21d0014763c4acd0c6de9484a86d0dc0b1551ea232a62b365cb34fb0f70eb35b
|
| 3 |
-
size 5980727872
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c51e3ee7d38944dcff25aca3ba41f712bb98a442c0078891d9de447ab183cf36
|
| 3 |
-
size 7010167360
|
|
|
|
|
|
|
|
|
|
|
|
codegemma-7b-it-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:643f37f657978218b02937f27b8f29bdef58a9a679082022e303108419e66127
|
| 3 |
-
size 9077844544
|
|
|
|
|
|
|
|
|
|
|
|