Instructions to use tensorblock/slim-sql-1b-v0-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/slim-sql-1b-v0-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/slim-sql-1b-v0-GGUF", filename="slim-sql-1b-v0-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/slim-sql-1b-v0-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K
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 tensorblock/slim-sql-1b-v0-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K
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 tensorblock/slim-sql-1b-v0-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/slim-sql-1b-v0-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/slim-sql-1b-v0-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/slim-sql-1b-v0-GGUF with Ollama:
ollama run hf.co/tensorblock/slim-sql-1b-v0-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/slim-sql-1b-v0-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 tensorblock/slim-sql-1b-v0-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 tensorblock/slim-sql-1b-v0-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/slim-sql-1b-v0-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/slim-sql-1b-v0-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/slim-sql-1b-v0-GGUF:Q2_K
- Lemonade
How to use tensorblock/slim-sql-1b-v0-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/slim-sql-1b-v0-GGUF:Q2_K
Run and chat with the model
lemonade run user.slim-sql-1b-v0-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- slim-sql-1b-v0-Q3_K_L.gguf +0 -3
- slim-sql-1b-v0-Q3_K_M.gguf +0 -3
- slim-sql-1b-v0-Q3_K_S.gguf +0 -3
- slim-sql-1b-v0-Q4_0.gguf +0 -3
- slim-sql-1b-v0-Q4_K_M.gguf +0 -3
- slim-sql-1b-v0-Q4_K_S.gguf +0 -3
- slim-sql-1b-v0-Q5_0.gguf +0 -3
- slim-sql-1b-v0-Q5_K_M.gguf +0 -3
- slim-sql-1b-v0-Q5_K_S.gguf +0 -3
- slim-sql-1b-v0-Q6_K.gguf +0 -3
- slim-sql-1b-v0-Q8_0.gguf +0 -3
slim-sql-1b-v0-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:466b6be543611026e655b4737667f8a12d8a03277460d37170ab4ff0a3625e3c
|
| 3 |
-
size 591526880
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7f664260d976c7fcf3d6d6271b08596d69a4171258d872757ae7cde80c259bf5
|
| 3 |
-
size 548404192
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:16ed157498919e728a2a5243ba40968e0fad75c16085d0ace503e141299568da
|
| 3 |
-
size 499342304
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6d33d2235a3ae9f27e873a3c9930601e37247d72e485550246ca9ec252ce9e09
|
| 3 |
-
size 636726240
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8088f55635b97d568fa2e13b584c40a0e9f345e7a914d673095637dc0ce11bc3
|
| 3 |
-
size 667814880
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b88c178ef1a86f82c4df2b6cbd380acd667c901db62b9d44d2c2a6f0dd1d0ca4
|
| 3 |
-
size 639871968
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fc3bd1facda12811a8f59401760b69ba47248a0baa40ff3d8d8aa6cdda4ec440
|
| 3 |
-
size 766028768
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:860f79d0eba25fe682240365041550e4e750a4220ee7ccc78fb0f00600e44e7b
|
| 3 |
-
size 782044128
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6b8659e68cc8abe79789293e3711fe1d6c8dbdea6bc0a38ece7310bb49c904ea
|
| 3 |
-
size 766028768
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d01b44b20cb09893c9525564038963f994bf11bf1154ffe9a0b24c4baad551ca
|
| 3 |
-
size 903412704
|
|
|
|
|
|
|
|
|
|
|
|
slim-sql-1b-v0-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9d00c955c853631547b2f03e6c62ba6e504ccb0928dd3c2a84d5d5aa8a01ecc7
|
| 3 |
-
size 1169808352
|
|
|
|
|
|
|
|
|
|
|
|