Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +83 -0
- granite-3.1-2b-instruct-Q2_K.gguf +3 -0
- granite-3.1-2b-instruct-Q3_K_L.gguf +3 -0
- granite-3.1-2b-instruct-Q3_K_M.gguf +3 -0
- granite-3.1-2b-instruct-Q3_K_S.gguf +3 -0
- granite-3.1-2b-instruct-Q4_0.gguf +3 -0
- granite-3.1-2b-instruct-Q4_K_M.gguf +3 -0
- granite-3.1-2b-instruct-Q4_K_S.gguf +3 -0
- granite-3.1-2b-instruct-Q5_0.gguf +3 -0
- granite-3.1-2b-instruct-Q5_K_M.gguf +3 -0
- granite-3.1-2b-instruct-Q5_K_S.gguf +3 -0
- granite-3.1-2b-instruct-Q6_K.gguf +3 -0
- granite-3.1-2b-instruct-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 |
+
granite-3.1-2b-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.1-2b-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.1-2b-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.1-2b-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.1-2b-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.1-2b-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.1-2b-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.1-2b-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.1-2b-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.1-2b-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.1-2b-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.1-2b-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-generation
|
3 |
+
inference: false
|
4 |
+
license: apache-2.0
|
5 |
+
library_name: transformers
|
6 |
+
tags:
|
7 |
+
- language
|
8 |
+
- granite-3.1
|
9 |
+
- TensorBlock
|
10 |
+
- GGUF
|
11 |
+
base_model: ibm-granite/granite-3.1-2b-instruct
|
12 |
+
---
|
13 |
+
|
14 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
15 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
16 |
+
</div>
|
17 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
18 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
19 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
20 |
+
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>
|
21 |
+
</p>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
## ibm-granite/granite-3.1-2b-instruct - GGUF
|
26 |
+
|
27 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.1-2b-instruct](https://huggingface.co/ibm-granite/granite-3.1-2b-instruct).
|
28 |
+
|
29 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4391](https://github.com/ggerganov/llama.cpp/commit/9ba399dfa7f115effc63d48e6860a94c9faa31b2).
|
30 |
+
|
31 |
+
<div style="text-align: left; margin: 20px 0;">
|
32 |
+
<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;">
|
33 |
+
Run them on the TensorBlock client using your local machine ↗
|
34 |
+
</a>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
## Prompt template
|
38 |
+
|
39 |
+
```
|
40 |
+
<|start_of_role|>system<|end_of_role|>{system_prompt}<|end_of_text|>
|
41 |
+
<|start_of_role|>user<|end_of_role|>{prompt}<|end_of_text|>
|
42 |
+
<|start_of_role|>assistant<|end_of_role|>
|
43 |
+
```
|
44 |
+
|
45 |
+
## Model file specification
|
46 |
+
|
47 |
+
| Filename | Quant type | File Size | Description |
|
48 |
+
| -------- | ---------- | --------- | ----------- |
|
49 |
+
| [granite-3.1-2b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q2_K.gguf) | Q2_K | 0.978 GB | smallest, significant quality loss - not recommended for most purposes |
|
50 |
+
| [granite-3.1-2b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q3_K_S.gguf) | Q3_K_S | 1.130 GB | very small, high quality loss |
|
51 |
+
| [granite-3.1-2b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q3_K_M.gguf) | Q3_K_M | 1.252 GB | very small, high quality loss |
|
52 |
+
| [granite-3.1-2b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q3_K_L.gguf) | Q3_K_L | 1.357 GB | small, substantial quality loss |
|
53 |
+
| [granite-3.1-2b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q4_0.gguf) | Q4_0 | 1.453 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
54 |
+
| [granite-3.1-2b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q4_K_S.gguf) | Q4_K_S | 1.464 GB | small, greater quality loss |
|
55 |
+
| [granite-3.1-2b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q4_K_M.gguf) | Q4_K_M | 1.545 GB | medium, balanced quality - recommended |
|
56 |
+
| [granite-3.1-2b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q5_0.gguf) | Q5_0 | 1.757 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
57 |
+
| [granite-3.1-2b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q5_K_S.gguf) | Q5_K_S | 1.757 GB | large, low quality loss - recommended |
|
58 |
+
| [granite-3.1-2b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q5_K_M.gguf) | Q5_K_M | 1.805 GB | large, very low quality loss - recommended |
|
59 |
+
| [granite-3.1-2b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q6_K.gguf) | Q6_K | 2.081 GB | very large, extremely low quality loss |
|
60 |
+
| [granite-3.1-2b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.1-2b-instruct-GGUF/blob/main/granite-3.1-2b-instruct-Q8_0.gguf) | Q8_0 | 2.694 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/granite-3.1-2b-instruct-GGUF --include "granite-3.1-2b-instruct-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/granite-3.1-2b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
83 |
+
```
|
granite-3.1-2b-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48ae389ff345ec2e5ec312738fd409b628b35d121f466298100f82384a21d572
|
3 |
+
size 978245248
|
granite-3.1-2b-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:762b5508396a7573f53a2e891b12b51ad5b5ce673f9f39562847bda056fa6305
|
3 |
+
size 1357371008
|
granite-3.1-2b-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:895de9582f75f067ea1c0a2209ce88f14b9ce6309f98c3a8e62b62a769ca5923
|
3 |
+
size 1251726976
|
granite-3.1-2b-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b4c5d4d53768d32dbd9754ce840c6d67bd344284aca5b704dccdf056872608d
|
3 |
+
size 1130288768
|
granite-3.1-2b-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e4dff2185a4e5c1195dede391a554b0a82ed2c12cc9b74ccdf3ad77c55aa180
|
3 |
+
size 1453381248
|
granite-3.1-2b-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48c2c493b7652a44025b95bc34a03ff9209e748d4aee8148f9983db4cfdce89d
|
3 |
+
size 1545295488
|
granite-3.1-2b-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:933475c65f5928990c84385afbc848859c2d0cbac7e675fb019e61f6d6032b82
|
3 |
+
size 1464391296
|
granite-3.1-2b-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65c9f56b7e4994e72773244089d86064519ad75298e3bdb2ac024a5929261caa
|
3 |
+
size 1757468288
|
granite-3.1-2b-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0115f5d1ef062070b37cb63e92226cfefe90c5a8f91979d979ac22bfc8b3965
|
3 |
+
size 1804818048
|
granite-3.1-2b-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c93bed80058674f58521a33e19eea0b4aac4f9f75917c209ec6148e6b521b40
|
3 |
+
size 1757468288
|
granite-3.1-2b-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:985a8554e8083962c5cd9b3220ff7c6e47443e32de1e1332d8bbf814976173f4
|
3 |
+
size 2080560768
|
granite-3.1-2b-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae11feb0abd30035dc5acb3a84421d60c98e1ee18cf87e709a750f5b0d8307ff
|
3 |
+
size 2694110272
|