Instructions to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Qwen3-4B-SQL-Writer-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/Qwen3-4B-SQL-Writer-GGUF", filename="Qwen3-4B-SQL-Writer.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with Ollama:
ollama run hf.co/mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Qwen3-4B-SQL-Writer-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/Qwen3-4B-SQL-Writer-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/Qwen3-4B-SQL-Writer-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/Qwen3-4B-SQL-Writer-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/Qwen3-4B-SQL-Writer-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3-4B-SQL-Writer-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from leia
Browse files- .gitattributes +12 -0
- Qwen3-4B-SQL-Writer.IQ4_XS.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q2_K.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q3_K_L.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q3_K_M.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q3_K_S.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q4_K_M.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q4_K_S.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q5_K_M.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q5_K_S.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q6_K.gguf +3 -0
- Qwen3-4B-SQL-Writer.Q8_0.gguf +3 -0
- Qwen3-4B-SQL-Writer.f16.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 |
+
Qwen3-4B-SQL-Writer.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen3-4B-SQL-Writer.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen3-4B-SQL-Writer.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen3-4B-SQL-Writer.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen3-4B-SQL-Writer.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen3-4B-SQL-Writer.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen3-4B-SQL-Writer.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen3-4B-SQL-Writer.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen3-4B-SQL-Writer.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen3-4B-SQL-Writer.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen3-4B-SQL-Writer.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen3-4B-SQL-Writer.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen3-4B-SQL-Writer.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccb6eab154aa363549ab8c52e55fc77706d14279ab67474f1a374bbfab08d4a5
|
| 3 |
+
size 2286312928
|
Qwen3-4B-SQL-Writer.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75f8e5480404b17f248caf1f1a5a6833bbcb474a10c156fc16d1831429607496
|
| 3 |
+
size 1669496288
|
Qwen3-4B-SQL-Writer.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b39167f0d629ada70ad8012d13c8a3c3427f24e52b240326bbfbd7d364e1317b
|
| 3 |
+
size 2239782368
|
Qwen3-4B-SQL-Writer.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6314d840d27222af4c87a72acec3598c85fb7506217b44d555a4db3274a19abd
|
| 3 |
+
size 2075614688
|
Qwen3-4B-SQL-Writer.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab6eed07f08a4bbdb69eb81dc6bf85a005a8668bcda8ce0ddf9fe317c3053a64
|
| 3 |
+
size 1886993888
|
Qwen3-4B-SQL-Writer.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1405d8970718660562db1c148a8c324dd13285b13471fd6e551b098e757a6a00
|
| 3 |
+
size 2497277408
|
Qwen3-4B-SQL-Writer.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acd53372d466e367afd3c00a0197a6caa5a513d2cac40bd83f95ec30cb89a8c8
|
| 3 |
+
size 2383306208
|
Qwen3-4B-SQL-Writer.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:408baa0e5d1ccdfe09edd6f54f1ffa937cc6e284567c4a67f1cefadb3bc3170e
|
| 3 |
+
size 2889510368
|
Qwen3-4B-SQL-Writer.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f219835e2a3d469143822faeb051ca917763ff074b694f6db4c4829da8fe83ce
|
| 3 |
+
size 2823708128
|
Qwen3-4B-SQL-Writer.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b6851f30ff9a3fd3932e221f4d0be7f7eb006cd0b9eeaf4accab6599c5d37ce
|
| 3 |
+
size 3306257888
|
Qwen3-4B-SQL-Writer.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76739d82dae79f2dfddf9d08dcaba73b3caf8b8b05768339c15144ae5de180fb
|
| 3 |
+
size 4280401888
|
Qwen3-4B-SQL-Writer.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fa82c95a7e40652e49ec4b359978112954d49a20970343d0c4291a4e82fa070
|
| 3 |
+
size 8051281888
|