Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +77 -0
- gemma-2-2b-Q2_K.gguf +3 -0
- gemma-2-2b-Q3_K_L.gguf +3 -0
- gemma-2-2b-Q3_K_M.gguf +3 -0
- gemma-2-2b-Q3_K_S.gguf +3 -0
- gemma-2-2b-Q4_0.gguf +3 -0
- gemma-2-2b-Q4_K_M.gguf +3 -0
- gemma-2-2b-Q4_K_S.gguf +3 -0
- gemma-2-2b-Q5_0.gguf +3 -0
- gemma-2-2b-Q5_K_M.gguf +3 -0
- gemma-2-2b-Q5_K_S.gguf +3 -0
- gemma-2-2b-Q6_K.gguf +3 -0
- gemma-2-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-2-2b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
gemma-2-2b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
gemma-2-2b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
gemma-2-2b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
gemma-2-2b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
gemma-2-2b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
gemma-2-2b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
gemma-2-2b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
gemma-2-2b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
gemma-2-2b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
gemma-2-2b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
gemma-2-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: gemma
|
6 |
+
tags:
|
7 |
+
- unsloth
|
8 |
+
- transformers
|
9 |
+
- gemma2
|
10 |
+
- gemma
|
11 |
+
- TensorBlock
|
12 |
+
- GGUF
|
13 |
+
base_model: unsloth/gemma-2-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-2-2b - GGUF
|
28 |
+
|
29 |
+
This repo contains GGUF format model files for [unsloth/gemma-2-2b](https://huggingface.co/unsloth/gemma-2-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-2-2b-Q2_K.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q2_K.gguf) | Q2_K | 1.145 GB | smallest, significant quality loss - not recommended for most purposes |
|
44 |
+
| [gemma-2-2b-Q3_K_S.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q3_K_S.gguf) | Q3_K_S | 1.267 GB | very small, high quality loss |
|
45 |
+
| [gemma-2-2b-Q3_K_M.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q3_K_M.gguf) | Q3_K_M | 1.361 GB | very small, high quality loss |
|
46 |
+
| [gemma-2-2b-Q3_K_L.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q3_K_L.gguf) | Q3_K_L | 1.444 GB | small, substantial quality loss |
|
47 |
+
| [gemma-2-2b-Q4_0.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q4_0.gguf) | Q4_0 | 1.518 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
48 |
+
| [gemma-2-2b-Q4_K_S.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q4_K_S.gguf) | Q4_K_S | 1.526 GB | small, greater quality loss |
|
49 |
+
| [gemma-2-2b-Q4_K_M.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q4_K_M.gguf) | Q4_K_M | 1.591 GB | medium, balanced quality - recommended |
|
50 |
+
| [gemma-2-2b-Q5_0.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q5_0.gguf) | Q5_0 | 1.753 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
51 |
+
| [gemma-2-2b-Q5_K_S.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q5_K_S.gguf) | Q5_K_S | 1.753 GB | large, low quality loss - recommended |
|
52 |
+
| [gemma-2-2b-Q5_K_M.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q5_K_M.gguf) | Q5_K_M | 1.791 GB | large, very low quality loss - recommended |
|
53 |
+
| [gemma-2-2b-Q6_K.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q6_K.gguf) | Q6_K | 2.004 GB | very large, extremely low quality loss |
|
54 |
+
| [gemma-2-2b-Q8_0.gguf](https://huggingface.co/tensorblock/gemma-2-2b-GGUF/tree/main/gemma-2-2b-Q8_0.gguf) | Q8_0 | 2.593 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-2-2b-GGUF --include "gemma-2-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-2-2b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
77 |
+
```
|
gemma-2-2b-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1d2d326a65e2b9d76bad8f742b807c793236b088ce9d5de624c139d5cfa8a9c
|
3 |
+
size 1229829152
|
gemma-2-2b-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42f426f88a12ab36b4a23bb40bb31f4761458b6f04f871dcbf649c5cf8c55c3c
|
3 |
+
size 1550435360
|
gemma-2-2b-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:278c2dde9f620920b72c3bccc19d37afbf8a58086def05a6656f0914ae7b7e52
|
3 |
+
size 1461666848
|
gemma-2-2b-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba5602ec975eab385a2d410ddd76cadba36716fcdc0dc1cd8522378c97a9e894
|
3 |
+
size 1360659488
|
gemma-2-2b-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61734ed61135a46bc779737f3b20f3351009d4807614eea3e1fa4bdf36e4cceb
|
3 |
+
size 1629508640
|
gemma-2-2b-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97cc411f0280a44ea8e275aa440b7a3b13dd8dee341ce6dcb328741ab9c8c804
|
3 |
+
size 1708581920
|
gemma-2-2b-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7b50148edd2996d728a1cd18c630f00c069cf8ea7786c5b8f7aff6f1e23d68a
|
3 |
+
size 1638650912
|
gemma-2-2b-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e22222e2fb7b034b9e103f4867cd002d75a7bbc97d954b1840ca312813ed9be
|
3 |
+
size 1882543136
|
gemma-2-2b-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f3cb9076931b2c887a1d336f3046513c8a6ee6c0a363203c412031f317c44df
|
3 |
+
size 1923277856
|
gemma-2-2b-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:547146a53a5eaa9c6e5e0548536a46e97cf0153e959d70e5479adcf91782674a
|
3 |
+
size 1882543136
|
gemma-2-2b-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49bb3d17a904250ce9c7922e7b9df8aa33dc92973845e504932a36d05fb17d3c
|
3 |
+
size 2151392288
|
gemma-2-2b-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01e933425f8ca55608a8ce5af163399a687413d900a05ce9250ff24b2844768d
|
3 |
+
size 2784494624
|