junmingg commited on
Commit
7382216
·
verified ·
1 Parent(s): 311d4b7

Add README

Browse files
Files changed (1) hide show
  1. README.md +23 -42
README.md CHANGED
@@ -1,42 +1,23 @@
1
- ---
2
- license: apache-2.0
3
- base_model: junmingg/qwen2.5-coder-7b-text2sql
4
- datasets:
5
- - b-mc2/sql-create-context
6
- pipeline_tag: text-generation
7
- tags:
8
- - text-to-sql
9
- - gguf
10
- - llama.cpp
11
- - ollama
12
- - qwen2.5
13
- ---
14
-
15
- # Qwen2.5-Coder-7B Text-to-SQL — GGUF quants
16
-
17
- GGUF quantizations of [`junmingg/qwen2.5-coder-7b-text2sql`](https://huggingface.co/junmingg/qwen2.5-coder-7b-text2sql)
18
- for CPU/GPU inference via [llama.cpp](https://github.com/ggerganov/llama.cpp), [Ollama](https://ollama.com),
19
- LM Studio, etc.
20
-
21
- | File | Quant | Size | Notes |
22
- |---|---|---|---|
23
- | `qwen2.5-coder-7b-instruct.Q4_K_M.gguf` | Q4_K_M | ~4.7 GB | 4-bit, best size/quality balance (recommended) |
24
- | `qwen2.5-coder-7b-instruct.Q8_0.gguf` | Q8_0 | ~8.1 GB | 8-bit, near-lossless |
25
-
26
- See the [main model card](https://huggingface.co/junmingg/qwen2.5-coder-7b-text2sql) for results
27
- (exact 78.8% / semantic 86.2% / validity 99.2% vs base 3.8 / 67.0 / 100), training details, and the
28
- **required system prompt** — the model expects the text-to-SQL system message + ChatML format.
29
-
30
- ## Quick start (Ollama)
31
-
32
- ```bash
33
- ollama run hf.co/junmingg/qwen2.5-coder-7b-text2sql-GGUF:Q4_K_M
34
- ```
35
-
36
- ## Quick start (llama.cpp)
37
-
38
- ```bash
39
- llama-cli -hf junmingg/qwen2.5-coder-7b-text2sql-GGUF:Q4_K_M
40
- ```
41
-
42
- License: Apache-2.0 (base model) / data CC-BY-4.0.
 
1
+ ---
2
+ tags:
3
+ - gguf
4
+ - llama.cpp
5
+ - unsloth
6
+
7
+ ---
8
+
9
+ # qwen2.5-coder-7b-text2sql-GGUF : GGUF
10
+
11
+ This model was finetuned and converted to GGUF format using [Unsloth](https://github.com/unslothai/unsloth).
12
+
13
+ **Example usage**:
14
+ - For text only LLMs: `llama-cli -hf junmingg/qwen2.5-coder-7b-text2sql-GGUF --jinja`
15
+ - For multimodal models: `llama-mtmd-cli -hf junmingg/qwen2.5-coder-7b-text2sql-GGUF --jinja`
16
+
17
+ ## Available Model files:
18
+ - `qwen2.5-coder-7b-instruct.Q6_K.gguf`
19
+
20
+ ## Ollama
21
+ An Ollama Modelfile is included for easy deployment.
22
+ This was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth)
23
+ [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)