Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +77 -0
- gemma-2b-Q2_K.gguf +3 -0
- gemma-2b-Q3_K_L.gguf +3 -0
- gemma-2b-Q3_K_M.gguf +3 -0
- gemma-2b-Q3_K_S.gguf +3 -0
- gemma-2b-Q4_0.gguf +3 -0
- gemma-2b-Q4_K_M.gguf +3 -0
- gemma-2b-Q4_K_S.gguf +3 -0
- gemma-2b-Q5_0.gguf +3 -0
- gemma-2b-Q5_K_M.gguf +3 -0
- gemma-2b-Q5_K_S.gguf +3 -0
- gemma-2b-Q6_K.gguf +3 -0
- gemma-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 |
+
gemma-2b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
gemma-2b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
gemma-2b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
gemma-2b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
gemma-2b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
gemma-2b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
gemma-2b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
gemma-2b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
gemma-2b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
gemma-2b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
gemma-2b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
gemma-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 |
+
- gemma-2b
|
11 |
+
- TensorBlock
|
12 |
+
- GGUF
|
13 |
+
base_model: unsloth/gemma-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/gemma-2b - GGUF
|
28 |
+
|
29 |
+
This repo contains GGUF format model files for [unsloth/gemma-2b](https://huggingface.co/unsloth/gemma-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 |
+
| [gemma-2b-Q2_K.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q2_K.gguf) | Q2_K | 1.078 GB | smallest, significant quality loss - not recommended for most purposes |
|
44 |
+
| [gemma-2b-Q3_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q3_K_S.gguf) | Q3_K_S | 1.200 GB | very small, high quality loss |
|
45 |
+
| [gemma-2b-Q3_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q3_K_M.gguf) | Q3_K_M | 1.289 GB | very small, high quality loss |
|
46 |
+
| [gemma-2b-Q3_K_L.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q3_K_L.gguf) | Q3_K_L | 1.365 GB | small, substantial quality loss |
|
47 |
+
| [gemma-2b-Q4_0.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q4_0.gguf) | Q4_0 | 1.445 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
48 |
+
| [gemma-2b-Q4_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q4_K_S.gguf) | Q4_K_S | 1.453 GB | small, greater quality loss |
|
49 |
+
| [gemma-2b-Q4_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q4_K_M.gguf) | Q4_K_M | 1.518 GB | medium, balanced quality - recommended |
|
50 |
+
| [gemma-2b-Q5_0.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q5_0.gguf) | Q5_0 | 1.675 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
51 |
+
| [gemma-2b-Q5_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q5_K_S.gguf) | Q5_K_S | 1.675 GB | large, low quality loss - recommended |
|
52 |
+
| [gemma-2b-Q5_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q5_K_M.gguf) | Q5_K_M | 1.713 GB | large, very low quality loss - recommended |
|
53 |
+
| [gemma-2b-Q6_K.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-2b-Q6_K.gguf) | Q6_K | 1.921 GB | very large, extremely low quality loss |
|
54 |
+
| [gemma-2b-Q8_0.gguf](https://huggingface.co/tensorblock/gemma-2b-GGUF/tree/main/gemma-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/gemma-2b-GGUF --include "gemma-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/gemma-2b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
77 |
+
```
|
gemma-2b-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82ccf555f4b1756c88b18ca31561d32f888233aba98d44b2d013832d050c6e12
|
3 |
+
size 1157923456
|
gemma-2b-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ca2ee748240477b2573ae45f2d3bea954c2be4241c2b33609cff4a49f9d5f6c
|
3 |
+
size 1465590400
|
gemma-2b-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:208f1903873fc30e05d1c5e78733e877674003eb48ba3467f005a4c28b8a3abd
|
3 |
+
size 1383801472
|
gemma-2b-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f74e08a728c37fa76afac7a95ce06a5eb62d8a56c7ea8478d03486784e3b5b74
|
3 |
+
size 1287979648
|
gemma-2b-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd346e76ebb5fa902d2d17a8de1bfa266101ff858a9a3c3bb949d8eba8ddbe2d
|
3 |
+
size 1551188608
|
gemma-2b-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3193f11630610aa7670d1ecf20709f38450a1a247336b06a84df26c8f5ecf9dd
|
3 |
+
size 1630261888
|
gemma-2b-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e7aa81b0eb1394f157af144a489d2ca0cf03713bf92397b6b8d1a6ec26f6722
|
3 |
+
size 1559839360
|
gemma-2b-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b348f50835c6104a47dc83795ce0ea8641b8308773370cb56c6473606e4476ff
|
3 |
+
size 1798914688
|
gemma-2b-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca71cdcec5ca4fd4b5dd222f2eb189b153a5fe1e99cf560d8aae14cd888e5531
|
3 |
+
size 1839649408
|
gemma-2b-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98411c555e27e615388878ba7dd29d4a99bf8d3f03dabf055d9551ab25225fc3
|
3 |
+
size 1798914688
|
gemma-2b-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2af91f9b9491aeba7bd7abff46bbfd9964f62180a155021712e908337804457
|
3 |
+
size 2062123648
|
gemma-2b-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:880ca33c8b833085c38ec6d075431c2ff42f4e661d4f8a347aa56d44543f8162
|
3 |
+
size 2669068928
|