Instructions to use mradermacher/SLM-SQL-Base-1.5B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/SLM-SQL-Base-1.5B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Ollama:
ollama run hf.co/mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-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/SLM-SQL-Base-1.5B-GGUF to start chatting
- Pi
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SLM-SQL-Base-1.5B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use mradermacher/SLM-SQL-Base-1.5B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "mradermacher/SLM-SQL-Base-1.5B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
uploaded from rich1
Browse files- .gitattributes +12 -0
- SLM-SQL-Base-1.5B.IQ4_XS.gguf +3 -0
- SLM-SQL-Base-1.5B.Q2_K.gguf +3 -0
- SLM-SQL-Base-1.5B.Q3_K_L.gguf +3 -0
- SLM-SQL-Base-1.5B.Q3_K_M.gguf +3 -0
- SLM-SQL-Base-1.5B.Q3_K_S.gguf +3 -0
- SLM-SQL-Base-1.5B.Q4_K_M.gguf +3 -0
- SLM-SQL-Base-1.5B.Q4_K_S.gguf +3 -0
- SLM-SQL-Base-1.5B.Q5_K_M.gguf +3 -0
- SLM-SQL-Base-1.5B.Q5_K_S.gguf +3 -0
- SLM-SQL-Base-1.5B.Q6_K.gguf +3 -0
- SLM-SQL-Base-1.5B.Q8_0.gguf +3 -0
- SLM-SQL-Base-1.5B.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 |
+
SLM-SQL-Base-1.5B.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
SLM-SQL-Base-1.5B.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
SLM-SQL-Base-1.5B.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
SLM-SQL-Base-1.5B.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
SLM-SQL-Base-1.5B.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
SLM-SQL-Base-1.5B.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
SLM-SQL-Base-1.5B.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
SLM-SQL-Base-1.5B.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
SLM-SQL-Base-1.5B.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
SLM-SQL-Base-1.5B.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
SLM-SQL-Base-1.5B.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
SLM-SQL-Base-1.5B.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
SLM-SQL-Base-1.5B.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0894f0a486780055104e3b1c0d4f22ee8961e2b089bdd91d35e5b867b5b2ec3f
|
| 3 |
+
size 1026162784
|
SLM-SQL-Base-1.5B.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da55248521367eb679fcacb17e72c0c986b396d5f138f7db26aba70f5099562e
|
| 3 |
+
size 752880736
|
SLM-SQL-Base-1.5B.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fcdccd7d0848f686efbb24412370793a3a0cd21e4fd34433c83e40dc943a235
|
| 3 |
+
size 980440672
|
SLM-SQL-Base-1.5B.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d06e9327e04d44494c206b19c0e439f9d9d670bceafcd92e432fda673aee1ee2
|
| 3 |
+
size 924456544
|
SLM-SQL-Base-1.5B.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:040a436b20ca988cc517037ee9dbc3a4814810eee6bdb20f52f527094100939d
|
| 3 |
+
size 861222496
|
SLM-SQL-Base-1.5B.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dad7b3973160b751b1c37760b4e8a2af52c23b3e8ca19527c1d04a28e1b41460
|
| 3 |
+
size 1117321312
|
SLM-SQL-Base-1.5B.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf50c34beeb5f2fce6d85e8a3f5c4593e67726d106fdd42ab2d0ea7799536b19
|
| 3 |
+
size 1071585376
|
SLM-SQL-Base-1.5B.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaa774e00916bc1bd93249420142336f323ef611cda0e9473f6a3172dd7783b9
|
| 3 |
+
size 1285494880
|
SLM-SQL-Base-1.5B.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f2c574fa96fb9fb2f6ab666a003c41c6c43e318828542c953be13668f6aa98e
|
| 3 |
+
size 1259173984
|
SLM-SQL-Base-1.5B.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dea37fd023c1e283981c71768d98a15a61180f77ea9796db3dd9411fd9ae887
|
| 3 |
+
size 1464179296
|
SLM-SQL-Base-1.5B.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e646f4882c4a753445787df7519bdf3ca39b931a0ea3b9afa5b8610e4ae6792a
|
| 3 |
+
size 1894532704
|
SLM-SQL-Base-1.5B.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:144265989080afd1d87b320327dbec404d9e0c2f5b23792526699b7fb0b93d56
|
| 3 |
+
size 3560416864
|