Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +83 -0
- codegemma-7b-Q2_K.gguf +3 -0
- codegemma-7b-Q3_K_L.gguf +3 -0
- codegemma-7b-Q3_K_M.gguf +3 -0
- codegemma-7b-Q3_K_S.gguf +3 -0
- codegemma-7b-Q4_0.gguf +3 -0
- codegemma-7b-Q4_K_M.gguf +3 -0
- codegemma-7b-Q4_K_S.gguf +3 -0
- codegemma-7b-Q5_0.gguf +3 -0
- codegemma-7b-Q5_K_M.gguf +3 -0
- codegemma-7b-Q5_K_S.gguf +3 -0
- codegemma-7b-Q6_K.gguf +3 -0
- codegemma-7b-Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
codegemma-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
codegemma-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
codegemma-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
codegemma-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
codegemma-7b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
codegemma-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
codegemma-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
codegemma-7b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
codegemma-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
codegemma-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
codegemma-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
codegemma-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: gemma
|
| 4 |
+
license_link: https://ai.google.dev/gemma/terms
|
| 5 |
+
extra_gated_heading: Access CodeGemma on Hugging Face
|
| 6 |
+
extra_gated_prompt: To access CodeGemma on Hugging Face, you’re required to review
|
| 7 |
+
and agree to Google’s usage license. To do this, please ensure you’re logged-in
|
| 8 |
+
to Hugging Face and click below. Requests are processed immediately.
|
| 9 |
+
extra_gated_button_content: Acknowledge license
|
| 10 |
+
base_model: google/codegemma-7b
|
| 11 |
+
tags:
|
| 12 |
+
- TensorBlock
|
| 13 |
+
- GGUF
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 17 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 18 |
+
</div>
|
| 19 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 20 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 21 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 22 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 23 |
+
</p>
|
| 24 |
+
</div>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
## google/codegemma-7b - GGUF
|
| 28 |
+
|
| 29 |
+
This repo contains GGUF format model files for [google/codegemma-7b](https://huggingface.co/google/codegemma-7b).
|
| 30 |
+
|
| 31 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 32 |
+
|
| 33 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 34 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 35 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 36 |
+
</a>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
## Prompt template
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## Model file specification
|
| 46 |
+
|
| 47 |
+
| Filename | Quant type | File Size | Description |
|
| 48 |
+
| -------- | ---------- | --------- | ----------- |
|
| 49 |
+
| [codegemma-7b-Q2_K.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q2_K.gguf) | Q2_K | 3.481 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 50 |
+
| [codegemma-7b-Q3_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q3_K_S.gguf) | Q3_K_S | 3.982 GB | very small, high quality loss |
|
| 51 |
+
| [codegemma-7b-Q3_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q3_K_M.gguf) | Q3_K_M | 4.369 GB | very small, high quality loss |
|
| 52 |
+
| [codegemma-7b-Q3_K_L.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q3_K_L.gguf) | Q3_K_L | 4.709 GB | small, substantial quality loss |
|
| 53 |
+
| [codegemma-7b-Q4_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q4_0.gguf) | Q4_0 | 5.012 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 54 |
+
| [codegemma-7b-Q4_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q4_K_S.gguf) | Q4_K_S | 5.046 GB | small, greater quality loss |
|
| 55 |
+
| [codegemma-7b-Q4_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q4_K_M.gguf) | Q4_K_M | 5.330 GB | medium, balanced quality - recommended |
|
| 56 |
+
| [codegemma-7b-Q5_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q5_0.gguf) | Q5_0 | 5.981 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 57 |
+
| [codegemma-7b-Q5_K_S.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q5_K_S.gguf) | Q5_K_S | 5.981 GB | large, low quality loss - recommended |
|
| 58 |
+
| [codegemma-7b-Q5_K_M.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q5_K_M.gguf) | Q5_K_M | 6.145 GB | large, very low quality loss - recommended |
|
| 59 |
+
| [codegemma-7b-Q6_K.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q6_K.gguf) | Q6_K | 7.010 GB | very large, extremely low quality loss |
|
| 60 |
+
| [codegemma-7b-Q8_0.gguf](https://huggingface.co/tensorblock/codegemma-7b-GGUF/blob/main/codegemma-7b-Q8_0.gguf) | Q8_0 | 9.078 GB | very large, extremely low quality loss - not recommended |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
## Downloading instruction
|
| 64 |
+
|
| 65 |
+
### Command line
|
| 66 |
+
|
| 67 |
+
Firstly, install Huggingface Client
|
| 68 |
+
|
| 69 |
+
```shell
|
| 70 |
+
pip install -U "huggingface_hub[cli]"
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Then, downoad the individual model file the a local directory
|
| 74 |
+
|
| 75 |
+
```shell
|
| 76 |
+
huggingface-cli download tensorblock/codegemma-7b-GGUF --include "codegemma-7b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 80 |
+
|
| 81 |
+
```shell
|
| 82 |
+
huggingface-cli download tensorblock/codegemma-7b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 83 |
+
```
|
codegemma-7b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31332c4a662f656519e2e9b90f5211ff7b55048848a86dffebd6a0e1fda94054
|
| 3 |
+
size 3481446176
|
codegemma-7b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3cc329c6b4e5daf375317900c97aaf70e43900ef33c98d25c3ba0d26b003a5a
|
| 3 |
+
size 4709066528
|
codegemma-7b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d08943df92583225fce70e6d96cb383eb80b85805c148b0e47238134862610d
|
| 3 |
+
size 4369327904
|
codegemma-7b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed38f8a5f7063e754537b2a4a700ca66d3e6c801266a2ab712d9314c7535f929
|
| 3 |
+
size 3982403360
|
codegemma-7b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8118250af7828462c4ec723816f776402911fd969aea5a49fbcb5e302c1b2c46
|
| 3 |
+
size 5011842848
|
codegemma-7b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f47d769379335fa4a3c47c169760d00290b21c5c95a5a1384d16b96516f5dd4
|
| 3 |
+
size 5329757984
|
codegemma-7b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0654e49a61684b11c8743abcf59432e39d3280dd35238fb6be56bd75f84e6347
|
| 3 |
+
size 5046445856
|
codegemma-7b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97316e0e6a8219814ea17aa746a0c8d67f17fa3ad655973f2d78e290f152fb64
|
| 3 |
+
size 5980727072
|
codegemma-7b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adeea2f895d072691ba8a7b21624764caf8a95faa1e5524651fa63b23134ea2a
|
| 3 |
+
size 6144501536
|
codegemma-7b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b02603ca0da52c62d6b638f9060f5d8441c49724dbefd1adf65c94a1032f9d3
|
| 3 |
+
size 5980727072
|
codegemma-7b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cca73a3a09e1bc85c6a7df086e2c432cca0d23b7dc484c409d4593b92c314c6e
|
| 3 |
+
size 7010166560
|
codegemma-7b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26a35e6a52c10c1f89929ac3e4ae96592efb7f925502544f132e06309ab77315
|
| 3 |
+
size 9077843744
|