Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +134 -0
- starcoder2-7b-Q2_K.gguf +3 -0
- starcoder2-7b-Q3_K_L.gguf +3 -0
- starcoder2-7b-Q3_K_M.gguf +3 -0
- starcoder2-7b-Q3_K_S.gguf +3 -0
- starcoder2-7b-Q4_0.gguf +3 -0
- starcoder2-7b-Q4_K_M.gguf +3 -0
- starcoder2-7b-Q4_K_S.gguf +3 -0
- starcoder2-7b-Q5_0.gguf +3 -0
- starcoder2-7b-Q5_K_M.gguf +3 -0
- starcoder2-7b-Q5_K_S.gguf +3 -0
- starcoder2-7b-Q6_K.gguf +3 -0
- starcoder2-7b-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-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
starcoder2-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
starcoder2-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
starcoder2-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
starcoder2-7b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
starcoder2-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
starcoder2-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
starcoder2-7b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
starcoder2-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
starcoder2-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
starcoder2-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
starcoder2-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: text-generation
|
| 3 |
+
inference:
|
| 4 |
+
parameters:
|
| 5 |
+
temperature: 0.2
|
| 6 |
+
top_p: 0.95
|
| 7 |
+
widget:
|
| 8 |
+
- text: 'def print_hello_world():'
|
| 9 |
+
example_title: Hello world
|
| 10 |
+
group: Python
|
| 11 |
+
datasets:
|
| 12 |
+
- bigcode/the-stack-v2-train
|
| 13 |
+
license: bigcode-openrail-m
|
| 14 |
+
library_name: transformers
|
| 15 |
+
tags:
|
| 16 |
+
- code
|
| 17 |
+
- TensorBlock
|
| 18 |
+
- GGUF
|
| 19 |
+
base_model: bigcode/starcoder2-7b
|
| 20 |
+
model-index:
|
| 21 |
+
- name: starcoder2-7b
|
| 22 |
+
results:
|
| 23 |
+
- task:
|
| 24 |
+
type: text-generation
|
| 25 |
+
dataset:
|
| 26 |
+
name: CruxEval-I
|
| 27 |
+
type: cruxeval-i
|
| 28 |
+
metrics:
|
| 29 |
+
- type: pass@1
|
| 30 |
+
value: 34.6
|
| 31 |
+
- task:
|
| 32 |
+
type: text-generation
|
| 33 |
+
dataset:
|
| 34 |
+
name: DS-1000
|
| 35 |
+
type: ds-1000
|
| 36 |
+
metrics:
|
| 37 |
+
- type: pass@1
|
| 38 |
+
value: 27.8
|
| 39 |
+
- task:
|
| 40 |
+
type: text-generation
|
| 41 |
+
dataset:
|
| 42 |
+
name: GSM8K (PAL)
|
| 43 |
+
type: gsm8k-pal
|
| 44 |
+
metrics:
|
| 45 |
+
- type: accuracy
|
| 46 |
+
value: 40.4
|
| 47 |
+
- task:
|
| 48 |
+
type: text-generation
|
| 49 |
+
dataset:
|
| 50 |
+
name: HumanEval+
|
| 51 |
+
type: humanevalplus
|
| 52 |
+
metrics:
|
| 53 |
+
- type: pass@1
|
| 54 |
+
value: 29.9
|
| 55 |
+
- task:
|
| 56 |
+
type: text-generation
|
| 57 |
+
dataset:
|
| 58 |
+
name: HumanEval
|
| 59 |
+
type: humaneval
|
| 60 |
+
metrics:
|
| 61 |
+
- type: pass@1
|
| 62 |
+
value: 35.4
|
| 63 |
+
- task:
|
| 64 |
+
type: text-generation
|
| 65 |
+
dataset:
|
| 66 |
+
name: RepoBench-v1.1
|
| 67 |
+
type: repobench-v1.1
|
| 68 |
+
metrics:
|
| 69 |
+
- type: edit-smiliarity
|
| 70 |
+
value: 72.07
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 74 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 75 |
+
</div>
|
| 76 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 77 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 78 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 79 |
+
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>
|
| 80 |
+
</p>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
|
| 84 |
+
## bigcode/starcoder2-7b - GGUF
|
| 85 |
+
|
| 86 |
+
This repo contains GGUF format model files for [bigcode/starcoder2-7b](https://huggingface.co/bigcode/starcoder2-7b).
|
| 87 |
+
|
| 88 |
+
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).
|
| 89 |
+
|
| 90 |
+
## Prompt template
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
## Model file specification
|
| 97 |
+
|
| 98 |
+
| Filename | Quant type | File Size | Description |
|
| 99 |
+
| -------- | ---------- | --------- | ----------- |
|
| 100 |
+
| [starcoder2-7b-Q2_K.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q2_K.gguf) | Q2_K | 2.641 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 101 |
+
| [starcoder2-7b-Q3_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q3_K_S.gguf) | Q3_K_S | 2.960 GB | very small, high quality loss |
|
| 102 |
+
| [starcoder2-7b-Q3_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q3_K_M.gguf) | Q3_K_M | 3.410 GB | very small, high quality loss |
|
| 103 |
+
| [starcoder2-7b-Q3_K_L.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q3_K_L.gguf) | Q3_K_L | 3.794 GB | small, substantial quality loss |
|
| 104 |
+
| [starcoder2-7b-Q4_0.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q4_0.gguf) | Q4_0 | 3.820 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 105 |
+
| [starcoder2-7b-Q4_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q4_K_S.gguf) | Q4_K_S | 3.860 GB | small, greater quality loss |
|
| 106 |
+
| [starcoder2-7b-Q4_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q4_K_M.gguf) | Q4_K_M | 4.155 GB | medium, balanced quality - recommended |
|
| 107 |
+
| [starcoder2-7b-Q5_0.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q5_0.gguf) | Q5_0 | 4.628 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 108 |
+
| [starcoder2-7b-Q5_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q5_K_S.gguf) | Q5_K_S | 4.628 GB | large, low quality loss - recommended |
|
| 109 |
+
| [starcoder2-7b-Q5_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q5_K_M.gguf) | Q5_K_M | 4.801 GB | large, very low quality loss - recommended |
|
| 110 |
+
| [starcoder2-7b-Q6_K.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q6_K.gguf) | Q6_K | 5.487 GB | very large, extremely low quality loss |
|
| 111 |
+
| [starcoder2-7b-Q8_0.gguf](https://huggingface.co/tensorblock/starcoder2-7b-GGUF/tree/main/starcoder2-7b-Q8_0.gguf) | Q8_0 | 7.105 GB | very large, extremely low quality loss - not recommended |
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
## Downloading instruction
|
| 115 |
+
|
| 116 |
+
### Command line
|
| 117 |
+
|
| 118 |
+
Firstly, install Huggingface Client
|
| 119 |
+
|
| 120 |
+
```shell
|
| 121 |
+
pip install -U "huggingface_hub[cli]"
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
Then, downoad the individual model file the a local directory
|
| 125 |
+
|
| 126 |
+
```shell
|
| 127 |
+
huggingface-cli download tensorblock/starcoder2-7b-GGUF --include "starcoder2-7b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 131 |
+
|
| 132 |
+
```shell
|
| 133 |
+
huggingface-cli download tensorblock/starcoder2-7b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 134 |
+
```
|
starcoder2-7b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9462940abc5a142902561c4fcc6430a369cf0aafd2239a82c8d7a3705d6b9acc
|
| 3 |
+
size 2836020416
|
starcoder2-7b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:752083abecf8bf2957e26de1c4d12280784d7c3fca67b94e4b682941065f9202
|
| 3 |
+
size 4074060992
|
starcoder2-7b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fca30ff9ee6dc1bb2fb80e53cf45302ba05e691b5bc58e5871fa1bf2ffa62449
|
| 3 |
+
size 3661774016
|
starcoder2-7b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfdd5f71c4c23101fa1ef415b133ec245835b9982a8d9e1b20e5c8cb70d4fd2a
|
| 3 |
+
size 3178708160
|
starcoder2-7b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bd9101526e273e29ab63307750a04270edf73c936940340b90fe9f64130a1e5
|
| 3 |
+
size 4101192896
|
starcoder2-7b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7811e6837d67a1c836c5da806d4ab09cca01149bb30c399bc355273d29e66bf
|
| 3 |
+
size 4461280448
|
starcoder2-7b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f11d643b3f273e438963796a94c9024d3a2ffea83c1e70870b1d2c9648d2e1c1
|
| 3 |
+
size 4144839872
|
starcoder2-7b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26700fce1a1bcd06a77f41a41b3f4ddf192259c8e6c8536ca2eea0c9841d4489
|
| 3 |
+
size 4969413824
|
starcoder2-7b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d5b96abf37c6caa845308e62bf0825c29fcef6066e9729e99c425bc198604de
|
| 3 |
+
size 5154913472
|
starcoder2-7b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83df6433b16426a8d7b05c34cb774ed76e59b1b164d647465585b41bbe76aa88
|
| 3 |
+
size 4969413824
|
starcoder2-7b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e96b2888e5cef8e710938d5a7825990c77e8e58bb83ddf8440c48feefa4f228
|
| 3 |
+
size 5891898560
|
starcoder2-7b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec2a8c7048d3ecd33702fa4ef95ed3bfc3c554b20f8f8c42cd122e688d62c386
|
| 3 |
+
size 7628930240
|