Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +90 -0
- Text2SQL-1.5B-Q2_K.gguf +3 -0
- Text2SQL-1.5B-Q3_K_L.gguf +3 -0
- Text2SQL-1.5B-Q3_K_M.gguf +3 -0
- Text2SQL-1.5B-Q3_K_S.gguf +3 -0
- Text2SQL-1.5B-Q4_0.gguf +3 -0
- Text2SQL-1.5B-Q4_K_M.gguf +3 -0
- Text2SQL-1.5B-Q4_K_S.gguf +3 -0
- Text2SQL-1.5B-Q5_0.gguf +3 -0
- Text2SQL-1.5B-Q5_K_M.gguf +3 -0
- Text2SQL-1.5B-Q5_K_S.gguf +3 -0
- Text2SQL-1.5B-Q6_K.gguf +3 -0
- Text2SQL-1.5B-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 |
+
Text2SQL-1.5B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Text2SQL-1.5B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Text2SQL-1.5B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Text2SQL-1.5B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Text2SQL-1.5B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Text2SQL-1.5B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Text2SQL-1.5B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Text2SQL-1.5B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Text2SQL-1.5B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Text2SQL-1.5B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Text2SQL-1.5B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Text2SQL-1.5B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: yasserrmd/Text2SQL-1.5B
|
3 |
+
tags:
|
4 |
+
- text-generation-inference
|
5 |
+
- transformers
|
6 |
+
- unsloth
|
7 |
+
- qwen2
|
8 |
+
- trl
|
9 |
+
- sft
|
10 |
+
- TensorBlock
|
11 |
+
- GGUF
|
12 |
+
license: apache-2.0
|
13 |
+
language:
|
14 |
+
- en
|
15 |
+
datasets:
|
16 |
+
- gretelai/synthetic_text_to_sql
|
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 |
+
## yasserrmd/Text2SQL-1.5B - GGUF
|
31 |
+
|
32 |
+
This repo contains GGUF format model files for [yasserrmd/Text2SQL-1.5B](https://huggingface.co/yasserrmd/Text2SQL-1.5B).
|
33 |
+
|
34 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4882](https://github.com/ggml-org/llama.cpp/commit/be7c3034108473beda214fd1d7c98fd6a7a3bdf5).
|
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 |
+
| [Text2SQL-1.5B-Q2_K.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q2_K.gguf) | Q2_K | 0.676 GB | smallest, significant quality loss - not recommended for most purposes |
|
57 |
+
| [Text2SQL-1.5B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q3_K_S.gguf) | Q3_K_S | 0.761 GB | very small, high quality loss |
|
58 |
+
| [Text2SQL-1.5B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q3_K_M.gguf) | Q3_K_M | 0.824 GB | very small, high quality loss |
|
59 |
+
| [Text2SQL-1.5B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q3_K_L.gguf) | Q3_K_L | 0.880 GB | small, substantial quality loss |
|
60 |
+
| [Text2SQL-1.5B-Q4_0.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q4_0.gguf) | Q4_0 | 0.935 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
61 |
+
| [Text2SQL-1.5B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q4_K_S.gguf) | Q4_K_S | 0.940 GB | small, greater quality loss |
|
62 |
+
| [Text2SQL-1.5B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q4_K_M.gguf) | Q4_K_M | 0.986 GB | medium, balanced quality - recommended |
|
63 |
+
| [Text2SQL-1.5B-Q5_0.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q5_0.gguf) | Q5_0 | 1.099 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
64 |
+
| [Text2SQL-1.5B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q5_K_S.gguf) | Q5_K_S | 1.099 GB | large, low quality loss - recommended |
|
65 |
+
| [Text2SQL-1.5B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q5_K_M.gguf) | Q5_K_M | 1.125 GB | large, very low quality loss - recommended |
|
66 |
+
| [Text2SQL-1.5B-Q6_K.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q6_K.gguf) | Q6_K | 1.273 GB | very large, extremely low quality loss |
|
67 |
+
| [Text2SQL-1.5B-Q8_0.gguf](https://huggingface.co/tensorblock/Text2SQL-1.5B-GGUF/blob/main/Text2SQL-1.5B-Q8_0.gguf) | Q8_0 | 1.647 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/Text2SQL-1.5B-GGUF --include "Text2SQL-1.5B-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/Text2SQL-1.5B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
90 |
+
```
|
Text2SQL-1.5B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:992c8e586aa2ced6ee1d18c4302858b02e94c8cf65ef4d9dba3350a8d4e9f79a
|
3 |
+
size 676305248
|
Text2SQL-1.5B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c25d7660251a74c5155e72cb8831848ec4a98da43ced64d6aa7c92e51001cca0
|
3 |
+
size 880163168
|
Text2SQL-1.5B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3848d394c64b5571410c1b60020d35dade181fa070379e77a9b0c18269c038be
|
3 |
+
size 824179040
|
Text2SQL-1.5B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98a2b2d241b44dba3c4133e4392eb761106adcf57b51349784b94e16df30c8f1
|
3 |
+
size 760944992
|
Text2SQL-1.5B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d34222049d5a15a05d3c651a8143bca6970574159de848752e2ecf591c700ddd
|
3 |
+
size 934955360
|
Text2SQL-1.5B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aabb410f72a672990958a2301c84336fb6d0da5583c8765c6979b4539e17b43c
|
3 |
+
size 986048864
|
Text2SQL-1.5B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:877687bac766441834026687d3c4983c8afc2393f2717b8c63dccf231955166b
|
3 |
+
size 940312928
|
Text2SQL-1.5B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:457637a0bfe0552f694a18d3475f61d4f31dbad3c68b304a5f635366501e321a
|
3 |
+
size 1098729824
|
Text2SQL-1.5B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c89629bf8ac9126b45f3540eefa8558edb33f957edc2e39afbc4ab15927f06a6
|
3 |
+
size 1125050720
|
Text2SQL-1.5B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:773a3596b47fc060565e103845f19cfe2b71c2921a4e38bbfcd58b47303a41f4
|
3 |
+
size 1098729824
|
Text2SQL-1.5B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94dba7803474e2ae3bfcf3b88c44f95368b48f97539c6ba7c29c8dae4625d321
|
3 |
+
size 1272740192
|
Text2SQL-1.5B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71bd5165ad35fd19300bc55bbbae2ccd1f4ec7415abc4143192ca1dea5b4e573
|
3 |
+
size 1646573408
|