Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +81 -0
- granite-7b-instruct-Q2_K.gguf +3 -0
- granite-7b-instruct-Q3_K_L.gguf +3 -0
- granite-7b-instruct-Q3_K_M.gguf +3 -0
- granite-7b-instruct-Q3_K_S.gguf +3 -0
- granite-7b-instruct-Q4_0.gguf +3 -0
- granite-7b-instruct-Q4_K_M.gguf +3 -0
- granite-7b-instruct-Q4_K_S.gguf +3 -0
- granite-7b-instruct-Q5_0.gguf +3 -0
- granite-7b-instruct-Q5_K_M.gguf +3 -0
- granite-7b-instruct-Q5_K_S.gguf +3 -0
- granite-7b-instruct-Q6_K.gguf +3 -0
- granite-7b-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-7b-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-7b-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-7b-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-7b-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-7b-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-7b-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-7b-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-7b-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-7b-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-7b-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-7b-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-7b-instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-generation
|
3 |
+
tags:
|
4 |
+
- granite
|
5 |
+
- ibm
|
6 |
+
- lab
|
7 |
+
- labrador
|
8 |
+
- labradorite
|
9 |
+
- TensorBlock
|
10 |
+
- GGUF
|
11 |
+
license: apache-2.0
|
12 |
+
language:
|
13 |
+
- en
|
14 |
+
base_model: ibm-granite/granite-7b-instruct
|
15 |
+
---
|
16 |
+
|
17 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
18 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
19 |
+
</div>
|
20 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
21 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
22 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
23 |
+
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>
|
24 |
+
</p>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
## ibm-granite/granite-7b-instruct - GGUF
|
29 |
+
|
30 |
+
This repo contains GGUF format model files for [ibm-granite/granite-7b-instruct](https://huggingface.co/ibm-granite/granite-7b-instruct).
|
31 |
+
|
32 |
+
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).
|
33 |
+
|
34 |
+
## Prompt template
|
35 |
+
|
36 |
+
```
|
37 |
+
<|system|>
|
38 |
+
{system_prompt}
|
39 |
+
<|user|>
|
40 |
+
{prompt}
|
41 |
+
```
|
42 |
+
|
43 |
+
## Model file specification
|
44 |
+
|
45 |
+
| Filename | Quant type | File Size | Description |
|
46 |
+
| -------- | ---------- | --------- | ----------- |
|
47 |
+
| [granite-7b-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q2_K.gguf) | Q2_K | 2.359 GB | smallest, significant quality loss - not recommended for most purposes |
|
48 |
+
| [granite-7b-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q3_K_S.gguf) | Q3_K_S | 2.746 GB | very small, high quality loss |
|
49 |
+
| [granite-7b-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q3_K_M.gguf) | Q3_K_M | 3.072 GB | very small, high quality loss |
|
50 |
+
| [granite-7b-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q3_K_L.gguf) | Q3_K_L | 3.350 GB | small, substantial quality loss |
|
51 |
+
| [granite-7b-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q4_0.gguf) | Q4_0 | 3.563 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
52 |
+
| [granite-7b-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q4_K_S.gguf) | Q4_K_S | 3.592 GB | small, greater quality loss |
|
53 |
+
| [granite-7b-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q4_K_M.gguf) | Q4_K_M | 3.801 GB | medium, balanced quality - recommended |
|
54 |
+
| [granite-7b-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q5_0.gguf) | Q5_0 | 4.332 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
55 |
+
| [granite-7b-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q5_K_S.gguf) | Q5_K_S | 4.332 GB | large, low quality loss - recommended |
|
56 |
+
| [granite-7b-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q5_K_M.gguf) | Q5_K_M | 4.455 GB | large, very low quality loss - recommended |
|
57 |
+
| [granite-7b-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q6_K.gguf) | Q6_K | 5.150 GB | very large, extremely low quality loss |
|
58 |
+
| [granite-7b-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-7b-instruct-GGUF/tree/main/granite-7b-instruct-Q8_0.gguf) | Q8_0 | 6.669 GB | very large, extremely low quality loss - not recommended |
|
59 |
+
|
60 |
+
|
61 |
+
## Downloading instruction
|
62 |
+
|
63 |
+
### Command line
|
64 |
+
|
65 |
+
Firstly, install Huggingface Client
|
66 |
+
|
67 |
+
```shell
|
68 |
+
pip install -U "huggingface_hub[cli]"
|
69 |
+
```
|
70 |
+
|
71 |
+
Then, downoad the individual model file the a local directory
|
72 |
+
|
73 |
+
```shell
|
74 |
+
huggingface-cli download tensorblock/granite-7b-instruct-GGUF --include "granite-7b-instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
75 |
+
```
|
76 |
+
|
77 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
78 |
+
|
79 |
+
```shell
|
80 |
+
huggingface-cli download tensorblock/granite-7b-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
81 |
+
```
|
granite-7b-instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0cf5952fd0e014521fddc9b8d741c5746448a9740cdc3eddfa567df88344d7d7
|
3 |
+
size 2532902816
|
granite-7b-instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:04626def135edeba67ae13260b4ff71dddf13bc913a7795634ffac15558bc6ee
|
3 |
+
size 3597153440
|
granite-7b-instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e0daa9aa3c1d4a788d464d95826815195359697bbd6d1ff3e2b58f2ed7ffddd
|
3 |
+
size 3298047136
|
granite-7b-instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4798cb5042864df6ad670d1f21d7a8028b80622a77419c8e9b764c99b1f3c3c5
|
3 |
+
size 2948347040
|
granite-7b-instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dfc497297888b8fc3fcec245e4c4bb8cc70c22756153f8d4b41719a65c338432
|
3 |
+
size 3825853856
|
granite-7b-instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c18ff7a4c881e2049c37ba1a4afa7a739f035ea4a448c178ba18848a4640d00
|
3 |
+
size 4081051040
|
granite-7b-instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba623b40b82dfc6ab8c0d39c851f17be3ce0d0dcf0b87d5345c8d0d9b18d1cde
|
3 |
+
size 3856786848
|
granite-7b-instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd4bcb3336511f8b6f5c771114da3849887f0f460e65fe03b92638ac4f6f18ba
|
3 |
+
size 4651742624
|
granite-7b-instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd693a76d16e0d2e46d58cebcaff0cb8e41bc5f858a1d35c41721a4e8241531f
|
3 |
+
size 4783207840
|
granite-7b-instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80874f1b8ab0632cf9e0043996984d184173c062a405204bb07aa1a89b6b3952
|
3 |
+
size 4651742624
|
granite-7b-instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ca05600ae32081f7611dfdf69cff3b15b7c22eea287efe86982b6ff6909f670
|
3 |
+
size 5529249440
|
granite-7b-instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:171940cdf1d6f44508171953308c24fcfdd9f62612aa11ffea955172cc5a03c4
|
3 |
+
size 7161160864
|