Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Nxcode-CQ-7B-orpo-Q2_K.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q3_K_L.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q3_K_M.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q3_K_S.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q4_0.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q4_K_M.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q4_K_S.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q5_0.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q5_K_M.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q5_K_S.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q6_K.gguf +3 -0
- Nxcode-CQ-7B-orpo-Q8_0.gguf +3 -0
- README.md +78 -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 |
+
Nxcode-CQ-7B-orpo-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Nxcode-CQ-7B-orpo-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Nxcode-CQ-7B-orpo-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Nxcode-CQ-7B-orpo-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Nxcode-CQ-7B-orpo-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Nxcode-CQ-7B-orpo-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Nxcode-CQ-7B-orpo-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Nxcode-CQ-7B-orpo-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Nxcode-CQ-7B-orpo-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Nxcode-CQ-7B-orpo-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Nxcode-CQ-7B-orpo-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Nxcode-CQ-7B-orpo-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Nxcode-CQ-7B-orpo-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d158b604df14d062fc880a351632a57e14c24de72d640df5eafe08db902e0acb
|
3 |
+
size 3052104224
|
Nxcode-CQ-7B-orpo-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab93c565e0e6bd9180d68548ddb408046754225c224dfe7e5d41c5d4a8f564ad
|
3 |
+
size 3986819616
|
Nxcode-CQ-7B-orpo-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97685711201b0c4719a93451395a9ac71544b48d850b129fbd705adb174648a0
|
3 |
+
size 3808627232
|
Nxcode-CQ-7B-orpo-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ee16a38b8cfad90366aaffa71c087b4380dc8678467583ffcb226f9af5c14eb
|
3 |
+
size 3500804640
|
Nxcode-CQ-7B-orpo-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd2b0640abc0bcb055383ff91c000e209ac782908414d98eae2959fb1ac6bfd5
|
3 |
+
size 4179438112
|
Nxcode-CQ-7B-orpo-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc278c3d578b71af63ec22835ca4751e663088a98736fd0d71d407a286ba3a85
|
3 |
+
size 4738591264
|
Nxcode-CQ-7B-orpo-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2dc12955f7c7112003a87fd51ccd104091a043388b09df2017a4c2072e5813ea
|
3 |
+
size 4414450208
|
Nxcode-CQ-7B-orpo-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8484d80381b9063be0d9e4a5146a9ead02197b5ae0214b1199d72e027304c978
|
3 |
+
size 5038352928
|
Nxcode-CQ-7B-orpo-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ba3855d87a0d1ce55c47a414be5954db1775262e619a425ffd5ec380a6c7718
|
3 |
+
size 5428161056
|
Nxcode-CQ-7B-orpo-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79bea853f11ed6401101413fe4cf9a2cfb876d53d4814e5096ccb19709948421
|
3 |
+
size 5148453408
|
Nxcode-CQ-7B-orpo-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3d8a8a4a90fcd91c3c7753ceed5dc88d690ca7d5de61fcf74f61e08159d061a
|
3 |
+
size 6377589280
|
Nxcode-CQ-7B-orpo-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:727b5c39bd975a681e2b0cdddeea8984ade59d0370a60a09293cbf1725ec1b82
|
3 |
+
size 7706774048
|
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license_name: tongyi-qianwen-research
|
3 |
+
license_link: https://huggingface.co/Qwen/CodeQwen1.5-7B/blob/main/LICENSE
|
4 |
+
tags:
|
5 |
+
- code
|
6 |
+
- TensorBlock
|
7 |
+
- GGUF
|
8 |
+
pipeline_tag: text-generation
|
9 |
+
license: other
|
10 |
+
base_model: NTQAI/Nxcode-CQ-7B-orpo
|
11 |
+
---
|
12 |
+
|
13 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
14 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
15 |
+
</div>
|
16 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
17 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
18 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
19 |
+
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>
|
20 |
+
</p>
|
21 |
+
</div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
## NTQAI/Nxcode-CQ-7B-orpo - GGUF
|
25 |
+
|
26 |
+
This repo contains GGUF format model files for [NTQAI/Nxcode-CQ-7B-orpo](https://huggingface.co/NTQAI/Nxcode-CQ-7B-orpo).
|
27 |
+
|
28 |
+
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).
|
29 |
+
|
30 |
+
## Prompt template
|
31 |
+
|
32 |
+
```
|
33 |
+
<|im_start|>system
|
34 |
+
{system_prompt}<|im_end|>
|
35 |
+
<|im_start|>user
|
36 |
+
{prompt}<|im_end|>
|
37 |
+
<|im_start|>assistant
|
38 |
+
```
|
39 |
+
|
40 |
+
## Model file specification
|
41 |
+
|
42 |
+
| Filename | Quant type | File Size | Description |
|
43 |
+
| -------- | ---------- | --------- | ----------- |
|
44 |
+
| [Nxcode-CQ-7B-orpo-Q2_K.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q2_K.gguf) | Q2_K | 2.842 GB | smallest, significant quality loss - not recommended for most purposes |
|
45 |
+
| [Nxcode-CQ-7B-orpo-Q3_K_S.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q3_K_S.gguf) | Q3_K_S | 3.260 GB | very small, high quality loss |
|
46 |
+
| [Nxcode-CQ-7B-orpo-Q3_K_M.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q3_K_M.gguf) | Q3_K_M | 3.547 GB | very small, high quality loss |
|
47 |
+
| [Nxcode-CQ-7B-orpo-Q3_K_L.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q3_K_L.gguf) | Q3_K_L | 3.713 GB | small, substantial quality loss |
|
48 |
+
| [Nxcode-CQ-7B-orpo-Q4_0.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q4_0.gguf) | Q4_0 | 3.892 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
49 |
+
| [Nxcode-CQ-7B-orpo-Q4_K_S.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q4_K_S.gguf) | Q4_K_S | 4.111 GB | small, greater quality loss |
|
50 |
+
| [Nxcode-CQ-7B-orpo-Q4_K_M.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q4_K_M.gguf) | Q4_K_M | 4.413 GB | medium, balanced quality - recommended |
|
51 |
+
| [Nxcode-CQ-7B-orpo-Q5_0.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q5_0.gguf) | Q5_0 | 4.692 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
52 |
+
| [Nxcode-CQ-7B-orpo-Q5_K_S.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q5_K_S.gguf) | Q5_K_S | 4.795 GB | large, low quality loss - recommended |
|
53 |
+
| [Nxcode-CQ-7B-orpo-Q5_K_M.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q5_K_M.gguf) | Q5_K_M | 5.055 GB | large, very low quality loss - recommended |
|
54 |
+
| [Nxcode-CQ-7B-orpo-Q6_K.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q6_K.gguf) | Q6_K | 5.940 GB | very large, extremely low quality loss |
|
55 |
+
| [Nxcode-CQ-7B-orpo-Q8_0.gguf](https://huggingface.co/tensorblock/Nxcode-CQ-7B-orpo-GGUF/tree/main/Nxcode-CQ-7B-orpo-Q8_0.gguf) | Q8_0 | 7.177 GB | very large, extremely low quality loss - not recommended |
|
56 |
+
|
57 |
+
|
58 |
+
## Downloading instruction
|
59 |
+
|
60 |
+
### Command line
|
61 |
+
|
62 |
+
Firstly, install Huggingface Client
|
63 |
+
|
64 |
+
```shell
|
65 |
+
pip install -U "huggingface_hub[cli]"
|
66 |
+
```
|
67 |
+
|
68 |
+
Then, downoad the individual model file the a local directory
|
69 |
+
|
70 |
+
```shell
|
71 |
+
huggingface-cli download tensorblock/Nxcode-CQ-7B-orpo-GGUF --include "Nxcode-CQ-7B-orpo-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
72 |
+
```
|
73 |
+
|
74 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
75 |
+
|
76 |
+
```shell
|
77 |
+
huggingface-cli download tensorblock/Nxcode-CQ-7B-orpo-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
78 |
+
```
|