Instructions to use mradermacher/NativeSQL-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/NativeSQL-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/NativeSQL-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/NativeSQL-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/NativeSQL-GGUF", filename="NativeSQL.IQ4_XS.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/NativeSQL-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/NativeSQL-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/NativeSQL-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/NativeSQL-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/NativeSQL-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/NativeSQL-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/NativeSQL-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/NativeSQL-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/NativeSQL-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/NativeSQL-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/NativeSQL-GGUF with Ollama:
ollama run hf.co/mradermacher/NativeSQL-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/NativeSQL-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/NativeSQL-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/NativeSQL-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/NativeSQL-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/NativeSQL-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/NativeSQL-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/NativeSQL-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/NativeSQL-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.NativeSQL-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from rich1
Browse files- .gitattributes +12 -0
- NativeSQL.IQ4_XS.gguf +3 -0
- NativeSQL.Q2_K.gguf +3 -0
- NativeSQL.Q3_K_L.gguf +3 -0
- NativeSQL.Q3_K_M.gguf +3 -0
- NativeSQL.Q3_K_S.gguf +3 -0
- NativeSQL.Q4_K_M.gguf +3 -0
- NativeSQL.Q4_K_S.gguf +3 -0
- NativeSQL.Q5_K_M.gguf +3 -0
- NativeSQL.Q5_K_S.gguf +3 -0
- NativeSQL.Q6_K.gguf +3 -0
- NativeSQL.Q8_0.gguf +3 -0
- NativeSQL.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 |
+
NativeSQL.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
NativeSQL.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
NativeSQL.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
NativeSQL.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
NativeSQL.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
NativeSQL.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
NativeSQL.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
NativeSQL.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
NativeSQL.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
NativeSQL.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
NativeSQL.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
NativeSQL.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
NativeSQL.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd898d5ac24bb805a994829598a2d2de3994a894e8a9ced5672217060c5e12f5
|
| 3 |
+
size 127121504
|
NativeSQL.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a10cc788be4ed89d6b047f874b2825071db9b13358dd647c296a0af200280296
|
| 3 |
+
size 94404704
|
NativeSQL.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6777aa26d0f7e0d380dede2247a3137647bb51bbf8aef21ed9be6ab86117f771
|
| 3 |
+
size 126697568
|
NativeSQL.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9a71dcf2051028b78589c16a4cc5d7d29a13d58460338cd0f30a2431a1ac609
|
| 3 |
+
size 117112928
|
NativeSQL.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9762f98ccec38a703840a631b2d4fac3126753935c59188b5e825235d0fad11
|
| 3 |
+
size 106625120
|
NativeSQL.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c43cb7dd89b68c155ec419d32ba23fac29393b733e4c568de61a7564cd2ae38
|
| 3 |
+
size 146631776
|
NativeSQL.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37d3e085959ddbd038983562ae4e72548612386c7731425bcb818382e7624090
|
| 3 |
+
size 133535840
|
NativeSQL.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9847a6f11f265c79e0b581fd80ddcf1a6a37a652110b0be5ba236625985cbe8
|
| 3 |
+
size 164768864
|
NativeSQL.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:930d477db3be94557e6d81258159d69a57979935809f9d6f3f73a89ec68c01b3
|
| 3 |
+
size 157718624
|
NativeSQL.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:254359de00c2c7ad7367a08303858a7396cb843239058bde6542e02785f48689
|
| 3 |
+
size 184039520
|
NativeSQL.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e18b310b816a3a79279c69a13749dc93b9098d23b60d25b432b077dc0824553b
|
| 3 |
+
size 238012256
|
NativeSQL.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:427294e199bbefde2265913fc1bfe8f55bc0719286b67f458a1b830a76232168
|
| 3 |
+
size 446938976
|