Instructions to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model 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 jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M # Run inference directly in the terminal: llama cli -hf jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M # Run inference directly in the terminal: llama cli -hf jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
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 jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
Use Docker
docker model run hf.co/jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model with Ollama:
ollama run hf.co/jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model with Docker Model Runner:
docker model run hf.co/jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
- Lemonade
How to use jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-4bit-sql-model-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -71,7 +71,7 @@ Show customer id, customer name, total orders, total spent, average order value
|
|
| 71 |
|
| 72 |
| **Model** | **Base Model** | **下载** |
|
| 73 |
| -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
|
| 74 |
-
| DeepSeek-R1-Distill-Llama-sql-4B | [Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) | [🤗 HuggingFace](https://huggingface.co/jackcwf/
|
| 75 |
|
| 76 |
|
| 77 |
# Usage
|
|
|
|
| 71 |
|
| 72 |
| **Model** | **Base Model** | **下载** |
|
| 73 |
| -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
|
| 74 |
+
| DeepSeek-R1-Distill-Llama-sql-4B | [Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) | [🤗 HuggingFace](https://huggingface.co/jackcwf/DeepSeek-R1-Distill-Llama-4bit-sql-model/raw/main/unsloth.Q4_K_M.gguf) |
|
| 75 |
|
| 76 |
|
| 77 |
# Usage
|