From 50f365d9be9245e4db77a66ac5f428d0c6538d6f Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Wed, 22 Apr 2026 12:12:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: mradermacher/Chat2DB-SQL-7B-GGUF Source: Original Platform --- .gitattributes | 48 ++++++++++++++++++++++++++ Chat2DB-SQL-7B.IQ4_XS.gguf | 3 ++ Chat2DB-SQL-7B.Q2_K.gguf | 3 ++ Chat2DB-SQL-7B.Q3_K_L.gguf | 3 ++ Chat2DB-SQL-7B.Q3_K_M.gguf | 3 ++ Chat2DB-SQL-7B.Q3_K_S.gguf | 3 ++ Chat2DB-SQL-7B.Q4_0_4_4.gguf | 3 ++ Chat2DB-SQL-7B.Q4_K_M.gguf | 3 ++ Chat2DB-SQL-7B.Q4_K_S.gguf | 3 ++ Chat2DB-SQL-7B.Q5_K_M.gguf | 3 ++ Chat2DB-SQL-7B.Q5_K_S.gguf | 3 ++ Chat2DB-SQL-7B.Q6_K.gguf | 3 ++ Chat2DB-SQL-7B.Q8_0.gguf | 3 ++ Chat2DB-SQL-7B.f16.gguf | 3 ++ README.md | 66 ++++++++++++++++++++++++++++++++++++ 15 files changed, 153 insertions(+) create mode 100644 .gitattributes create mode 100644 Chat2DB-SQL-7B.IQ4_XS.gguf create mode 100644 Chat2DB-SQL-7B.Q2_K.gguf create mode 100644 Chat2DB-SQL-7B.Q3_K_L.gguf create mode 100644 Chat2DB-SQL-7B.Q3_K_M.gguf create mode 100644 Chat2DB-SQL-7B.Q3_K_S.gguf create mode 100644 Chat2DB-SQL-7B.Q4_0_4_4.gguf create mode 100644 Chat2DB-SQL-7B.Q4_K_M.gguf create mode 100644 Chat2DB-SQL-7B.Q4_K_S.gguf create mode 100644 Chat2DB-SQL-7B.Q5_K_M.gguf create mode 100644 Chat2DB-SQL-7B.Q5_K_S.gguf create mode 100644 Chat2DB-SQL-7B.Q6_K.gguf create mode 100644 Chat2DB-SQL-7B.Q8_0.gguf create mode 100644 Chat2DB-SQL-7B.f16.gguf create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bd4dbb8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,48 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.f16.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text +Chat2DB-SQL-7B.Q4_0_4_4.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/Chat2DB-SQL-7B.IQ4_XS.gguf b/Chat2DB-SQL-7B.IQ4_XS.gguf new file mode 100644 index 0000000..195b3e0 --- /dev/null +++ b/Chat2DB-SQL-7B.IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43eff31738091be2842b6bc25f048e333a3d2b9f4d997faee26ef37b4e85a00d +size 3647606304 diff --git a/Chat2DB-SQL-7B.Q2_K.gguf b/Chat2DB-SQL-7B.Q2_K.gguf new file mode 100644 index 0000000..dda3a4d --- /dev/null +++ b/Chat2DB-SQL-7B.Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66a421be5615e0a451cea8736a52f15e87e2d9904b2f1b9c7b68706c1d21bb6f +size 2532940320 diff --git a/Chat2DB-SQL-7B.Q3_K_L.gguf b/Chat2DB-SQL-7B.Q3_K_L.gguf new file mode 100644 index 0000000..25f64f9 --- /dev/null +++ b/Chat2DB-SQL-7B.Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbd16e845a0ac47b30c6ffeace8e4c9e9f96d398e6377e821d71063774b799ed +size 3597194272 diff --git a/Chat2DB-SQL-7B.Q3_K_M.gguf b/Chat2DB-SQL-7B.Q3_K_M.gguf new file mode 100644 index 0000000..0ba636b --- /dev/null +++ b/Chat2DB-SQL-7B.Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:245c8d1288cbce8505b3a9aa6344edfbd1ae2dc2015f8c1287e95fd63f4dadf4 +size 3298087968 diff --git a/Chat2DB-SQL-7B.Q3_K_S.gguf b/Chat2DB-SQL-7B.Q3_K_S.gguf new file mode 100644 index 0000000..2f7fbc4 --- /dev/null +++ b/Chat2DB-SQL-7B.Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad8fd4844ff39986028a091a923af251e451ca4e58434a39e43841d35efddc92 +size 2948387872 diff --git a/Chat2DB-SQL-7B.Q4_0_4_4.gguf b/Chat2DB-SQL-7B.Q4_0_4_4.gguf new file mode 100644 index 0000000..f16eeec --- /dev/null +++ b/Chat2DB-SQL-7B.Q4_0_4_4.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d82607d683843bf7ac8ce88157281689e186f99f790e6822ef109bedc6ba26c +size 3825899040 diff --git a/Chat2DB-SQL-7B.Q4_K_M.gguf b/Chat2DB-SQL-7B.Q4_K_M.gguf new file mode 100644 index 0000000..48181ba --- /dev/null +++ b/Chat2DB-SQL-7B.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:935d5e2debfaeabc78006d3297fffc578ada7af9ec2112868e18ba9276464f85 +size 4081096224 diff --git a/Chat2DB-SQL-7B.Q4_K_S.gguf b/Chat2DB-SQL-7B.Q4_K_S.gguf new file mode 100644 index 0000000..497f175 --- /dev/null +++ b/Chat2DB-SQL-7B.Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:237fd3e6e0a3320f9f929e88c3c53533d4436eba613a43f4a00bf5cfb8215975 +size 3856832032 diff --git a/Chat2DB-SQL-7B.Q5_K_M.gguf b/Chat2DB-SQL-7B.Q5_K_M.gguf new file mode 100644 index 0000000..69687e7 --- /dev/null +++ b/Chat2DB-SQL-7B.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11e83ac618c68a217d1cf2847ed27efee9234cc965cecb1809e27237fc2f0004 +size 4783257120 diff --git a/Chat2DB-SQL-7B.Q5_K_S.gguf b/Chat2DB-SQL-7B.Q5_K_S.gguf new file mode 100644 index 0000000..fc7c9bc --- /dev/null +++ b/Chat2DB-SQL-7B.Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d127dfc2ec82542e2937c3fc81a12e6668e34451f5f8cce63989095b97915e95 +size 4651791904 diff --git a/Chat2DB-SQL-7B.Q6_K.gguf b/Chat2DB-SQL-7B.Q6_K.gguf new file mode 100644 index 0000000..911097b --- /dev/null +++ b/Chat2DB-SQL-7B.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d4be901ab06ae869ec6b1e17b0adbef9bff202ab9e89aeb101f74d2162ac8c5 +size 5529303072 diff --git a/Chat2DB-SQL-7B.Q8_0.gguf b/Chat2DB-SQL-7B.Q8_0.gguf new file mode 100644 index 0000000..060bb62 --- /dev/null +++ b/Chat2DB-SQL-7B.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84f3738655a77a39f0098ade00ddab586fe8dddbb4a5fda79824d0aab0deaee2 +size 7161230368 diff --git a/Chat2DB-SQL-7B.f16.gguf b/Chat2DB-SQL-7B.f16.gguf new file mode 100644 index 0000000..367919f --- /dev/null +++ b/Chat2DB-SQL-7B.f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2cd488ceefed0962fb6790b00a7b61147c9ec1e00894031c8ed455c36025a22 +size 13478368288 diff --git a/README.md b/README.md new file mode 100644 index 0000000..7afe558 --- /dev/null +++ b/README.md @@ -0,0 +1,66 @@ +--- +base_model: Chat2DB/Chat2DB-SQL-7B +language: +- zh +- en +library_name: transformers +license: apache-2.0 +quantized_by: mradermacher +--- +## About + + + + + + +static quants of https://huggingface.co/Chat2DB/Chat2DB-SQL-7B + + +weighted/imatrix quants are available at https://huggingface.co/mradermacher/Chat2DB-SQL-7B-i1-GGUF +## Usage + +If you are unsure how to use GGUF files, refer to one of [TheBloke's +READMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) for +more details, including on how to concatenate multi-part files. + +## Provided Quants + +(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants) + +| Link | Type | Size/GB | Notes | +|:-----|:-----|--------:|:------| +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q2_K.gguf) | Q2_K | 2.6 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q3_K_S.gguf) | Q3_K_S | 3.0 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q3_K_M.gguf) | Q3_K_M | 3.4 | lower quality | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q3_K_L.gguf) | Q3_K_L | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.IQ4_XS.gguf) | IQ4_XS | 3.7 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q4_0_4_4.gguf) | Q4_0_4_4 | 3.9 | fast on arm, low quality | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q4_K_S.gguf) | Q4_K_S | 4.0 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q4_K_M.gguf) | Q4_K_M | 4.2 | fast, recommended | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q5_K_S.gguf) | Q5_K_S | 4.8 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q5_K_M.gguf) | Q5_K_M | 4.9 | | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q6_K.gguf) | Q6_K | 5.6 | very good quality | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.Q8_0.gguf) | Q8_0 | 7.3 | fast, best quality | +| [GGUF](https://huggingface.co/mradermacher/Chat2DB-SQL-7B-GGUF/resolve/main/Chat2DB-SQL-7B.f16.gguf) | f16 | 13.6 | 16 bpw, overkill | + +Here is a handy graph by ikawrakow comparing some lower-quality quant +types (lower is better): + +![image.png](https://www.nethype.de/huggingface_embed/quantpplgraph.png) + +And here are Artefact2's thoughts on the matter: +https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9 + +## FAQ / Model Request + +See https://huggingface.co/mradermacher/model_requests for some answers to +questions you might have and/or if you want some other model quantized. + +## Thanks + +I thank my company, [nethype GmbH](https://www.nethype.de/), for letting +me use its servers and providing upgrades to my workstation to enable +this work in my free time. + +