Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- NaturalSQL-6.7B-v0-Q2_K.gguf +3 -0
- NaturalSQL-6.7B-v0-Q3_K_L.gguf +3 -0
- NaturalSQL-6.7B-v0-Q3_K_M.gguf +3 -0
- NaturalSQL-6.7B-v0-Q3_K_S.gguf +3 -0
- NaturalSQL-6.7B-v0-Q4_0.gguf +3 -0
- NaturalSQL-6.7B-v0-Q4_K_M.gguf +3 -0
- NaturalSQL-6.7B-v0-Q4_K_S.gguf +3 -0
- NaturalSQL-6.7B-v0-Q5_0.gguf +3 -0
- NaturalSQL-6.7B-v0-Q5_K_M.gguf +3 -0
- NaturalSQL-6.7B-v0-Q5_K_S.gguf +3 -0
- NaturalSQL-6.7B-v0-Q6_K.gguf +3 -0
- NaturalSQL-6.7B-v0-Q8_0.gguf +3 -0
- README.md +89 -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 |
+
NaturalSQL-6.7B-v0-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
NaturalSQL-6.7B-v0-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
NaturalSQL-6.7B-v0-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
NaturalSQL-6.7B-v0-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
NaturalSQL-6.7B-v0-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
NaturalSQL-6.7B-v0-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
NaturalSQL-6.7B-v0-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
NaturalSQL-6.7B-v0-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
NaturalSQL-6.7B-v0-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
NaturalSQL-6.7B-v0-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
NaturalSQL-6.7B-v0-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
NaturalSQL-6.7B-v0-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
NaturalSQL-6.7B-v0-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3923f4f6f5e29ee1ead28e28dc222fa9c0f340a5fbe13cc4446497c9025040a
|
3 |
+
size 2534502592
|
NaturalSQL-6.7B-v0-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:047fc8414457490a4b893fa2bc14c86bf364bf60fc2ed4afbefa03f0c846b79a
|
3 |
+
size 3598856384
|
NaturalSQL-6.7B-v0-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:246cb0f80c3f8faa51f70b073c29f02e67929a6ec2d95a7826ae3f378add7d0a
|
3 |
+
size 3299750080
|
NaturalSQL-6.7B-v0-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:907c9c0394cf99b3cdd8556c56b25f2c6b0be8a8214fd7bca4b6629b5d516259
|
3 |
+
size 2950049984
|
NaturalSQL-6.7B-v0-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:149a7aefb6317ea56db083be69c78ac7b974f1136fc168bc3b4e1ba208c3b1c5
|
3 |
+
size 3827691712
|
NaturalSQL-6.7B-v0-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:012209ceca330c5b1ed407a91712e5c2d2f2d65a29debf31bb628f29265ac55e
|
3 |
+
size 4082888896
|
NaturalSQL-6.7B-v0-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc4cebe27f0edfccb7062fe9331ec0a9b1e8085664a61cf76cecd131690f06d
|
3 |
+
size 3858624704
|
NaturalSQL-6.7B-v0-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38a03196dbca0b19e81efda56232dd2e4ef2088a073c42ab1fd21b4643c803cf
|
3 |
+
size 4653707456
|
NaturalSQL-6.7B-v0-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3476ef9d2fde41e3943d27d9b1f6db7d84bed252ea4fdeb2aac428349170ef42
|
3 |
+
size 4785172672
|
NaturalSQL-6.7B-v0-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9975472cdfeeb0cb8bb477deeb8b0758d4b33745c81f7af37df75960dfe9810c
|
3 |
+
size 4653707456
|
NaturalSQL-6.7B-v0-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4227fa6f6c7dac99e91f3951e1a84d73414d823a270edaced8e7fc62892f9b1
|
3 |
+
size 5531349184
|
NaturalSQL-6.7B-v0-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c02eb058c3d1533ec310326e163b2557ee766a705a95be544c4822f6686ed7f
|
3 |
+
size 7163752640
|
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: cfahlgren1/NaturalSQL-6.7B-v0
|
3 |
+
tags:
|
4 |
+
- instruct
|
5 |
+
- finetune
|
6 |
+
- TensorBlock
|
7 |
+
- GGUF
|
8 |
+
license: other
|
9 |
+
license_name: deepseek
|
10 |
+
language:
|
11 |
+
- en
|
12 |
+
datasets:
|
13 |
+
- cfahlgren1/wiki-sql-codellama-expanded
|
14 |
+
- cfahlgren1/natural-sql
|
15 |
+
model-index:
|
16 |
+
- name: NaturalSQL-6.7B-v0.1
|
17 |
+
results: []
|
18 |
+
---
|
19 |
+
|
20 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
21 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
22 |
+
</div>
|
23 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
24 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
25 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
26 |
+
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>
|
27 |
+
</p>
|
28 |
+
</div>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
## cfahlgren1/NaturalSQL-6.7B-v0 - GGUF
|
32 |
+
|
33 |
+
This repo contains GGUF format model files for [cfahlgren1/NaturalSQL-6.7B-v0](https://huggingface.co/cfahlgren1/NaturalSQL-6.7B-v0).
|
34 |
+
|
35 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
36 |
+
|
37 |
+
<div style="text-align: left; margin: 20px 0;">
|
38 |
+
<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;">
|
39 |
+
Run them on the TensorBlock client using your local machine ↗
|
40 |
+
</a>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
## Prompt template
|
44 |
+
|
45 |
+
```
|
46 |
+
<|begin▁of▁sentence|>{system_prompt}### Instruction:
|
47 |
+
{prompt}
|
48 |
+
### Response:
|
49 |
+
```
|
50 |
+
|
51 |
+
## Model file specification
|
52 |
+
|
53 |
+
| Filename | Quant type | File Size | Description |
|
54 |
+
| -------- | ---------- | --------- | ----------- |
|
55 |
+
| [NaturalSQL-6.7B-v0-Q2_K.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q2_K.gguf) | Q2_K | 2.535 GB | smallest, significant quality loss - not recommended for most purposes |
|
56 |
+
| [NaturalSQL-6.7B-v0-Q3_K_S.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q3_K_S.gguf) | Q3_K_S | 2.950 GB | very small, high quality loss |
|
57 |
+
| [NaturalSQL-6.7B-v0-Q3_K_M.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q3_K_M.gguf) | Q3_K_M | 3.300 GB | very small, high quality loss |
|
58 |
+
| [NaturalSQL-6.7B-v0-Q3_K_L.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q3_K_L.gguf) | Q3_K_L | 3.599 GB | small, substantial quality loss |
|
59 |
+
| [NaturalSQL-6.7B-v0-Q4_0.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q4_0.gguf) | Q4_0 | 3.828 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
60 |
+
| [NaturalSQL-6.7B-v0-Q4_K_S.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q4_K_S.gguf) | Q4_K_S | 3.859 GB | small, greater quality loss |
|
61 |
+
| [NaturalSQL-6.7B-v0-Q4_K_M.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q4_K_M.gguf) | Q4_K_M | 4.083 GB | medium, balanced quality - recommended |
|
62 |
+
| [NaturalSQL-6.7B-v0-Q5_0.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q5_0.gguf) | Q5_0 | 4.654 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
63 |
+
| [NaturalSQL-6.7B-v0-Q5_K_S.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q5_K_S.gguf) | Q5_K_S | 4.654 GB | large, low quality loss - recommended |
|
64 |
+
| [NaturalSQL-6.7B-v0-Q5_K_M.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q5_K_M.gguf) | Q5_K_M | 4.785 GB | large, very low quality loss - recommended |
|
65 |
+
| [NaturalSQL-6.7B-v0-Q6_K.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q6_K.gguf) | Q6_K | 5.531 GB | very large, extremely low quality loss |
|
66 |
+
| [NaturalSQL-6.7B-v0-Q8_0.gguf](https://huggingface.co/tensorblock/NaturalSQL-6.7B-v0-GGUF/blob/main/NaturalSQL-6.7B-v0-Q8_0.gguf) | Q8_0 | 7.164 GB | very large, extremely low quality loss - not recommended |
|
67 |
+
|
68 |
+
|
69 |
+
## Downloading instruction
|
70 |
+
|
71 |
+
### Command line
|
72 |
+
|
73 |
+
Firstly, install Huggingface Client
|
74 |
+
|
75 |
+
```shell
|
76 |
+
pip install -U "huggingface_hub[cli]"
|
77 |
+
```
|
78 |
+
|
79 |
+
Then, downoad the individual model file the a local directory
|
80 |
+
|
81 |
+
```shell
|
82 |
+
huggingface-cli download tensorblock/NaturalSQL-6.7B-v0-GGUF --include "NaturalSQL-6.7B-v0-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
83 |
+
```
|
84 |
+
|
85 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
86 |
+
|
87 |
+
```shell
|
88 |
+
huggingface-cli download tensorblock/NaturalSQL-6.7B-v0-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
89 |
+
```
|