Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +131 -0
- starcoder2-3b-Q2_K.gguf +3 -0
- starcoder2-3b-Q3_K_L.gguf +3 -0
- starcoder2-3b-Q3_K_M.gguf +3 -0
- starcoder2-3b-Q3_K_S.gguf +3 -0
- starcoder2-3b-Q4_0.gguf +3 -0
- starcoder2-3b-Q4_K_M.gguf +3 -0
- starcoder2-3b-Q4_K_S.gguf +3 -0
- starcoder2-3b-Q5_0.gguf +3 -0
- starcoder2-3b-Q5_K_M.gguf +3 -0
- starcoder2-3b-Q5_K_S.gguf +3 -0
- starcoder2-3b-Q6_K.gguf +3 -0
- starcoder2-3b-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 |
+
starcoder2-3b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
starcoder2-3b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
starcoder2-3b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
starcoder2-3b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
starcoder2-3b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
starcoder2-3b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
starcoder2-3b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
starcoder2-3b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
starcoder2-3b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
starcoder2-3b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
starcoder2-3b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
starcoder2-3b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
datasets:
|
| 9 |
+
- bigcode/the-stack-v2-train
|
| 10 |
+
license: bigcode-openrail-m
|
| 11 |
+
library_name: transformers
|
| 12 |
+
tags:
|
| 13 |
+
- code
|
| 14 |
+
- TensorBlock
|
| 15 |
+
- GGUF
|
| 16 |
+
base_model: bigcode/starcoder2-3b
|
| 17 |
+
model-index:
|
| 18 |
+
- name: starcoder2-3b
|
| 19 |
+
results:
|
| 20 |
+
- task:
|
| 21 |
+
type: text-generation
|
| 22 |
+
dataset:
|
| 23 |
+
name: CruxEval-I
|
| 24 |
+
type: cruxeval-i
|
| 25 |
+
metrics:
|
| 26 |
+
- type: pass@1
|
| 27 |
+
value: 32.7
|
| 28 |
+
- task:
|
| 29 |
+
type: text-generation
|
| 30 |
+
dataset:
|
| 31 |
+
name: DS-1000
|
| 32 |
+
type: ds-1000
|
| 33 |
+
metrics:
|
| 34 |
+
- type: pass@1
|
| 35 |
+
value: 25.0
|
| 36 |
+
- task:
|
| 37 |
+
type: text-generation
|
| 38 |
+
dataset:
|
| 39 |
+
name: GSM8K (PAL)
|
| 40 |
+
type: gsm8k-pal
|
| 41 |
+
metrics:
|
| 42 |
+
- type: accuracy
|
| 43 |
+
value: 27.7
|
| 44 |
+
- task:
|
| 45 |
+
type: text-generation
|
| 46 |
+
dataset:
|
| 47 |
+
name: HumanEval+
|
| 48 |
+
type: humanevalplus
|
| 49 |
+
metrics:
|
| 50 |
+
- type: pass@1
|
| 51 |
+
value: 27.4
|
| 52 |
+
- task:
|
| 53 |
+
type: text-generation
|
| 54 |
+
dataset:
|
| 55 |
+
name: HumanEval
|
| 56 |
+
type: humaneval
|
| 57 |
+
metrics:
|
| 58 |
+
- type: pass@1
|
| 59 |
+
value: 31.7
|
| 60 |
+
- task:
|
| 61 |
+
type: text-generation
|
| 62 |
+
dataset:
|
| 63 |
+
name: RepoBench-v1.1
|
| 64 |
+
type: repobench-v1.1
|
| 65 |
+
metrics:
|
| 66 |
+
- type: edit-smiliarity
|
| 67 |
+
value: 71.19
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 71 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 72 |
+
</div>
|
| 73 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 74 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 75 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 76 |
+
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>
|
| 77 |
+
</p>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
## bigcode/starcoder2-3b - GGUF
|
| 82 |
+
|
| 83 |
+
This repo contains GGUF format model files for [bigcode/starcoder2-3b](https://huggingface.co/bigcode/starcoder2-3b).
|
| 84 |
+
|
| 85 |
+
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).
|
| 86 |
+
|
| 87 |
+
## Prompt template
|
| 88 |
+
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
## Model file specification
|
| 94 |
+
|
| 95 |
+
| Filename | Quant type | File Size | Description |
|
| 96 |
+
| -------- | ---------- | --------- | ----------- |
|
| 97 |
+
| [starcoder2-3b-Q2_K.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q2_K.gguf) | Q2_K | 1.139 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 98 |
+
| [starcoder2-3b-Q3_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q3_K_S.gguf) | Q3_K_S | 1.273 GB | very small, high quality loss |
|
| 99 |
+
| [starcoder2-3b-Q3_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q3_K_M.gguf) | Q3_K_M | 1.455 GB | very small, high quality loss |
|
| 100 |
+
| [starcoder2-3b-Q3_K_L.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q3_K_L.gguf) | Q3_K_L | 1.618 GB | small, substantial quality loss |
|
| 101 |
+
| [starcoder2-3b-Q4_0.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q4_0.gguf) | Q4_0 | 1.629 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 102 |
+
| [starcoder2-3b-Q4_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q4_K_S.gguf) | Q4_K_S | 1.642 GB | small, greater quality loss |
|
| 103 |
+
| [starcoder2-3b-Q4_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q4_K_M.gguf) | Q4_K_M | 1.758 GB | medium, balanced quality - recommended |
|
| 104 |
+
| [starcoder2-3b-Q5_0.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q5_0.gguf) | Q5_0 | 1.964 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 105 |
+
| [starcoder2-3b-Q5_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q5_K_S.gguf) | Q5_K_S | 1.964 GB | large, low quality loss - recommended |
|
| 106 |
+
| [starcoder2-3b-Q5_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q5_K_M.gguf) | Q5_K_M | 2.031 GB | large, very low quality loss - recommended |
|
| 107 |
+
| [starcoder2-3b-Q6_K.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q6_K.gguf) | Q6_K | 2.320 GB | very large, extremely low quality loss |
|
| 108 |
+
| [starcoder2-3b-Q8_0.gguf](https://huggingface.co/tensorblock/starcoder2-3b-GGUF/tree/main/starcoder2-3b-Q8_0.gguf) | Q8_0 | 3.003 GB | very large, extremely low quality loss - not recommended |
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
## Downloading instruction
|
| 112 |
+
|
| 113 |
+
### Command line
|
| 114 |
+
|
| 115 |
+
Firstly, install Huggingface Client
|
| 116 |
+
|
| 117 |
+
```shell
|
| 118 |
+
pip install -U "huggingface_hub[cli]"
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |
+
Then, downoad the individual model file the a local directory
|
| 122 |
+
|
| 123 |
+
```shell
|
| 124 |
+
huggingface-cli download tensorblock/starcoder2-3b-GGUF --include "starcoder2-3b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 128 |
+
|
| 129 |
+
```shell
|
| 130 |
+
huggingface-cli download tensorblock/starcoder2-3b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 131 |
+
```
|
starcoder2-3b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e511e30dff70d90321138df28048d2872091815b4649bd3389ed67993f43699c
|
| 3 |
+
size 1223505344
|
starcoder2-3b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:640bd290b258a12698a4ab03861ef872eb56a9ead57b43bdeeb7ede1893d7158
|
| 3 |
+
size 1737573824
|
starcoder2-3b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39792901e255810b983cfb3fb62477294b9647b3e6c989c6223da983b27d546a
|
| 3 |
+
size 1562592704
|
starcoder2-3b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:699d28fde4f5144c91b9875a9b1cce684048bda2ec4775ac4404c8faecc9762b
|
| 3 |
+
size 1366537664
|
starcoder2-3b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:757e4b1ec0254ba80636093d586234f63ecbcf01bb67bf6dbb64076d1676a294
|
| 3 |
+
size 1748817344
|
starcoder2-3b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8bc27f0dca19a6c61fcd873aaa4966d53664041b8d1e2050f20080375633e91
|
| 3 |
+
size 1887905216
|
starcoder2-3b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d48ae62f3d8ef360624bd097e4c529aa70ceb1ebeaa3c757f6f84ffad9a26845
|
| 3 |
+
size 1763366336
|
starcoder2-3b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a17172d6fda349b0edd0a214736b1baa6323d7f3b024d46fd80f34a4adeb16e2
|
| 3 |
+
size 2108609984
|
starcoder2-3b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10c202bac9c66d043e8dedbd3a75bed543688ea7cd74febf6569e14df0825708
|
| 3 |
+
size 2180261312
|
starcoder2-3b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f86209549cdb0dd03b1ae944ff341db0ee537bff03d6530c3b1965e0c82a07b
|
| 3 |
+
size 2108609984
|
starcoder2-3b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66f2c995258e2bf7f26963e53ad2f310b12875cc853196e2d0b620c425586d85
|
| 3 |
+
size 2490889664
|
starcoder2-3b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b47f93f04ffb77b0c37608ba8a57ebeea1aa13a7ac214dbd6709090a8d8e6374
|
| 3 |
+
size 3224556992
|