Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +95 -0
- tiny_starcoder_py-Q2_K.gguf +3 -0
- tiny_starcoder_py-Q3_K_L.gguf +3 -0
- tiny_starcoder_py-Q3_K_M.gguf +3 -0
- tiny_starcoder_py-Q3_K_S.gguf +3 -0
- tiny_starcoder_py-Q4_0.gguf +3 -0
- tiny_starcoder_py-Q4_K_M.gguf +3 -0
- tiny_starcoder_py-Q4_K_S.gguf +3 -0
- tiny_starcoder_py-Q5_0.gguf +3 -0
- tiny_starcoder_py-Q5_K_M.gguf +3 -0
- tiny_starcoder_py-Q5_K_S.gguf +3 -0
- tiny_starcoder_py-Q6_K.gguf +3 -0
- tiny_starcoder_py-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 |
+
tiny_starcoder_py-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tiny_starcoder_py-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
tiny_starcoder_py-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
tiny_starcoder_py-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
tiny_starcoder_py-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
tiny_starcoder_py-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
tiny_starcoder_py-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
tiny_starcoder_py-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
tiny_starcoder_py-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
tiny_starcoder_py-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
tiny_starcoder_py-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
tiny_starcoder_py-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-generation
|
| 3 |
+
inference: true
|
| 4 |
+
widget:
|
| 5 |
+
- text: 'def print_hello_world():'
|
| 6 |
+
example_title: Hello world
|
| 7 |
+
group: Python
|
| 8 |
+
license: bigcode-openrail-m
|
| 9 |
+
datasets:
|
| 10 |
+
- bigcode/the-stack-dedup
|
| 11 |
+
metrics:
|
| 12 |
+
- code_eval
|
| 13 |
+
library_name: transformers
|
| 14 |
+
tags:
|
| 15 |
+
- code
|
| 16 |
+
- TensorBlock
|
| 17 |
+
- GGUF
|
| 18 |
+
base_model: bigcode/tiny_starcoder_py
|
| 19 |
+
model-index:
|
| 20 |
+
- name: Tiny-StarCoder-Py
|
| 21 |
+
results:
|
| 22 |
+
- task:
|
| 23 |
+
type: text-generation
|
| 24 |
+
dataset:
|
| 25 |
+
name: HumanEval
|
| 26 |
+
type: openai_humaneval
|
| 27 |
+
metrics:
|
| 28 |
+
- type: pass@1
|
| 29 |
+
value: 7.84%
|
| 30 |
+
name: pass@1
|
| 31 |
+
verified: false
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 35 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 36 |
+
</div>
|
| 37 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 38 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 39 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 40 |
+
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>
|
| 41 |
+
</p>
|
| 42 |
+
</div>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
## bigcode/tiny_starcoder_py - GGUF
|
| 46 |
+
|
| 47 |
+
This repo contains GGUF format model files for [bigcode/tiny_starcoder_py](https://huggingface.co/bigcode/tiny_starcoder_py).
|
| 48 |
+
|
| 49 |
+
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).
|
| 50 |
+
|
| 51 |
+
## Prompt template
|
| 52 |
+
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Model file specification
|
| 58 |
+
|
| 59 |
+
| Filename | Quant type | File Size | Description |
|
| 60 |
+
| -------- | ---------- | --------- | ----------- |
|
| 61 |
+
| [tiny_starcoder_py-Q2_K.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q2_K.gguf) | Q2_K | 0.097 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 62 |
+
| [tiny_starcoder_py-Q3_K_S.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q3_K_S.gguf) | Q3_K_S | 0.103 GB | very small, high quality loss |
|
| 63 |
+
| [tiny_starcoder_py-Q3_K_M.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q3_K_M.gguf) | Q3_K_M | 0.112 GB | very small, high quality loss |
|
| 64 |
+
| [tiny_starcoder_py-Q3_K_L.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q3_K_L.gguf) | Q3_K_L | 0.118 GB | small, substantial quality loss |
|
| 65 |
+
| [tiny_starcoder_py-Q4_0.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q4_0.gguf) | Q4_0 | 0.117 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 66 |
+
| [tiny_starcoder_py-Q4_K_S.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q4_K_S.gguf) | Q4_K_S | 0.118 GB | small, greater quality loss |
|
| 67 |
+
| [tiny_starcoder_py-Q4_K_M.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q4_K_M.gguf) | Q4_K_M | 0.125 GB | medium, balanced quality - recommended |
|
| 68 |
+
| [tiny_starcoder_py-Q5_0.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q5_0.gguf) | Q5_0 | 0.131 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 69 |
+
| [tiny_starcoder_py-Q5_K_S.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q5_K_S.gguf) | Q5_K_S | 0.131 GB | large, low quality loss - recommended |
|
| 70 |
+
| [tiny_starcoder_py-Q5_K_M.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q5_K_M.gguf) | Q5_K_M | 0.136 GB | large, very low quality loss - recommended |
|
| 71 |
+
| [tiny_starcoder_py-Q6_K.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q6_K.gguf) | Q6_K | 0.146 GB | very large, extremely low quality loss |
|
| 72 |
+
| [tiny_starcoder_py-Q8_0.gguf](https://huggingface.co/tensorblock/tiny_starcoder_py-GGUF/tree/main/tiny_starcoder_py-Q8_0.gguf) | Q8_0 | 0.182 GB | very large, extremely low quality loss - not recommended |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
## Downloading instruction
|
| 76 |
+
|
| 77 |
+
### Command line
|
| 78 |
+
|
| 79 |
+
Firstly, install Huggingface Client
|
| 80 |
+
|
| 81 |
+
```shell
|
| 82 |
+
pip install -U "huggingface_hub[cli]"
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
Then, downoad the individual model file the a local directory
|
| 86 |
+
|
| 87 |
+
```shell
|
| 88 |
+
huggingface-cli download tensorblock/tiny_starcoder_py-GGUF --include "tiny_starcoder_py-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 92 |
+
|
| 93 |
+
```shell
|
| 94 |
+
huggingface-cli download tensorblock/tiny_starcoder_py-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 95 |
+
```
|
tiny_starcoder_py-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0463c7f7c590f64674e9bbcfdb273d15ee77eeb3e2902b362549c40a64c13f2
|
| 3 |
+
size 103899744
|
tiny_starcoder_py-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f53f1262eecc1553d9451357f5f87f53db5f15b4522269d727a7ff7c6e90774f
|
| 3 |
+
size 127124064
|
tiny_starcoder_py-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f7604d19a959173c3ea3f407fb5f174850331018d64b1c68cdc72ac1f418539
|
| 3 |
+
size 120046176
|
tiny_starcoder_py-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b87c2013f593e469a2b28f7a9c53cd98b1059e7bb4cef74efd4dfa51550537f1
|
| 3 |
+
size 110089824
|
tiny_starcoder_py-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9edbaa955008cb27b98762fa1524a2b41ac05fe4bb6a3ee5ed435d203398e33f
|
| 3 |
+
size 126018144
|
tiny_starcoder_py-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89d7056be705303132cc6467be7aaae89340454bb5ef3039c6723f7633d454e9
|
| 3 |
+
size 133821024
|
tiny_starcoder_py-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1a006c051eda3d7780cc87076ed9b2e4364bb7043aad1f3b12fa16b4b3dc7f
|
| 3 |
+
size 126607968
|
tiny_starcoder_py-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aa942082d01bbd3ea864f77be20207239daedc259c905f9f1cc233c17cddc5b
|
| 3 |
+
size 141009504
|
tiny_starcoder_py-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d9f940de9501c12857eb22413bf9edc8f6511717ca14d1154630d289ac25953
|
| 3 |
+
size 145970784
|
tiny_starcoder_py-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a32ec85d6ea877925632c6b0487e2ace200cbf6414e296ce9533480ca707d8a3
|
| 3 |
+
size 141009504
|
tiny_starcoder_py-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f97d5f93d03ce850ab5376ae4b571723faacc3d910eb6c6f73398be86bd22fe
|
| 3 |
+
size 156937824
|
tiny_starcoder_py-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3defce3e19861b5925d6bf3532e40bdd2acebec1fff20da887054f2ff049189b
|
| 3 |
+
size 195125856
|