morriszms commited on
Commit
14c23cd
·
verified ·
1 Parent(s): 4275479

Upload folder using huggingface_hub

Browse files
.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-instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ granite-3.1-1b-a400m-instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ granite-3.1-1b-a400m-instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ granite-3.1-1b-a400m-instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ granite-3.1-1b-a400m-instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ granite-3.1-1b-a400m-instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ granite-3.1-1b-a400m-instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ granite-3.1-1b-a400m-instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ granite-3.1-1b-a400m-instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ granite-3.1-1b-a400m-instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ granite-3.1-1b-a400m-instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ granite-3.1-1b-a400m-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-1b-a400m-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-1b-a400m-instruct - GGUF
26
+
27
+ This repo contains GGUF format model files for [ibm-granite/granite-3.1-1b-a400m-instruct](https://huggingface.co/ibm-granite/granite-3.1-1b-a400m-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 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
+ <|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-1b-a400m-instruct-Q2_K.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q2_K.gguf) | Q2_K | 0.512 GB | smallest, significant quality loss - not recommended for most purposes |
50
+ | [granite-3.1-1b-a400m-instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q3_K_S.gguf) | Q3_K_S | 0.598 GB | very small, high quality loss |
51
+ | [granite-3.1-1b-a400m-instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q3_K_M.gguf) | Q3_K_M | 0.659 GB | very small, high quality loss |
52
+ | [granite-3.1-1b-a400m-instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q3_K_L.gguf) | Q3_K_L | 0.711 GB | small, substantial quality loss |
53
+ | [granite-3.1-1b-a400m-instruct-Q4_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q4_0.gguf) | Q4_0 | 0.768 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
54
+ | [granite-3.1-1b-a400m-instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q4_K_S.gguf) | Q4_K_S | 0.775 GB | small, greater quality loss |
55
+ | [granite-3.1-1b-a400m-instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q4_K_M.gguf) | Q4_K_M | 0.822 GB | medium, balanced quality - recommended |
56
+ | [granite-3.1-1b-a400m-instruct-Q5_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q5_0.gguf) | Q5_0 | 0.929 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
57
+ | [granite-3.1-1b-a400m-instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q5_K_S.gguf) | Q5_K_S | 0.929 GB | large, low quality loss - recommended |
58
+ | [granite-3.1-1b-a400m-instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q5_K_M.gguf) | Q5_K_M | 0.956 GB | large, very low quality loss - recommended |
59
+ | [granite-3.1-1b-a400m-instruct-Q6_K.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q6_K.gguf) | Q6_K | 1.099 GB | very large, extremely low quality loss |
60
+ | [granite-3.1-1b-a400m-instruct-Q8_0.gguf](https://huggingface.co/tensorblock/granite-3.1-1b-a400m-instruct-GGUF/blob/main/granite-3.1-1b-a400m-instruct-Q8_0.gguf) | Q8_0 | 1.422 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-1b-a400m-instruct-GGUF --include "granite-3.1-1b-a400m-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-1b-a400m-instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
83
+ ```
granite-3.1-1b-a400m-instruct-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f5eff3791f89695a136cdfd4bb2c5cf2f283168da9642dbe8590a48cdb689f6
3
+ size 512238944
granite-3.1-1b-a400m-instruct-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3808fb4e81e858d5cb6357abadcb450643a5d7683cd176ae6a9a62ccfc0c160
3
+ size 711402848
granite-3.1-1b-a400m-instruct-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e6ebdc96b26436183fe2cd8e4b852a8e764ea296fc5bd4612382b24a298b96a
3
+ size 658580832
granite-3.1-1b-a400m-instruct-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c115306b031cca44210737a83c43e774e726c5dd094783d227e2f4ffa57267c
3
+ size 597861728
granite-3.1-1b-a400m-instruct-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b49fec9a519840848e2d5859a80486dece1b4fd7820d93692e9b0c0d11e9e83e
3
+ size 768320864
granite-3.1-1b-a400m-instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ed27971f5bb5ff5f564c16e1de56c5f9d99a6b1aaf351f2e61f02a24b2acda
3
+ size 821847392
granite-3.1-1b-a400m-instruct-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a99eac1296284d8f90376cfcf0fda8b5e3cf15aa5f794fb82e7924480f910bd4
3
+ size 774874464
granite-3.1-1b-a400m-instruct-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b11dcdeb42d07df1720f877ec69d49c72cbcffc2c06c1dd5768a32397adedcb
3
+ size 928752992
granite-3.1-1b-a400m-instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:105beaff2285f9fc686468f1b19003ac5cb3f464dd15483ef2914325ef535c1e
3
+ size 956327264
granite-3.1-1b-a400m-instruct-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39add756cd048216243e4f6e7a82bbc4b6f18fc9309a45c7d7b02e7cf2cdd2fc
3
+ size 928752992
granite-3.1-1b-a400m-instruct-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1d59fe6a96aec3db972f82145ed77c0598978c038ec7488b0be856b64feaae0
3
+ size 1099212128
granite-3.1-1b-a400m-instruct-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fea66e0ee63fa3baefd7611114dd09c098c4cf7e97e50bf1b6ebac0d484f40fc
3
+ size 1422239808