Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +69 -0
- gpt2-demo-Q2_K.gguf +3 -0
- gpt2-demo-Q3_K_L.gguf +3 -0
- gpt2-demo-Q3_K_M.gguf +3 -0
- gpt2-demo-Q3_K_S.gguf +3 -0
- gpt2-demo-Q4_0.gguf +3 -0
- gpt2-demo-Q4_K_M.gguf +3 -0
- gpt2-demo-Q4_K_S.gguf +3 -0
- gpt2-demo-Q5_0.gguf +3 -0
- gpt2-demo-Q5_K_M.gguf +3 -0
- gpt2-demo-Q5_K_S.gguf +3 -0
- gpt2-demo-Q6_K.gguf +3 -0
- gpt2-demo-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-demo-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gpt2-demo-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gpt2-demo-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
gpt2-demo-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
gpt2-demo-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
gpt2-demo-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
gpt2-demo-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
gpt2-demo-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
gpt2-demo-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
gpt2-demo-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
gpt2-demo-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
gpt2-demo-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: demo-leaderboard/gpt2-demo
|
| 3 |
+
tags:
|
| 4 |
+
- TensorBlock
|
| 5 |
+
- GGUF
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 9 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 10 |
+
</div>
|
| 11 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 12 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 13 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 14 |
+
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>
|
| 15 |
+
</p>
|
| 16 |
+
</div>
|
| 17 |
+
</div>
|
| 18 |
+
|
| 19 |
+
## demo-leaderboard/gpt2-demo - GGUF
|
| 20 |
+
|
| 21 |
+
This repo contains GGUF format model files for [demo-leaderboard/gpt2-demo](https://huggingface.co/demo-leaderboard/gpt2-demo).
|
| 22 |
+
|
| 23 |
+
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).
|
| 24 |
+
|
| 25 |
+
## Prompt template
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Model file specification
|
| 32 |
+
|
| 33 |
+
| Filename | Quant type | File Size | Description |
|
| 34 |
+
| -------- | ---------- | --------- | ----------- |
|
| 35 |
+
| [gpt2-demo-Q2_K.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q2_K.gguf) | Q2_K | 0.076 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 36 |
+
| [gpt2-demo-Q3_K_S.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q3_K_S.gguf) | Q3_K_S | 0.084 GB | very small, high quality loss |
|
| 37 |
+
| [gpt2-demo-Q3_K_M.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q3_K_M.gguf) | Q3_K_M | 0.091 GB | very small, high quality loss |
|
| 38 |
+
| [gpt2-demo-Q3_K_L.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q3_K_L.gguf) | Q3_K_L | 0.095 GB | small, substantial quality loss |
|
| 39 |
+
| [gpt2-demo-Q4_0.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q4_0.gguf) | Q4_0 | 0.099 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 40 |
+
| [gpt2-demo-Q4_K_S.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q4_K_S.gguf) | Q4_K_S | 0.100 GB | small, greater quality loss |
|
| 41 |
+
| [gpt2-demo-Q4_K_M.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q4_K_M.gguf) | Q4_K_M | 0.105 GB | medium, balanced quality - recommended |
|
| 42 |
+
| [gpt2-demo-Q5_0.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q5_0.gguf) | Q5_0 | 0.114 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 43 |
+
| [gpt2-demo-Q5_K_S.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q5_K_S.gguf) | Q5_K_S | 0.114 GB | large, low quality loss - recommended |
|
| 44 |
+
| [gpt2-demo-Q5_K_M.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q5_K_M.gguf) | Q5_K_M | 0.118 GB | large, very low quality loss - recommended |
|
| 45 |
+
| [gpt2-demo-Q6_K.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q6_K.gguf) | Q6_K | 0.129 GB | very large, extremely low quality loss |
|
| 46 |
+
| [gpt2-demo-Q8_0.gguf](https://huggingface.co/tensorblock/gpt2-demo-GGUF/tree/main/gpt2-demo-Q8_0.gguf) | Q8_0 | 0.165 GB | very large, extremely low quality loss - not recommended |
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
## Downloading instruction
|
| 50 |
+
|
| 51 |
+
### Command line
|
| 52 |
+
|
| 53 |
+
Firstly, install Huggingface Client
|
| 54 |
+
|
| 55 |
+
```shell
|
| 56 |
+
pip install -U "huggingface_hub[cli]"
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
Then, downoad the individual model file the a local directory
|
| 60 |
+
|
| 61 |
+
```shell
|
| 62 |
+
huggingface-cli download tensorblock/gpt2-demo-GGUF --include "gpt2-demo-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 66 |
+
|
| 67 |
+
```shell
|
| 68 |
+
huggingface-cli download tensorblock/gpt2-demo-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 69 |
+
```
|
gpt2-demo-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2668f3af9797b9c3ede92b83f5bac622e5bc92264fbec2f50b4cd59e6695a10e
|
| 3 |
+
size 81196384
|
gpt2-demo-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b4b3ef674af8c110e927df2a43dfef4286e21b2b039ddc9ba5d2566f75cfa49
|
| 3 |
+
size 102092320
|
gpt2-demo-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58d11f5d55e4b2fe003d4260be3bfec3d5c9f9a6e35fb0b12d0514faf7839ce5
|
| 3 |
+
size 97668640
|
gpt2-demo-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1096d511967a5127ecc7aaa9332e4fb085d4f55de4b3cd3090db8410e42ca73
|
| 3 |
+
size 90148384
|
gpt2-demo-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05351fbaca8aad07bb2367e0d4da91525bdf15ba1493414a01b898f77b3318eb
|
| 3 |
+
size 106554976
|
gpt2-demo-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c23c567752ce6ef3d9dd41467decf2958b48943e50243df5689b488b1d543956
|
| 3 |
+
size 112858720
|
gpt2-demo-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27e25e7b595f0bcbbca4f74a3d12b51191cc7fa8111a70da7a733992f4d4a937
|
| 3 |
+
size 106849888
|
gpt2-demo-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88f47338160aab54d1ede6fd6e78bb46e607d492752ed7f0133761565f318c83
|
| 3 |
+
size 121996480
|
gpt2-demo-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdde9b7e0f5f4121e0b7c7e971ad4d6b6aa8738f235dbf6414d1019f773cf8b4
|
| 3 |
+
size 126696640
|
gpt2-demo-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62174df728a032675ec1b5b10782897337d37b17aa23f8ccfb2ee48b9cec770c
|
| 3 |
+
size 121996480
|
gpt2-demo-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1323d668a2e458b02de9206203a7b0760ecd174b7a257f4f12295994981b897a
|
| 3 |
+
size 138403072
|
gpt2-demo-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaf579923bf77b5e3db3e9bc43a374909cd223e32a6b057ee1930402fcbb4ff1
|
| 3 |
+
size 177668800
|