Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- OpenCoder-1.5B-Instruct-Q2_K.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q3_K_L.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q3_K_M.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q3_K_S.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q4_0.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q4_K_M.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q4_K_S.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q5_0.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q5_K_M.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q5_K_S.gguf +3 -0
- OpenCoder-1.5B-Instruct-Q6_K.gguf +3 -0
- OpenCoder-1.5B-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-1.5B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
OpenCoder-1.5B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
OpenCoder-1.5B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
OpenCoder-1.5B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
OpenCoder-1.5B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
OpenCoder-1.5B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
OpenCoder-1.5B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
OpenCoder-1.5B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
OpenCoder-1.5B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
OpenCoder-1.5B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
OpenCoder-1.5B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
OpenCoder-1.5B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
OpenCoder-1.5B-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:449d96830c05f5a677fca7f5932dbb29acd53c616d6af2114a061049eb86b6ea
|
| 3 |
+
size 1138904160
|
OpenCoder-1.5B-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a33a151506608a5dae9e58417143b7dfc4657a014b8582d342787fe82d43cd53
|
| 3 |
+
size 1269218400
|
OpenCoder-1.5B-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4716e639d9a3b7dbc5c36ee8be251001fcd6820b86162cfe5178605e4f827f48
|
| 3 |
+
size 1215225440
|
OpenCoder-1.5B-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1529b7308042013a773e68b33a8db63bf697fde8616a5bb5449593ea0f06c4c
|
| 3 |
+
size 1138904160
|
OpenCoder-1.5B-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11e94c0a088dc518f55e24f5e9f967d11ee0df4a0a71524e050b4d4a121b7d62
|
| 3 |
+
size 1182772320
|
OpenCoder-1.5B-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59e6ae796feb09f078c64479dce0339245f798d8c8b8cca7318168c8ffe4d749
|
| 3 |
+
size 1417775200
|
OpenCoder-1.5B-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c1b5376e1a0196847b25d579c403304c7008b5ac3e4c4f0ce7092a2cef9ef34
|
| 3 |
+
size 1359033440
|
OpenCoder-1.5B-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39b256c51f07313941904ed8ecd2f975f02121ede9826240db2b5ea04cb188d9
|
| 3 |
+
size 1393905760
|
OpenCoder-1.5B-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69dc259a6cc0dff53f30873ba4e6815703a179c08949250dfd83b2eda4b47a3c
|
| 3 |
+
size 1519578720
|
OpenCoder-1.5B-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:860f5cc9eb302b217bd7590a2fa06ea17a338b8d0412835158d40c3bb61585e7
|
| 3 |
+
size 1478828640
|
OpenCoder-1.5B-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c70b6e76d2b63a288c3133a839f82000ec1ee800e3cc60930b8d9e00db7f4b1
|
| 3 |
+
size 1947311200
|
OpenCoder-1.5B-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9524d936b94051181e30a2dec157d1b319a23984154a90ff0f892875599cdb21
|
| 3 |
+
size 2027306080
|
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: inf
|
| 4 |
+
license_link: https://huggingface.co/infly/OpenCoder-1.5B-Instruct/blob/main/LICENSE
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- zh
|
| 8 |
+
base_model: infly/OpenCoder-1.5B-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-1.5B-Instruct - GGUF
|
| 31 |
+
|
| 32 |
+
This repo contains GGUF format model files for [infly/OpenCoder-1.5B-Instruct](https://huggingface.co/infly/OpenCoder-1.5B-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-1.5B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q2_K.gguf) | Q2_K | 1.139 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 57 |
+
| [OpenCoder-1.5B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q3_K_S.gguf) | Q3_K_S | 1.139 GB | very small, high quality loss |
|
| 58 |
+
| [OpenCoder-1.5B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q3_K_M.gguf) | Q3_K_M | 1.215 GB | very small, high quality loss |
|
| 59 |
+
| [OpenCoder-1.5B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q3_K_L.gguf) | Q3_K_L | 1.269 GB | small, substantial quality loss |
|
| 60 |
+
| [OpenCoder-1.5B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q4_0.gguf) | Q4_0 | 1.183 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 61 |
+
| [OpenCoder-1.5B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q4_K_S.gguf) | Q4_K_S | 1.359 GB | small, greater quality loss |
|
| 62 |
+
| [OpenCoder-1.5B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q4_K_M.gguf) | Q4_K_M | 1.418 GB | medium, balanced quality - recommended |
|
| 63 |
+
| [OpenCoder-1.5B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q5_0.gguf) | Q5_0 | 1.394 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 64 |
+
| [OpenCoder-1.5B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q5_K_S.gguf) | Q5_K_S | 1.479 GB | large, low quality loss - recommended |
|
| 65 |
+
| [OpenCoder-1.5B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q5_K_M.gguf) | Q5_K_M | 1.520 GB | large, very low quality loss - recommended |
|
| 66 |
+
| [OpenCoder-1.5B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q6_K.gguf) | Q6_K | 1.947 GB | very large, extremely low quality loss |
|
| 67 |
+
| [OpenCoder-1.5B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/OpenCoder-1.5B-Instruct-GGUF/blob/main/OpenCoder-1.5B-Instruct-Q8_0.gguf) | Q8_0 | 2.027 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-1.5B-Instruct-GGUF --include "OpenCoder-1.5B-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-1.5B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 90 |
+
```
|