Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- OpenCoder-8B-Instruct-Q2_K.gguf +3 -0
- OpenCoder-8B-Instruct-Q3_K_L.gguf +3 -0
- OpenCoder-8B-Instruct-Q3_K_M.gguf +3 -0
- OpenCoder-8B-Instruct-Q3_K_S.gguf +3 -0
- OpenCoder-8B-Instruct-Q4_0.gguf +3 -0
- OpenCoder-8B-Instruct-Q4_K_M.gguf +3 -0
- OpenCoder-8B-Instruct-Q4_K_S.gguf +3 -0
- OpenCoder-8B-Instruct-Q5_0.gguf +3 -0
- OpenCoder-8B-Instruct-Q5_K_M.gguf +3 -0
- OpenCoder-8B-Instruct-Q5_K_S.gguf +3 -0
- OpenCoder-8B-Instruct-Q6_K.gguf +3 -0
- OpenCoder-8B-Instruct-Q8_0.gguf +3 -0
- README.md +90 -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 |
+
OpenCoder-8B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
OpenCoder-8B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
OpenCoder-8B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
OpenCoder-8B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
OpenCoder-8B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
OpenCoder-8B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
OpenCoder-8B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
OpenCoder-8B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
OpenCoder-8B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
OpenCoder-8B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
OpenCoder-8B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
OpenCoder-8B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
OpenCoder-8B-Instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d47d589dbebf2e3b5d6d9c34fa1880d3c3a2e4ff8c28d5326be6cc7292f94cc7
|
3 |
+
size 3024807456
|
OpenCoder-8B-Instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3cc3d78327601a3ce611b9bf0fc2286e28ceb89174c77ce7ce61f210cc888edd
|
3 |
+
size 4154480160
|
OpenCoder-8B-Instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7e53d102d7330e98723ef15873c04a45c7ee403e0b0aeb1f2505084d321ba3c
|
3 |
+
size 3851441696
|
OpenCoder-8B-Instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bead544193b369833f423fe05733290919bb858f3b5bea2223a50e4552dcb710
|
3 |
+
size 3497023008
|
OpenCoder-8B-Instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbd1d32ee90a06cf303d883f48cf572634b62b235fadd6f9b99c9509f02387ee
|
3 |
+
size 4476536352
|
OpenCoder-8B-Instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c373dadeb05984ce592b9d8525f23d3b74c051dddd47fe65d3dfd088dacb53c
|
3 |
+
size 4736058912
|
OpenCoder-8B-Instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e97e28e2e211d00460b6f7eba830b41fc4c8609729243f07d51928520f925bfb
|
3 |
+
size 4507993632
|
OpenCoder-8B-Instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc787f9d67d50b0bcc2651a3c4c3bbac0d84f6eb1cb2d3f399964a5ce98bc904
|
3 |
+
size 5398431264
|
OpenCoder-8B-Instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f4e5d20501abf7697050fb0673495a32eac9c9efe59a55f6314d55b42dd6685
|
3 |
+
size 5532124704
|
OpenCoder-8B-Instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:386c76f4b7b90ea76e2ff847bc9896526ec3dbf0ba7036ba5db2f2dab08e3c0f
|
3 |
+
size 5398431264
|
OpenCoder-8B-Instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da1a281f270ca70eb8d68ca3febb7c8be535e348af115cc5ff7c75f8e636f2a8
|
3 |
+
size 6377944608
|
OpenCoder-8B-Instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52ef44b48cd06596167ab9c0f409571a0cf4c856a23af74a2915eb5d3266298e
|
3 |
+
size 8259982880
|
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: inf
|
4 |
+
license_link: https://huggingface.co/infly/OpenCoder-8B-Instruct/blob/main/LICENSE
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
- zh
|
8 |
+
base_model: infly/OpenCoder-8B-Instruct
|
9 |
+
pipeline_tag: text-generation
|
10 |
+
library_name: transformers
|
11 |
+
datasets:
|
12 |
+
- OpenCoder-LLM/opencoder-sft-stage1
|
13 |
+
- OpenCoder-LLM/opencoder-sft-stage2
|
14 |
+
tags:
|
15 |
+
- TensorBlock
|
16 |
+
- GGUF
|
17 |
+
---
|
18 |
+
|
19 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
20 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
21 |
+
</div>
|
22 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
23 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
24 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
25 |
+
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>
|
26 |
+
</p>
|
27 |
+
</div>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
## infly/OpenCoder-8B-Instruct - GGUF
|
31 |
+
|
32 |
+
This repo contains GGUF format model files for [infly/OpenCoder-8B-Instruct](https://huggingface.co/infly/OpenCoder-8B-Instruct).
|
33 |
+
|
34 |
+
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).
|
35 |
+
|
36 |
+
<div style="text-align: left; margin: 20px 0;">
|
37 |
+
<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;">
|
38 |
+
Run them on the TensorBlock client using your local machine ↗
|
39 |
+
</a>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
## Prompt template
|
43 |
+
|
44 |
+
```
|
45 |
+
<|im_start|>system
|
46 |
+
{system_prompt}<|im_end|>
|
47 |
+
<|im_start|>user
|
48 |
+
{prompt}<|im_end|>
|
49 |
+
<|im_start|>assistant
|
50 |
+
```
|
51 |
+
|
52 |
+
## Model file specification
|
53 |
+
|
54 |
+
| Filename | Quant type | File Size | Description |
|
55 |
+
| -------- | ---------- | --------- | ----------- |
|
56 |
+
| [OpenCoder-8B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q2_K.gguf) | Q2_K | 3.025 GB | smallest, significant quality loss - not recommended for most purposes |
|
57 |
+
| [OpenCoder-8B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3.497 GB | very small, high quality loss |
|
58 |
+
| [OpenCoder-8B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3.851 GB | very small, high quality loss |
|
59 |
+
| [OpenCoder-8B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q3_K_L.gguf) | Q3_K_L | 4.154 GB | small, substantial quality loss |
|
60 |
+
| [OpenCoder-8B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q4_0.gguf) | Q4_0 | 4.477 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
61 |
+
| [OpenCoder-8B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4.508 GB | small, greater quality loss |
|
62 |
+
| [OpenCoder-8B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4.736 GB | medium, balanced quality - recommended |
|
63 |
+
| [OpenCoder-8B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q5_0.gguf) | Q5_0 | 5.398 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
64 |
+
| [OpenCoder-8B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5.398 GB | large, low quality loss - recommended |
|
65 |
+
| [OpenCoder-8B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5.532 GB | large, very low quality loss - recommended |
|
66 |
+
| [OpenCoder-8B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q6_K.gguf) | Q6_K | 6.378 GB | very large, extremely low quality loss |
|
67 |
+
| [OpenCoder-8B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/OpenCoder-8B-Instruct-GGUF/blob/main/OpenCoder-8B-Instruct-Q8_0.gguf) | Q8_0 | 8.260 GB | very large, extremely low quality loss - not recommended |
|
68 |
+
|
69 |
+
|
70 |
+
## Downloading instruction
|
71 |
+
|
72 |
+
### Command line
|
73 |
+
|
74 |
+
Firstly, install Huggingface Client
|
75 |
+
|
76 |
+
```shell
|
77 |
+
pip install -U "huggingface_hub[cli]"
|
78 |
+
```
|
79 |
+
|
80 |
+
Then, downoad the individual model file the a local directory
|
81 |
+
|
82 |
+
```shell
|
83 |
+
huggingface-cli download tensorblock/OpenCoder-8B-Instruct-GGUF --include "OpenCoder-8B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
84 |
+
```
|
85 |
+
|
86 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
87 |
+
|
88 |
+
```shell
|
89 |
+
huggingface-cli download tensorblock/OpenCoder-8B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
90 |
+
```
|