Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +81 -0
- granite-3.1-1b-a400m-base-Q2_K.gguf +3 -0
- granite-3.1-1b-a400m-base-Q3_K_L.gguf +3 -0
- granite-3.1-1b-a400m-base-Q3_K_M.gguf +3 -0
- granite-3.1-1b-a400m-base-Q3_K_S.gguf +3 -0
- granite-3.1-1b-a400m-base-Q4_0.gguf +3 -0
- granite-3.1-1b-a400m-base-Q4_K_M.gguf +3 -0
- granite-3.1-1b-a400m-base-Q4_K_S.gguf +3 -0
- granite-3.1-1b-a400m-base-Q5_0.gguf +3 -0
- granite-3.1-1b-a400m-base-Q5_K_M.gguf +3 -0
- granite-3.1-1b-a400m-base-Q5_K_S.gguf +3 -0
- granite-3.1-1b-a400m-base-Q6_K.gguf +3 -0
- granite-3.1-1b-a400m-base-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-1b-a400m-base-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
granite-3.1-1b-a400m-base-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
granite-3.1-1b-a400m-base-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
granite-3.1-1b-a400m-base-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
granite-3.1-1b-a400m-base-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
granite-3.1-1b-a400m-base-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
granite-3.1-1b-a400m-base-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
granite-3.1-1b-a400m-base-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
granite-3.1-1b-a400m-base-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
granite-3.1-1b-a400m-base-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
granite-3.1-1b-a400m-base-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
granite-3.1-1b-a400m-base-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-1b-a400m-base
|
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-1b-a400m-base - GGUF
|
26 |
+
|
27 |
+
This repo contains GGUF format model files for [ibm-granite/granite-3.1-1b-a400m-base](https://huggingface.co/ibm-granite/granite-3.1-1b-a400m-base).
|
28 |
+
|
29 |
+
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).
|
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 |
+
|
41 |
+
```
|
42 |
+
|
43 |
+
## Model file specification
|
44 |
+
|
45 |
+
| Filename | Quant type | File Size | Description |
|
46 |
+
| -------- | ---------- | --------- | ----------- |
|
47 |
+
| [granite-3.1-1b-a400m-base-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q2_K.gguf) | Q2_K | 0.512 GB | smallest, significant quality loss - not recommended for most purposes |
|
48 |
+
| [granite-3.1-1b-a400m-base-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q3_K_S.gguf) | Q3_K_S | 0.598 GB | very small, high quality loss |
|
49 |
+
| [granite-3.1-1b-a400m-base-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q3_K_M.gguf) | Q3_K_M | 0.659 GB | very small, high quality loss |
|
50 |
+
| [granite-3.1-1b-a400m-base-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q3_K_L.gguf) | Q3_K_L | 0.711 GB | small, substantial quality loss |
|
51 |
+
| [granite-3.1-1b-a400m-base-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q4_0.gguf) | Q4_0 | 0.768 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
52 |
+
| [granite-3.1-1b-a400m-base-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q4_K_S.gguf) | Q4_K_S | 0.775 GB | small, greater quality loss |
|
53 |
+
| [granite-3.1-1b-a400m-base-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q4_K_M.gguf) | Q4_K_M | 0.822 GB | medium, balanced quality - recommended |
|
54 |
+
| [granite-3.1-1b-a400m-base-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q5_0.gguf) | Q5_0 | 0.929 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
55 |
+
| [granite-3.1-1b-a400m-base-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q5_K_S.gguf) | Q5_K_S | 0.929 GB | large, low quality loss - recommended |
|
56 |
+
| [granite-3.1-1b-a400m-base-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q5_K_M.gguf) | Q5_K_M | 0.956 GB | large, very low quality loss - recommended |
|
57 |
+
| [granite-3.1-1b-a400m-base-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q6_K.gguf) | Q6_K | 1.099 GB | very large, extremely low quality loss |
|
58 |
+
| [granite-3.1-1b-a400m-base-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-base-GGUF/blob/main/granite-3.1-1b-a400m-base-Q8_0.gguf) | Q8_0 | 1.422 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-3.1-1b-a400m-base-GGUF --include "granite-3.1-1b-a400m-base-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-3.1-1b-a400m-base-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
81 |
+
```
|
granite-3.1-1b-a400m-base-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22e38d3c2369da788492e31313afb024908403aee6136420be74c45de6fb66c6
|
3 |
+
size 512232448
|
granite-3.1-1b-a400m-base-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a433c281d1690c2f324dfbf24abc3cf7f3247fe13f0602e47dd852d96726c3a
|
3 |
+
size 711396352
|
granite-3.1-1b-a400m-base-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:188cb1951c837c88416135c49bd480e532843b573ca9f61b5f85a59d2f8bc79e
|
3 |
+
size 658574336
|
granite-3.1-1b-a400m-base-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cb8c3ebb389feaaba7a53780716b4ecf2bb1459ce80cc687ff9e62fe133399a
|
3 |
+
size 597855232
|
granite-3.1-1b-a400m-base-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33af6cc2b86f30f9c3a4ba412cd64e6770d9e721398c08ec1413642c723fae83
|
3 |
+
size 768314368
|
granite-3.1-1b-a400m-base-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f53676945aa1dafc35c618eac89070b313fa10cb61408fee80a365efda5fe22f
|
3 |
+
size 821840896
|
granite-3.1-1b-a400m-base-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae6e800ae3974bc9c0840938df911e0447b96b6b1268a033298078fa13561d70
|
3 |
+
size 774867968
|
granite-3.1-1b-a400m-base-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74ef618cc98cd1077d084d2820e9df0e71425073fa25304adc8d43da68f1cc6a
|
3 |
+
size 928746496
|
granite-3.1-1b-a400m-base-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a46457d1a56163bf8bab2fc0246d8fffc02a22aad2db17b570f73d694d8bc3a
|
3 |
+
size 956320768
|
granite-3.1-1b-a400m-base-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e656f7a5fc53e64f629d7827907434744754bfea64100b0421380797dc885046
|
3 |
+
size 928746496
|
granite-3.1-1b-a400m-base-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1ac2522a5d66d4224333975bacbdff38df33401cdb11f8ea1bbfd715c4a66c1
|
3 |
+
size 1099205632
|
granite-3.1-1b-a400m-base-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a783ed115bb4607b0a09e8a12b45c34b633d8b4bce3f906c96fd29677e4af20
|
3 |
+
size 1422232576
|