Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +77 -0
- codegemma-2b-Q2_K.gguf +3 -0
- codegemma-2b-Q3_K_L.gguf +3 -0
- codegemma-2b-Q3_K_M.gguf +3 -0
- codegemma-2b-Q3_K_S.gguf +3 -0
- codegemma-2b-Q4_0.gguf +3 -0
- codegemma-2b-Q4_K_M.gguf +3 -0
- codegemma-2b-Q4_K_S.gguf +3 -0
- codegemma-2b-Q5_0.gguf +3 -0
- codegemma-2b-Q5_K_M.gguf +3 -0
- codegemma-2b-Q5_K_S.gguf +3 -0
- codegemma-2b-Q6_K.gguf +3 -0
- codegemma-2b-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-2b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
codegemma-2b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
codegemma-2b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
codegemma-2b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
codegemma-2b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
codegemma-2b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
codegemma-2b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
codegemma-2b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
codegemma-2b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
codegemma-2b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
codegemma-2b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
codegemma-2b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
library_name: transformers
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
tags:
|
| 7 |
+
- unsloth
|
| 8 |
+
- transformers
|
| 9 |
+
- gemma
|
| 10 |
+
- bnb
|
| 11 |
+
- TensorBlock
|
| 12 |
+
- GGUF
|
| 13 |
+
base_model: unsloth/codegemma-2b
|
| 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 |
+
## unsloth/codegemma-2b - GGUF
|
| 28 |
+
|
| 29 |
+
This repo contains GGUF format model files for [unsloth/codegemma-2b](https://huggingface.co/unsloth/codegemma-2b).
|
| 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 |
+
## Prompt template
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Model file specification
|
| 40 |
+
|
| 41 |
+
| Filename | Quant type | File Size | Description |
|
| 42 |
+
| -------- | ---------- | --------- | ----------- |
|
| 43 |
+
| [codegemma-2b-Q2_K.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q2_K.gguf) | Q2_K | 1.078 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 44 |
+
| [codegemma-2b-Q3_K_S.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q3_K_S.gguf) | Q3_K_S | 1.200 GB | very small, high quality loss |
|
| 45 |
+
| [codegemma-2b-Q3_K_M.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q3_K_M.gguf) | Q3_K_M | 1.289 GB | very small, high quality loss |
|
| 46 |
+
| [codegemma-2b-Q3_K_L.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q3_K_L.gguf) | Q3_K_L | 1.365 GB | small, substantial quality loss |
|
| 47 |
+
| [codegemma-2b-Q4_0.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q4_0.gguf) | Q4_0 | 1.445 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 48 |
+
| [codegemma-2b-Q4_K_S.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q4_K_S.gguf) | Q4_K_S | 1.453 GB | small, greater quality loss |
|
| 49 |
+
| [codegemma-2b-Q4_K_M.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q4_K_M.gguf) | Q4_K_M | 1.518 GB | medium, balanced quality - recommended |
|
| 50 |
+
| [codegemma-2b-Q5_0.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q5_0.gguf) | Q5_0 | 1.675 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 51 |
+
| [codegemma-2b-Q5_K_S.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q5_K_S.gguf) | Q5_K_S | 1.675 GB | large, low quality loss - recommended |
|
| 52 |
+
| [codegemma-2b-Q5_K_M.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q5_K_M.gguf) | Q5_K_M | 1.713 GB | large, very low quality loss - recommended |
|
| 53 |
+
| [codegemma-2b-Q6_K.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q6_K.gguf) | Q6_K | 1.921 GB | very large, extremely low quality loss |
|
| 54 |
+
| [codegemma-2b-Q8_0.gguf](https://huggingface.co/tensorblock/codegemma-2b-GGUF/tree/main/codegemma-2b-Q8_0.gguf) | Q8_0 | 2.486 GB | very large, extremely low quality loss - not recommended |
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
## Downloading instruction
|
| 58 |
+
|
| 59 |
+
### Command line
|
| 60 |
+
|
| 61 |
+
Firstly, install Huggingface Client
|
| 62 |
+
|
| 63 |
+
```shell
|
| 64 |
+
pip install -U "huggingface_hub[cli]"
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
Then, downoad the individual model file the a local directory
|
| 68 |
+
|
| 69 |
+
```shell
|
| 70 |
+
huggingface-cli download tensorblock/codegemma-2b-GGUF --include "codegemma-2b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 74 |
+
|
| 75 |
+
```shell
|
| 76 |
+
huggingface-cli download tensorblock/codegemma-2b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 77 |
+
```
|
codegemma-2b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f373b6a9e6c0324e5ad6e2e1a9a0d69d1b58bc694b34338f8fb926f311c175e8
|
| 3 |
+
size 1157923456
|
codegemma-2b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:885c14e076bf6de0e190546dbdd3a3d5f467303728b8075d8a7be4e6c9667f32
|
| 3 |
+
size 1465590400
|
codegemma-2b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e7f792f42ed76219b77f830d18d3ac945e7b5fa3bc109478aec26946d84f7cb
|
| 3 |
+
size 1383801472
|
codegemma-2b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ab18c7a655507bd17229f319951ab7d8c48e7eea557ba49e40c9d5399f5ffb0
|
| 3 |
+
size 1287979648
|
codegemma-2b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:591d0ab60a1c3ee5cd4543ce5a063ca01df428365991d70de396bee3bdf9d19e
|
| 3 |
+
size 1551188608
|
codegemma-2b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a715e91c9dab4cb2f2ac9b876128f63e1b44072ab7eeec79115127a51c565a1e
|
| 3 |
+
size 1630261888
|
codegemma-2b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76719ff143db4ad0de58310b36b51229c2623a6628fd8d3b9454ede8a48545da
|
| 3 |
+
size 1559839360
|
codegemma-2b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1a18f2869ccb30eee8408a4459d21a7f5d163fb6759ab3fb9621c591324c84c
|
| 3 |
+
size 1798914688
|
codegemma-2b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7cc1ede1296de5888a6f37d15f826a57ecc7f2fe305536a5c7f190ca84ace90
|
| 3 |
+
size 1839649408
|
codegemma-2b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63ab28ec293714cfad64de1f7c0c779ca1fa64a2491dcb625d9becff808b8cf8
|
| 3 |
+
size 1798914688
|
codegemma-2b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46bb6814bfd1db486cae85a972b0a9a49a26f236848554d158e556c8f7d80068
|
| 3 |
+
size 2062123648
|
codegemma-2b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5298016d8656691c0743db37e206e6244f9a2efcf390c2cd7805e8d7240d59f
|
| 3 |
+
size 2669068928
|