Instructions to use whoami02/defog-sqlcoder-2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use whoami02/defog-sqlcoder-2-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 whoami02/defog-sqlcoder-2-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf whoami02/defog-sqlcoder-2-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf whoami02/defog-sqlcoder-2-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf whoami02/defog-sqlcoder-2-GGUF:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf whoami02/defog-sqlcoder-2-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf whoami02/defog-sqlcoder-2-GGUF:Q8_0
Use Docker
docker model run hf.co/whoami02/defog-sqlcoder-2-GGUF:Q8_0
- Llama new
- LM Studio
- Jan
- vLLM
How to use whoami02/defog-sqlcoder-2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "whoami02/defog-sqlcoder-2-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "whoami02/defog-sqlcoder-2-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/whoami02/defog-sqlcoder-2-GGUF:Q8_0
- Ollama
How to use whoami02/defog-sqlcoder-2-GGUF with Ollama:
ollama run hf.co/whoami02/defog-sqlcoder-2-GGUF:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use whoami02/defog-sqlcoder-2-GGUF with Docker Model Runner:
docker model run hf.co/whoami02/defog-sqlcoder-2-GGUF:Q8_0
- Lemonade
How to use whoami02/defog-sqlcoder-2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull whoami02/defog-sqlcoder-2-GGUF:Q8_0
Run and chat with the model
lemonade run user.defog-sqlcoder-2-GGUF-Q8_0
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,8 +3,10 @@ license: apache-2.0
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
- defog
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
## Model Details
|
| 10 |
I do not claim ownership of this model.
|
|
|
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
tags:
|
| 6 |
+
- HuggingFace
|
| 7 |
+
- defog/sqlcoder.gguf
|
| 8 |
+
- sqlcoder-7b-2.gguf
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
---
|
| 11 |
## Model Details
|
| 12 |
I do not claim ownership of this model.
|