Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Phi-3.5-mini-instruct-text2sql-Q2_K.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q4_0.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q5_0.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q6_K.gguf +3 -0
- Phi-3.5-mini-instruct-text2sql-Q8_0.gguf +3 -0
- README.md +88 -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 |
+
Phi-3.5-mini-instruct-text2sql-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Phi-3.5-mini-instruct-text2sql-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Phi-3.5-mini-instruct-text2sql-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Phi-3.5-mini-instruct-text2sql-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Phi-3.5-mini-instruct-text2sql-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Phi-3.5-mini-instruct-text2sql-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43e918a87b57a26b1ca1b62fc88521ac42b11dfdbc5fd1ac008846d4f9b758c6
|
3 |
+
size 1446880576
|
Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ee4dd7c6c370e50d06724ed677bc2dd23dc1ba64cc7f21a2c3060229c7bcb67
|
3 |
+
size 2045135680
|
Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e015372a683871c011740a04cd35bfac908b20190d64a71066c00620cb1de47
|
3 |
+
size 1877625664
|
Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3022fc9973506b936a75d1391854cbf8e188f95a53f73f9377493d06235ca986
|
3 |
+
size 1681804096
|
Phi-3.5-mini-instruct-text2sql-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffb32a1e7e992c3ce3c5f5c38fc4125cfc94b62d46627e6fe3688a192b558d7d
|
3 |
+
size 2176182592
|
Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a927d9449ac3228473423bd1379e332943ef5075856bb11ecddb857eac7c68ba
|
3 |
+
size 2318920000
|
Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da4c3431bebde9c26f119f1549e68abc06286fa69f51614f84f1afaef87c1ab8
|
3 |
+
size 2193484096
|
Phi-3.5-mini-instruct-text2sql-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5611436fcb07a0e9812dcb49fadbf85214c729df34e1d9915f1c78c9121bcc4
|
3 |
+
size 2641480000
|
Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0556a473f43793964db1ec0a50600e4fa984f45c5ea4e4e85cccf2d01c542f2d
|
3 |
+
size 2715011392
|
Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e3fcb0a8808d761b439718268bfec908ae433e9e49d8304a8dd58fab2030063
|
3 |
+
size 2641480000
|
Phi-3.5-mini-instruct-text2sql-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15708dc01ac24729d9da646dbad35ba6eed5a2e7531c6be0d657f5b70918eaed
|
3 |
+
size 3135858496
|
Phi-3.5-mini-instruct-text2sql-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:943ee74bc9ba73861eb64480076a0fc725a0b25ba5611bd12b908b297d69dd37
|
3 |
+
size 4061227840
|
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: cahaj/Phi-3.5-mini-instruct-text2sql
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
license: apache-2.0
|
6 |
+
tags:
|
7 |
+
- text-generation-inference
|
8 |
+
- transformers
|
9 |
+
- unsloth
|
10 |
+
- llama
|
11 |
+
- trl
|
12 |
+
- sft
|
13 |
+
- TensorBlock
|
14 |
+
- GGUF
|
15 |
+
---
|
16 |
+
|
17 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
18 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
19 |
+
</div>
|
20 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
21 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
22 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
23 |
+
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>
|
24 |
+
</p>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
## cahaj/Phi-3.5-mini-instruct-text2sql - GGUF
|
29 |
+
|
30 |
+
This repo contains GGUF format model files for [cahaj/Phi-3.5-mini-instruct-text2sql](https://huggingface.co/cahaj/Phi-3.5-mini-instruct-text2sql).
|
31 |
+
|
32 |
+
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).
|
33 |
+
|
34 |
+
<div style="text-align: left; margin: 20px 0;">
|
35 |
+
<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;">
|
36 |
+
Run them on the TensorBlock client using your local machine ↗
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
## Prompt template
|
41 |
+
|
42 |
+
```
|
43 |
+
<|system|>
|
44 |
+
{system_prompt}<|end|>
|
45 |
+
<|user|>
|
46 |
+
{prompt}<|end|>
|
47 |
+
<|assistant|>
|
48 |
+
```
|
49 |
+
|
50 |
+
## Model file specification
|
51 |
+
|
52 |
+
| Filename | Quant type | File Size | Description |
|
53 |
+
| -------- | ---------- | --------- | ----------- |
|
54 |
+
| [Phi-3.5-mini-instruct-text2sql-Q2_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q2_K.gguf) | Q2_K | 1.447 GB | smallest, significant quality loss - not recommended for most purposes |
|
55 |
+
| [Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q3_K_S.gguf) | Q3_K_S | 1.682 GB | very small, high quality loss |
|
56 |
+
| [Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q3_K_M.gguf) | Q3_K_M | 1.878 GB | very small, high quality loss |
|
57 |
+
| [Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q3_K_L.gguf) | Q3_K_L | 2.045 GB | small, substantial quality loss |
|
58 |
+
| [Phi-3.5-mini-instruct-text2sql-Q4_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q4_0.gguf) | Q4_0 | 2.176 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
59 |
+
| [Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q4_K_S.gguf) | Q4_K_S | 2.193 GB | small, greater quality loss |
|
60 |
+
| [Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q4_K_M.gguf) | Q4_K_M | 2.319 GB | medium, balanced quality - recommended |
|
61 |
+
| [Phi-3.5-mini-instruct-text2sql-Q5_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q5_0.gguf) | Q5_0 | 2.641 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
62 |
+
| [Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q5_K_S.gguf) | Q5_K_S | 2.641 GB | large, low quality loss - recommended |
|
63 |
+
| [Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q5_K_M.gguf) | Q5_K_M | 2.715 GB | large, very low quality loss - recommended |
|
64 |
+
| [Phi-3.5-mini-instruct-text2sql-Q6_K.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q6_K.gguf) | Q6_K | 3.136 GB | very large, extremely low quality loss |
|
65 |
+
| [Phi-3.5-mini-instruct-text2sql-Q8_0.gguf](https://huggingface.co/tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF/blob/main/Phi-3.5-mini-instruct-text2sql-Q8_0.gguf) | Q8_0 | 4.061 GB | very large, extremely low quality loss - not recommended |
|
66 |
+
|
67 |
+
|
68 |
+
## Downloading instruction
|
69 |
+
|
70 |
+
### Command line
|
71 |
+
|
72 |
+
Firstly, install Huggingface Client
|
73 |
+
|
74 |
+
```shell
|
75 |
+
pip install -U "huggingface_hub[cli]"
|
76 |
+
```
|
77 |
+
|
78 |
+
Then, downoad the individual model file the a local directory
|
79 |
+
|
80 |
+
```shell
|
81 |
+
huggingface-cli download tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF --include "Phi-3.5-mini-instruct-text2sql-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
82 |
+
```
|
83 |
+
|
84 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
85 |
+
|
86 |
+
```shell
|
87 |
+
huggingface-cli download tensorblock/Phi-3.5-mini-instruct-text2sql-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
88 |
+
```
|