Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +85 -0
- gpt2-medium-halved-Q2_K.gguf +3 -0
- gpt2-medium-halved-Q3_K_L.gguf +3 -0
- gpt2-medium-halved-Q3_K_M.gguf +3 -0
- gpt2-medium-halved-Q3_K_S.gguf +3 -0
- gpt2-medium-halved-Q4_0.gguf +3 -0
- gpt2-medium-halved-Q4_K_M.gguf +3 -0
- gpt2-medium-halved-Q4_K_S.gguf +3 -0
- gpt2-medium-halved-Q5_0.gguf +3 -0
- gpt2-medium-halved-Q5_K_M.gguf +3 -0
- gpt2-medium-halved-Q5_K_S.gguf +3 -0
- gpt2-medium-halved-Q6_K.gguf +3 -0
- gpt2-medium-halved-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-medium-halved-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gpt2-medium-halved-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gpt2-medium-halved-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
gpt2-medium-halved-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
gpt2-medium-halved-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
gpt2-medium-halved-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
gpt2-medium-halved-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
gpt2-medium-halved-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
gpt2-medium-halved-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
gpt2-medium-halved-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
gpt2-medium-halved-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
gpt2-medium-halved-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
inference:
|
| 7 |
+
parameters:
|
| 8 |
+
do_sample: true
|
| 9 |
+
epsilon_cutoff: 0.0001
|
| 10 |
+
repetition_penalty: 1.1
|
| 11 |
+
no_repeat_ngram_size: 5
|
| 12 |
+
base_model: pszemraj/gpt2-medium-halved
|
| 13 |
+
tags:
|
| 14 |
+
- TensorBlock
|
| 15 |
+
- GGUF
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 19 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 20 |
+
</div>
|
| 21 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 22 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 23 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 24 |
+
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>
|
| 25 |
+
</p>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
## pszemraj/gpt2-medium-halved - GGUF
|
| 30 |
+
|
| 31 |
+
This repo contains GGUF format model files for [pszemraj/gpt2-medium-halved](https://huggingface.co/pszemraj/gpt2-medium-halved).
|
| 32 |
+
|
| 33 |
+
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).
|
| 34 |
+
|
| 35 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 36 |
+
<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;">
|
| 37 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 38 |
+
</a>
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
## Prompt template
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Model file specification
|
| 48 |
+
|
| 49 |
+
| Filename | Quant type | File Size | Description |
|
| 50 |
+
| -------- | ---------- | --------- | ----------- |
|
| 51 |
+
| [gpt2-medium-halved-Q2_K.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q2_K.gguf) | Q2_K | 0.112 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 52 |
+
| [gpt2-medium-halved-Q3_K_S.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q3_K_S.gguf) | Q3_K_S | 0.125 GB | very small, high quality loss |
|
| 53 |
+
| [gpt2-medium-halved-Q3_K_M.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q3_K_M.gguf) | Q3_K_M | 0.136 GB | very small, high quality loss |
|
| 54 |
+
| [gpt2-medium-halved-Q3_K_L.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q3_K_L.gguf) | Q3_K_L | 0.143 GB | small, substantial quality loss |
|
| 55 |
+
| [gpt2-medium-halved-Q4_0.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q4_0.gguf) | Q4_0 | 0.148 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 56 |
+
| [gpt2-medium-halved-Q4_K_S.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q4_K_S.gguf) | Q4_K_S | 0.149 GB | small, greater quality loss |
|
| 57 |
+
| [gpt2-medium-halved-Q4_K_M.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q4_K_M.gguf) | Q4_K_M | 0.158 GB | medium, balanced quality - recommended |
|
| 58 |
+
| [gpt2-medium-halved-Q5_0.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q5_0.gguf) | Q5_0 | 0.171 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 59 |
+
| [gpt2-medium-halved-Q5_K_S.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q5_K_S.gguf) | Q5_K_S | 0.171 GB | large, low quality loss - recommended |
|
| 60 |
+
| [gpt2-medium-halved-Q5_K_M.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q5_K_M.gguf) | Q5_K_M | 0.178 GB | large, very low quality loss - recommended |
|
| 61 |
+
| [gpt2-medium-halved-Q6_K.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q6_K.gguf) | Q6_K | 0.194 GB | very large, extremely low quality loss |
|
| 62 |
+
| [gpt2-medium-halved-Q8_0.gguf](https://huggingface.co/tensorblock/gpt2-medium-halved-GGUF/blob/main/gpt2-medium-halved-Q8_0.gguf) | Q8_0 | 0.250 GB | very large, extremely low quality loss - not recommended |
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
## Downloading instruction
|
| 66 |
+
|
| 67 |
+
### Command line
|
| 68 |
+
|
| 69 |
+
Firstly, install Huggingface Client
|
| 70 |
+
|
| 71 |
+
```shell
|
| 72 |
+
pip install -U "huggingface_hub[cli]"
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Then, downoad the individual model file the a local directory
|
| 76 |
+
|
| 77 |
+
```shell
|
| 78 |
+
huggingface-cli download tensorblock/gpt2-medium-halved-GGUF --include "gpt2-medium-halved-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 82 |
+
|
| 83 |
+
```shell
|
| 84 |
+
huggingface-cli download tensorblock/gpt2-medium-halved-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 85 |
+
```
|
gpt2-medium-halved-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6d8aba08abe7ae3730660dfeecb18617471aa1f490ab06ee7eb860a90471bc5
|
| 3 |
+
size 112223808
|
gpt2-medium-halved-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b5185f9d77f4725c633a212211092851a7b5511bbe1b868cfad67c5ab2f2c65
|
| 3 |
+
size 142599968
|
gpt2-medium-halved-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:def9ada66633c5a2e4306bb35528f94935d92011f3d7fdc4bda8c410757e7226
|
| 3 |
+
size 136046368
|
gpt2-medium-halved-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77b955427ef16422380c952620a9184c648ba839a39b2616f087a7451d425dc0
|
| 3 |
+
size 124905248
|
gpt2-medium-halved-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29ac358862abbe136241c35313b14f1b02b74235be5526c97e25dc03e1d89251
|
| 3 |
+
size 148451872
|
gpt2-medium-halved-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ae05f4ea36d5e7f531441bc0aa86d1056c2965ac84be35f7feb937072e81cde
|
| 3 |
+
size 157790752
|
gpt2-medium-halved-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1867cbfa955971803364d0f9cd0ee1a63bab7dcb15fb2dab7b62ea58d385c9a
|
| 3 |
+
size 148976160
|
gpt2-medium-halved-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5973d4a82ed47fa5b8dad10472af0170e3480e795377ea33d4f88607d38e0ab
|
| 3 |
+
size 170613408
|
gpt2-medium-halved-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68fed8f9191dedf2a7a5cff616d1a1edd76374e278268b7125048a2106af6794
|
| 3 |
+
size 177576608
|
gpt2-medium-halved-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e097599bc898b1ba51fc36081b8c6239781760301791b7bb625d94beb220c9c9
|
| 3 |
+
size 170613408
|
gpt2-medium-halved-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02deec5c8fca340cc71bc73095f8d5dfe96bd82bb10f54c7a17d1127f6dfa9a2
|
| 3 |
+
size 194160064
|
gpt2-medium-halved-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:766230f35686ee31330dfdfccdc52ccfa4a399a6c3e3ce1126f97de6e4970290
|
| 3 |
+
size 249561728
|