Text Generation
Safetensors
GGUF
English
qwen2
text-to-sql
sql-generation
natural-language-to-sql
deepseek
qwen
reasoning
database
conversational
Instructions to use DeepSQL/DeepSQL-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DeepSQL/DeepSQL-1.0 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 DeepSQL/DeepSQL-1.0 # Run inference directly in the terminal: llama cli -hf DeepSQL/DeepSQL-1.0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DeepSQL/DeepSQL-1.0 # Run inference directly in the terminal: llama cli -hf DeepSQL/DeepSQL-1.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 DeepSQL/DeepSQL-1.0 # Run inference directly in the terminal: ./build/bin/llama cli -hf DeepSQL/DeepSQL-1.0
Use Docker
docker model run hf.co/DeepSQL/DeepSQL-1.0
- Llama new
- LM Studio
- Jan
- vLLM
How to use DeepSQL/DeepSQL-1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DeepSQL/DeepSQL-1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DeepSQL/DeepSQL-1.0", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DeepSQL/DeepSQL-1.0
- Ollama
How to use DeepSQL/DeepSQL-1.0 with Ollama:
ollama run hf.co/DeepSQL/DeepSQL-1.0
- Unsloth Desktop
- Docker Model Runner
How to use DeepSQL/DeepSQL-1.0 with Docker Model Runner:
docker model run hf.co/DeepSQL/DeepSQL-1.0
- Lemonade
How to use DeepSQL/DeepSQL-1.0 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DeepSQL/DeepSQL-1.0
Run and chat with the model
lemonade run user.DeepSQL-1.0-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download special_tokens_map.json from DeepSQL/DeepSQL-1.0: direct link, hf CLI and curl.
- Browser
- Download file 485 Bytes
-
https://huggingface.co/DeepSQL/DeepSQL-1.0/resolve/6e2c146d401d09ad0085857bb96d74da5c04f736/special_tokens_map.json
- Command line
-
hf download hf://DeepSQL/DeepSQL-1.0@6e2c146d401d09ad0085857bb96d74da5c04f736/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/DeepSQL/DeepSQL-1.0/resolve/6e2c146d401d09ad0085857bb96d74da5c04f736/special_tokens_map.json
485 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|end▁of▁sentence|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |