Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +72 -0
- gpt2-Q2_K.gguf +3 -0
- gpt2-Q3_K_L.gguf +3 -0
- gpt2-Q3_K_M.gguf +3 -0
- gpt2-Q3_K_S.gguf +3 -0
- gpt2-Q4_0.gguf +3 -0
- gpt2-Q4_K_M.gguf +3 -0
- gpt2-Q4_K_S.gguf +3 -0
- gpt2-Q5_0.gguf +3 -0
- gpt2-Q5_K_M.gguf +3 -0
- gpt2-Q5_K_S.gguf +3 -0
- gpt2-Q6_K.gguf +3 -0
- gpt2-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 |
+
gpt2-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
gpt2-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
gpt2-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
gpt2-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
gpt2-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
gpt2-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
gpt2-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
gpt2-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
gpt2-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
gpt2-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
gpt2-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
gpt2-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: en
|
3 |
+
tags:
|
4 |
+
- exbert
|
5 |
+
- TensorBlock
|
6 |
+
- GGUF
|
7 |
+
license: mit
|
8 |
+
base_model: openai-community/gpt2
|
9 |
+
---
|
10 |
+
|
11 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
12 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
13 |
+
</div>
|
14 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
15 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
16 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
17 |
+
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>
|
18 |
+
</p>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
## openai-community/gpt2 - GGUF
|
23 |
+
|
24 |
+
This repo contains GGUF format model files for [openai-community/gpt2](https://huggingface.co/openai-community/gpt2).
|
25 |
+
|
26 |
+
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).
|
27 |
+
|
28 |
+
## Prompt template
|
29 |
+
|
30 |
+
```
|
31 |
+
|
32 |
+
```
|
33 |
+
|
34 |
+
## Model file specification
|
35 |
+
|
36 |
+
| Filename | Quant type | File Size | Description |
|
37 |
+
| -------- | ---------- | --------- | ----------- |
|
38 |
+
| [gpt2-Q2_K.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q2_K.gguf) | Q2_K | 0.076 GB | smallest, significant quality loss - not recommended for most purposes |
|
39 |
+
| [gpt2-Q3_K_S.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q3_K_S.gguf) | Q3_K_S | 0.084 GB | very small, high quality loss |
|
40 |
+
| [gpt2-Q3_K_M.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q3_K_M.gguf) | Q3_K_M | 0.091 GB | very small, high quality loss |
|
41 |
+
| [gpt2-Q3_K_L.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q3_K_L.gguf) | Q3_K_L | 0.095 GB | small, substantial quality loss |
|
42 |
+
| [gpt2-Q4_0.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q4_0.gguf) | Q4_0 | 0.099 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
43 |
+
| [gpt2-Q4_K_S.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q4_K_S.gguf) | Q4_K_S | 0.100 GB | small, greater quality loss |
|
44 |
+
| [gpt2-Q4_K_M.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q4_K_M.gguf) | Q4_K_M | 0.105 GB | medium, balanced quality - recommended |
|
45 |
+
| [gpt2-Q5_0.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q5_0.gguf) | Q5_0 | 0.114 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
46 |
+
| [gpt2-Q5_K_S.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q5_K_S.gguf) | Q5_K_S | 0.114 GB | large, low quality loss - recommended |
|
47 |
+
| [gpt2-Q5_K_M.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q5_K_M.gguf) | Q5_K_M | 0.118 GB | large, very low quality loss - recommended |
|
48 |
+
| [gpt2-Q6_K.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q6_K.gguf) | Q6_K | 0.129 GB | very large, extremely low quality loss |
|
49 |
+
| [gpt2-Q8_0.gguf](https://huggingface.co/tensorblock/gpt2-GGUF/tree/main/gpt2-Q8_0.gguf) | Q8_0 | 0.165 GB | very large, extremely low quality loss - not recommended |
|
50 |
+
|
51 |
+
|
52 |
+
## Downloading instruction
|
53 |
+
|
54 |
+
### Command line
|
55 |
+
|
56 |
+
Firstly, install Huggingface Client
|
57 |
+
|
58 |
+
```shell
|
59 |
+
pip install -U "huggingface_hub[cli]"
|
60 |
+
```
|
61 |
+
|
62 |
+
Then, downoad the individual model file the a local directory
|
63 |
+
|
64 |
+
```shell
|
65 |
+
huggingface-cli download tensorblock/gpt2-GGUF --include "gpt2-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
66 |
+
```
|
67 |
+
|
68 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
69 |
+
|
70 |
+
```shell
|
71 |
+
huggingface-cli download tensorblock/gpt2-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
72 |
+
```
|
gpt2-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4234545f917ec1df10dab4d926796a83422b68e9010d85a4c111b8b541f32892
|
3 |
+
size 81196544
|
gpt2-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96d6f56f7986a3c2476a00be185fb77930934e01c582747ed5fe9524d5f87047
|
3 |
+
size 102092480
|
gpt2-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9a8b6ae86011495de9e8b72d29e098fde3b4efbaed5abe2962f2e63a6881a9f
|
3 |
+
size 97668800
|
gpt2-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3a61df3b5643ca21d2834d96c22bfd2e17f1629000b2bd3417bbd07c11dc998
|
3 |
+
size 90148544
|
gpt2-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:261d83889050991690818f2973724a47551cddb43331d18efa9807b4927acb5b
|
3 |
+
size 106555136
|
gpt2-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d0b3dbdf4fce5b87a070da125df98506f292420cec4cd6acf76c6f22b0f6df8
|
3 |
+
size 112858880
|
gpt2-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:944fbed635a704f9c18810ddb96c183b0f8c3faf3ac3ffacd7e334d075dc8b01
|
3 |
+
size 106850048
|
gpt2-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd6de7effec4c4c63651edbb269036a5f9a52dc42a214bc4c2b2201f9509061c
|
3 |
+
size 121996640
|
gpt2-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:962b036da4d043e9694fca3c946b35b48988d934d20233808129542b07d0d2cb
|
3 |
+
size 126696800
|
gpt2-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42ca9b138947c4b0f20504dfb6d147b57fec65dcf54835171d02695a008a5caf
|
3 |
+
size 121996640
|
gpt2-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7090e02136d42faca67c675c93a0ccdd36db1191ce5bc2f9a3f5e272ad4fe0eb
|
3 |
+
size 138403232
|
gpt2-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c941732e91670634f2a86620b5156b177bf254de50c4626f05207426d81b5ad
|
3 |
+
size 177668960
|