Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +90 -0
- gemma-2b-coder-Q2_K.gguf +3 -0
- gemma-2b-coder-Q3_K_L.gguf +3 -0
- gemma-2b-coder-Q3_K_M.gguf +3 -0
- gemma-2b-coder-Q3_K_S.gguf +3 -0
- gemma-2b-coder-Q4_0.gguf +3 -0
- gemma-2b-coder-Q4_K_M.gguf +3 -0
- gemma-2b-coder-Q4_K_S.gguf +3 -0
- gemma-2b-coder-Q5_0.gguf +3 -0
- gemma-2b-coder-Q5_K_M.gguf +3 -0
- gemma-2b-coder-Q5_K_S.gguf +3 -0
- gemma-2b-coder-Q6_K.gguf +3 -0
- gemma-2b-coder-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-coder-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
gemma-2b-coder-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
gemma-2b-coder-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
gemma-2b-coder-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
gemma-2b-coder-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
gemma-2b-coder-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
gemma-2b-coder-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
gemma-2b-coder-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
gemma-2b-coder-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
gemma-2b-coder-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
gemma-2b-coder-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
gemma-2b-coder-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
- code
|
5 |
+
- coding
|
6 |
+
- gemma
|
7 |
+
- TensorBlock
|
8 |
+
- GGUF
|
9 |
+
license_name: gemma-terms-of-use
|
10 |
+
license_link: https://ai.google.dev/gemma/terms
|
11 |
+
language:
|
12 |
+
- code
|
13 |
+
thumbnail: https://huggingface.co/mrm8488/gemma-2b-coder/resolve/main/logo.png
|
14 |
+
datasets:
|
15 |
+
- HuggingFaceH4/CodeAlpaca_20K
|
16 |
+
pipeline_tag: text-generation
|
17 |
+
base_model: MAISAAI/gemma-2b-coder
|
18 |
+
model-index:
|
19 |
+
- name: gemma-2b-coder
|
20 |
+
results: []
|
21 |
+
---
|
22 |
+
|
23 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
24 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
25 |
+
</div>
|
26 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
27 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
28 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
29 |
+
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>
|
30 |
+
</p>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
## MAISAAI/gemma-2b-coder - GGUF
|
35 |
+
|
36 |
+
This repo contains GGUF format model files for [MAISAAI/gemma-2b-coder](https://huggingface.co/MAISAAI/gemma-2b-coder).
|
37 |
+
|
38 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
39 |
+
|
40 |
+
<div style="text-align: left; margin: 20px 0;">
|
41 |
+
<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;">
|
42 |
+
Run them on the TensorBlock client using your local machine ↗
|
43 |
+
</a>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
## Prompt template
|
47 |
+
|
48 |
+
```
|
49 |
+
|
50 |
+
```
|
51 |
+
|
52 |
+
## Model file specification
|
53 |
+
|
54 |
+
| Filename | Quant type | File Size | Description |
|
55 |
+
| -------- | ---------- | --------- | ----------- |
|
56 |
+
| [gemma-2b-coder-Q2_K.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q2_K.gguf) | Q2_K | 1.158 GB | smallest, significant quality loss - not recommended for most purposes |
|
57 |
+
| [gemma-2b-coder-Q3_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q3_K_S.gguf) | Q3_K_S | 1.288 GB | very small, high quality loss |
|
58 |
+
| [gemma-2b-coder-Q3_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q3_K_M.gguf) | Q3_K_M | 1.384 GB | very small, high quality loss |
|
59 |
+
| [gemma-2b-coder-Q3_K_L.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q3_K_L.gguf) | Q3_K_L | 1.466 GB | small, substantial quality loss |
|
60 |
+
| [gemma-2b-coder-Q4_0.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q4_0.gguf) | Q4_0 | 1.551 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
61 |
+
| [gemma-2b-coder-Q4_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q4_K_S.gguf) | Q4_K_S | 1.560 GB | small, greater quality loss |
|
62 |
+
| [gemma-2b-coder-Q4_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q4_K_M.gguf) | Q4_K_M | 1.630 GB | medium, balanced quality - recommended |
|
63 |
+
| [gemma-2b-coder-Q5_0.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q5_0.gguf) | Q5_0 | 1.799 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
64 |
+
| [gemma-2b-coder-Q5_K_S.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q5_K_S.gguf) | Q5_K_S | 1.799 GB | large, low quality loss - recommended |
|
65 |
+
| [gemma-2b-coder-Q5_K_M.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q5_K_M.gguf) | Q5_K_M | 1.840 GB | large, very low quality loss - recommended |
|
66 |
+
| [gemma-2b-coder-Q6_K.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q6_K.gguf) | Q6_K | 2.062 GB | very large, extremely low quality loss |
|
67 |
+
| [gemma-2b-coder-Q8_0.gguf](https://huggingface.co/tensorblock/gemma-2b-coder-GGUF/blob/main/gemma-2b-coder-Q8_0.gguf) | Q8_0 | 2.669 GB | very large, extremely low quality loss - not recommended |
|
68 |
+
|
69 |
+
|
70 |
+
## Downloading instruction
|
71 |
+
|
72 |
+
### Command line
|
73 |
+
|
74 |
+
Firstly, install Huggingface Client
|
75 |
+
|
76 |
+
```shell
|
77 |
+
pip install -U "huggingface_hub[cli]"
|
78 |
+
```
|
79 |
+
|
80 |
+
Then, downoad the individual model file the a local directory
|
81 |
+
|
82 |
+
```shell
|
83 |
+
huggingface-cli download tensorblock/gemma-2b-coder-GGUF --include "gemma-2b-coder-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
84 |
+
```
|
85 |
+
|
86 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
87 |
+
|
88 |
+
```shell
|
89 |
+
huggingface-cli download tensorblock/gemma-2b-coder-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
90 |
+
```
|
gemma-2b-coder-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:119b6d8a5af32f503accf3d9cdb105d4bd33fa9955a2ac9dd3244eae4043c4e2
|
3 |
+
size 1157924864
|
gemma-2b-coder-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26c3ca4437c9a1cace83d89ad91666ca630c383549677ad370361abb779d1a21
|
3 |
+
size 1465591808
|
gemma-2b-coder-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaedce9b12e4e971bf1303e1db5f7cae685f65d91ea995f695c150487ab50054
|
3 |
+
size 1383802880
|
gemma-2b-coder-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d671f5e21b2affa3df53ef4889912077e5539f8638289ec70312e943e5fed699
|
3 |
+
size 1287981056
|
gemma-2b-coder-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32ada5859df3916c78710eb6a4b556f4a4672741f4ea29de607ce407a5c23bd7
|
3 |
+
size 1551190016
|
gemma-2b-coder-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16821546b078b7306638b6626b050cc9fe2187dde7091f01a69b04f1ae93a94f
|
3 |
+
size 1630263296
|
gemma-2b-coder-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:024d592aa44ddf75af1a552ac618b7adeffe734890503c79d2ab678f142e29f6
|
3 |
+
size 1559840768
|
gemma-2b-coder-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83dc048a2d307a52dccb838afaeb6f0161caa2242538062ab6ba732145f6cb9a
|
3 |
+
size 1798916096
|
gemma-2b-coder-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:434980c227bfc6b9d298e5cac9fd1a6a9817d388f49e6188bb0078c14a1f3142
|
3 |
+
size 1839650816
|
gemma-2b-coder-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e28b57eaa5859483f136ac51a8f9f6f0bffb0bf7e0e3a979f494634fa94e46e
|
3 |
+
size 1798916096
|
gemma-2b-coder-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4914e43b0c6c5aa28b2349f1e3684c6eecacd86f76bf797c886a5841b28a66fd
|
3 |
+
size 2062125056
|
gemma-2b-coder-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f883b0057be9312b6929464ea6c0b0d56284ff3ee045ecda1e55389f33b5b948
|
3 |
+
size 2669070336
|