Text Generation
Transformers
GGUF
English
code
python
docstring
documentation
code-generation
local-llm
privacy
ollama
qwen3
knowledge-distillation
developer-tools
Eval Results (legacy)
Instructions to use distil-labs/Distil-Localdoc-Qwen3-0.6B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="distil-labs/Distil-Localdoc-Qwen3-0.6B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("distil-labs/Distil-Localdoc-Qwen3-0.6B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B 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 distil-labs/Distil-Localdoc-Qwen3-0.6B # Run inference directly in the terminal: llama cli -hf distil-labs/Distil-Localdoc-Qwen3-0.6B
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf distil-labs/Distil-Localdoc-Qwen3-0.6B # Run inference directly in the terminal: llama cli -hf distil-labs/Distil-Localdoc-Qwen3-0.6B
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 distil-labs/Distil-Localdoc-Qwen3-0.6B # Run inference directly in the terminal: ./llama-cli -hf distil-labs/Distil-Localdoc-Qwen3-0.6B
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 distil-labs/Distil-Localdoc-Qwen3-0.6B # Run inference directly in the terminal: ./build/bin/llama-cli -hf distil-labs/Distil-Localdoc-Qwen3-0.6B
Use Docker
docker model run hf.co/distil-labs/Distil-Localdoc-Qwen3-0.6B
- LM Studio
- Jan
- vLLM
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "distil-labs/Distil-Localdoc-Qwen3-0.6B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "distil-labs/Distil-Localdoc-Qwen3-0.6B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/distil-labs/Distil-Localdoc-Qwen3-0.6B
- SGLang
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "distil-labs/Distil-Localdoc-Qwen3-0.6B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "distil-labs/Distil-Localdoc-Qwen3-0.6B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "distil-labs/Distil-Localdoc-Qwen3-0.6B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "distil-labs/Distil-Localdoc-Qwen3-0.6B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with Ollama:
ollama run hf.co/distil-labs/Distil-Localdoc-Qwen3-0.6B
- Unsloth Desktop
- Docker Model Runner
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with Docker Model Runner:
docker model run hf.co/distil-labs/Distil-Localdoc-Qwen3-0.6B
- Lemonade
How to use distil-labs/Distil-Localdoc-Qwen3-0.6B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull distil-labs/Distil-Localdoc-Qwen3-0.6B
Run and chat with the model
lemonade run user.Distil-Localdoc-Qwen3-0.6B-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
- Xet hash:
- bd010c937f76a05c9a120ddfdbb17a9e7ef083ea01f72539616f95775b1a9619
- Size of remote file:
- 2.39 GB
- SHA256:
- 42e68c146d92f5bc9f04e7b9ba77d5689e6dd4d1b82a760494bcd0b3a0f5cc7e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.