Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +134 -0
- starcoder2-15b-Q2_K.gguf +3 -0
- starcoder2-15b-Q3_K_L.gguf +3 -0
- starcoder2-15b-Q3_K_M.gguf +3 -0
- starcoder2-15b-Q3_K_S.gguf +3 -0
- starcoder2-15b-Q4_0.gguf +3 -0
- starcoder2-15b-Q4_K_M.gguf +3 -0
- starcoder2-15b-Q4_K_S.gguf +3 -0
- starcoder2-15b-Q5_0.gguf +3 -0
- starcoder2-15b-Q5_K_M.gguf +3 -0
- starcoder2-15b-Q5_K_S.gguf +3 -0
- starcoder2-15b-Q6_K.gguf +3 -0
- starcoder2-15b-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-15b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
starcoder2-15b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
starcoder2-15b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
starcoder2-15b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
starcoder2-15b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
starcoder2-15b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
starcoder2-15b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
starcoder2-15b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
starcoder2-15b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
starcoder2-15b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
starcoder2-15b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
starcoder2-15b-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-15b
|
20 |
+
model-index:
|
21 |
+
- name: starcoder2-15b
|
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: 48.1
|
31 |
+
- task:
|
32 |
+
type: text-generation
|
33 |
+
dataset:
|
34 |
+
name: DS-1000
|
35 |
+
type: ds-1000
|
36 |
+
metrics:
|
37 |
+
- type: pass@1
|
38 |
+
value: 33.8
|
39 |
+
- task:
|
40 |
+
type: text-generation
|
41 |
+
dataset:
|
42 |
+
name: GSM8K (PAL)
|
43 |
+
type: gsm8k-pal
|
44 |
+
metrics:
|
45 |
+
- type: accuracy
|
46 |
+
value: 65.1
|
47 |
+
- task:
|
48 |
+
type: text-generation
|
49 |
+
dataset:
|
50 |
+
name: HumanEval+
|
51 |
+
type: humanevalplus
|
52 |
+
metrics:
|
53 |
+
- type: pass@1
|
54 |
+
value: 37.8
|
55 |
+
- task:
|
56 |
+
type: text-generation
|
57 |
+
dataset:
|
58 |
+
name: HumanEval
|
59 |
+
type: humaneval
|
60 |
+
metrics:
|
61 |
+
- type: pass@1
|
62 |
+
value: 46.3
|
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: 74.08
|
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-15b - GGUF
|
85 |
+
|
86 |
+
This repo contains GGUF format model files for [bigcode/starcoder2-15b](https://huggingface.co/bigcode/starcoder2-15b).
|
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-15b-Q2_K.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q2_K.gguf) | Q2_K | 5.768 GB | smallest, significant quality loss - not recommended for most purposes |
|
101 |
+
| [starcoder2-15b-Q3_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q3_K_S.gguf) | Q3_K_S | 6.507 GB | very small, high quality loss |
|
102 |
+
| [starcoder2-15b-Q3_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q3_K_M.gguf) | Q3_K_M | 7.492 GB | very small, high quality loss |
|
103 |
+
| [starcoder2-15b-Q3_K_L.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q3_K_L.gguf) | Q3_K_L | 8.350 GB | small, substantial quality loss |
|
104 |
+
| [starcoder2-15b-Q4_0.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q4_0.gguf) | Q4_0 | 8.443 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
105 |
+
| [starcoder2-15b-Q4_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q4_K_S.gguf) | Q4_K_S | 8.532 GB | small, greater quality loss |
|
106 |
+
| [starcoder2-15b-Q4_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q4_K_M.gguf) | Q4_K_M | 9.183 GB | medium, balanced quality - recommended |
|
107 |
+
| [starcoder2-15b-Q5_0.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q5_0.gguf) | Q5_0 | 10.265 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
108 |
+
| [starcoder2-15b-Q5_K_S.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q5_K_S.gguf) | Q5_K_S | 10.265 GB | large, low quality loss - recommended |
|
109 |
+
| [starcoder2-15b-Q5_K_M.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q5_K_M.gguf) | Q5_K_M | 10.646 GB | large, very low quality loss - recommended |
|
110 |
+
| [starcoder2-15b-Q6_K.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q6_K.gguf) | Q6_K | 12.201 GB | very large, extremely low quality loss |
|
111 |
+
| [starcoder2-15b-Q8_0.gguf](https://huggingface.co/tensorblock/starcoder2-15b-GGUF/tree/main/starcoder2-15b-Q8_0.gguf) | Q8_0 | 15.800 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-15b-GGUF --include "starcoder2-15b-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-15b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
134 |
+
```
|
starcoder2-15b-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e11979d00664263256ffdb79dfba41d5f1732cd952922d2921e195df64a1eba
|
3 |
+
size 6192957632
|
starcoder2-15b-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a70ef832d8c2b72aace9ccdefb4c7eea9b4c00485ca7677a632db5947ada650c
|
3 |
+
size 8965327040
|
starcoder2-15b-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27a4afbd8e664dc56f97ffa9ffe5ee96af0b2ce169909069bf035aa6f51a90d8
|
3 |
+
size 8044415168
|
starcoder2-15b-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a36f0a94e9c15ad18edc18aa03a22d4257c9351fc3e0ccea6b452236d0e5c290
|
3 |
+
size 6986467520
|
starcoder2-15b-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:add56962c51e31e3ce67f06d99114afbb88d6764b01979d06fa9b8f53481d9f6
|
3 |
+
size 9065400512
|
starcoder2-15b-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99a70aa7e5fe46d1e8425df966199083851945aef235e041ef3b9e80cc448d18
|
3 |
+
size 9860188352
|
starcoder2-15b-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6262e5c8c151048667274eae17b7b91a0b4c3c440395c3b7e2aca182d983f136
|
3 |
+
size 9161345216
|
starcoder2-15b-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2657c267790d9f33223b19d7842d4cac52293e43e2cd4d9481905764cf64758e
|
3 |
+
size 11022043328
|
starcoder2-15b-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:116e3331063b04e5a8a6fb3413f47844bbe923e83f4555414937f3a1e56d009b
|
3 |
+
size 11431479488
|
starcoder2-15b-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b178edf887d8c75cf923f63cf10ca3562f40e80b6f26e93f13d9b0206fb2c82c
|
3 |
+
size 11022043328
|
starcoder2-15b-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8dee9cfc1f37a3ae50ba84e2d3ca8a224cd95c2b508b9db4a553f695e00074a
|
3 |
+
size 13100976320
|
starcoder2-15b-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ec7dec1fa609bbf42c8428c28398ab22418542a4bd44295e34a26f456b0d621
|
3 |
+
size 16965109952
|