Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +76 -0
- Swallow-7b-instruct-hf-Q2_K.gguf +3 -0
- Swallow-7b-instruct-hf-Q3_K_L.gguf +3 -0
- Swallow-7b-instruct-hf-Q3_K_M.gguf +3 -0
- Swallow-7b-instruct-hf-Q3_K_S.gguf +3 -0
- Swallow-7b-instruct-hf-Q4_0.gguf +3 -0
- Swallow-7b-instruct-hf-Q4_K_M.gguf +3 -0
- Swallow-7b-instruct-hf-Q4_K_S.gguf +3 -0
- Swallow-7b-instruct-hf-Q5_0.gguf +3 -0
- Swallow-7b-instruct-hf-Q5_K_M.gguf +3 -0
- Swallow-7b-instruct-hf-Q5_K_S.gguf +3 -0
- Swallow-7b-instruct-hf-Q6_K.gguf +3 -0
- Swallow-7b-instruct-hf-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 |
+
Swallow-7b-instruct-hf-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Swallow-7b-instruct-hf-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Swallow-7b-instruct-hf-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Swallow-7b-instruct-hf-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Swallow-7b-instruct-hf-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Swallow-7b-instruct-hf-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Swallow-7b-instruct-hf-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Swallow-7b-instruct-hf-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Swallow-7b-instruct-hf-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Swallow-7b-instruct-hf-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Swallow-7b-instruct-hf-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Swallow-7b-instruct-hf-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- ja
|
5 |
+
library_name: transformers
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
license: llama2
|
8 |
+
model_type: llama
|
9 |
+
tags:
|
10 |
+
- TensorBlock
|
11 |
+
- GGUF
|
12 |
+
base_model: tokyotech-llm/Swallow-7b-instruct-hf
|
13 |
+
---
|
14 |
+
|
15 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
16 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
17 |
+
</div>
|
18 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
19 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
20 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
21 |
+
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>
|
22 |
+
</p>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
|
26 |
+
## tokyotech-llm/Swallow-7b-instruct-hf - GGUF
|
27 |
+
|
28 |
+
This repo contains GGUF format model files for [tokyotech-llm/Swallow-7b-instruct-hf](https://huggingface.co/tokyotech-llm/Swallow-7b-instruct-hf).
|
29 |
+
|
30 |
+
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).
|
31 |
+
|
32 |
+
## Prompt template
|
33 |
+
|
34 |
+
```
|
35 |
+
|
36 |
+
```
|
37 |
+
|
38 |
+
## Model file specification
|
39 |
+
|
40 |
+
| Filename | Quant type | File Size | Description |
|
41 |
+
| -------- | ---------- | --------- | ----------- |
|
42 |
+
| [Swallow-7b-instruct-hf-Q2_K.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q2_K.gguf) | Q2_K | 2.408 GB | smallest, significant quality loss - not recommended for most purposes |
|
43 |
+
| [Swallow-7b-instruct-hf-Q3_K_S.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q3_K_S.gguf) | Q3_K_S | 2.799 GB | very small, high quality loss |
|
44 |
+
| [Swallow-7b-instruct-hf-Q3_K_M.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q3_K_M.gguf) | Q3_K_M | 3.125 GB | very small, high quality loss |
|
45 |
+
| [Swallow-7b-instruct-hf-Q3_K_L.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q3_K_L.gguf) | Q3_K_L | 3.404 GB | small, substantial quality loss |
|
46 |
+
| [Swallow-7b-instruct-hf-Q4_0.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q4_0.gguf) | Q4_0 | 3.622 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
47 |
+
| [Swallow-7b-instruct-hf-Q4_K_S.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q4_K_S.gguf) | Q4_K_S | 3.651 GB | small, greater quality loss |
|
48 |
+
| [Swallow-7b-instruct-hf-Q4_K_M.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q4_K_M.gguf) | Q4_K_M | 3.860 GB | medium, balanced quality - recommended |
|
49 |
+
| [Swallow-7b-instruct-hf-Q5_0.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q5_0.gguf) | Q5_0 | 4.397 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
50 |
+
| [Swallow-7b-instruct-hf-Q5_K_S.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q5_K_S.gguf) | Q5_K_S | 4.397 GB | large, low quality loss - recommended |
|
51 |
+
| [Swallow-7b-instruct-hf-Q5_K_M.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q5_K_M.gguf) | Q5_K_M | 4.519 GB | large, very low quality loss - recommended |
|
52 |
+
| [Swallow-7b-instruct-hf-Q6_K.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q6_K.gguf) | Q6_K | 5.220 GB | very large, extremely low quality loss |
|
53 |
+
| [Swallow-7b-instruct-hf-Q8_0.gguf](https://huggingface.co/tensorblock/Swallow-7b-instruct-hf-GGUF/tree/main/Swallow-7b-instruct-hf-Q8_0.gguf) | Q8_0 | 6.760 GB | very large, extremely low quality loss - not recommended |
|
54 |
+
|
55 |
+
|
56 |
+
## Downloading instruction
|
57 |
+
|
58 |
+
### Command line
|
59 |
+
|
60 |
+
Firstly, install Huggingface Client
|
61 |
+
|
62 |
+
```shell
|
63 |
+
pip install -U "huggingface_hub[cli]"
|
64 |
+
```
|
65 |
+
|
66 |
+
Then, downoad the individual model file the a local directory
|
67 |
+
|
68 |
+
```shell
|
69 |
+
huggingface-cli download tensorblock/Swallow-7b-instruct-hf-GGUF --include "Swallow-7b-instruct-hf-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
70 |
+
```
|
71 |
+
|
72 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
73 |
+
|
74 |
+
```shell
|
75 |
+
huggingface-cli download tensorblock/Swallow-7b-instruct-hf-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
76 |
+
```
|
Swallow-7b-instruct-hf-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3b4cb1c9961b5967fd222acbefc164813d564eef36276de8b0a900c7f2c9715
|
3 |
+
size 2585691104
|
Swallow-7b-instruct-hf-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d97588b2f2dd36ea6d0231618fa1e7ad761e3e90138cb314f03fe8d1d157e85
|
3 |
+
size 3654587616
|
Swallow-7b-instruct-hf-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4360eefdce09dbf3cdabf1600cf2c402f894c30d1bd060d7a96420f89857ecef
|
3 |
+
size 3355481312
|
Swallow-7b-instruct-hf-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa4e62fc08cfbfc03016069c49ab435de42b2c349682c4c0809bdaaee5e050e1
|
3 |
+
size 3005781216
|
Swallow-7b-instruct-hf-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4520dec77e3d29cbcc4ad3c9525e8331c0f0f22225e8c4b06a798282b467c8c
|
3 |
+
size 3889363424
|
Swallow-7b-instruct-hf-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a4b75ca9ae3f2ecb812e724ca1936ad863aa0d63770ed16601ee43c2330e59e
|
3 |
+
size 4144560608
|
Swallow-7b-instruct-hf-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:833f0ea9601a3cb8328cb2c70e0b2a5a6dde8c7155acc80ddf8c0b50c318820d
|
3 |
+
size 3920296416
|
Swallow-7b-instruct-hf-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1756eb46568b5528f4bd7673cba914cf06a1693ab303985ad3ff310803d24ce
|
3 |
+
size 4720970208
|
Swallow-7b-instruct-hf-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e3ef2517579202db363f1c5af4d5ef493be15e93ec96565d3ed13234fd73c94
|
3 |
+
size 4852435424
|
Swallow-7b-instruct-hf-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebc2dd36cdfe586c078d8804f18b649010cac977e69cf0070d3674b3f55d8764
|
3 |
+
size 4720970208
|
Swallow-7b-instruct-hf-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cb1b05da59b26958b13dc70afa629cf858090a89ff02021d157e85548b6f8ac
|
3 |
+
size 5604552416
|
Swallow-7b-instruct-hf-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f729dbdc960670afb1bb63ca771d84ec9e32ae620e0b705173a651e8a40ba0a4
|
3 |
+
size 7258621152
|