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
Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,50 @@ model-index:
|
|
| 29 |
name: LLM-as-Judge Accuracy
|
| 30 |
verified: false
|
| 31 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
# Distil-Localdoc-Qwen3-0.6B
|
| 34 |
|
|
|
|
| 29 |
name: LLM-as-Judge Accuracy
|
| 30 |
verified: false
|
| 31 |
---
|
| 32 |
+
<div align="center">
|
| 33 |
+
<img src="https://github.com/distil-labs/badges/blob/main/distillabs-logo.svg?raw=true" width="40%" alt="distil labs" />
|
| 34 |
+
</div>
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
<div align="center">
|
| 39 |
+
<table>
|
| 40 |
+
<tr>
|
| 41 |
+
<td align="center">
|
| 42 |
+
<a href="https://www.distillabs.ai/?utm_source=hugging-face&utm_medium=referral&utm_campaign=distil-localdoc">
|
| 43 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-distillabs-home.svg?raw=true" alt="Homepage"/>
|
| 44 |
+
</a>
|
| 45 |
+
</td>
|
| 46 |
+
<td align="center">
|
| 47 |
+
<a href="https://github.com/distil-labs">
|
| 48 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-github.svg?raw=true" alt="GitHub"/>
|
| 49 |
+
</a>
|
| 50 |
+
</td>
|
| 51 |
+
<td align="center">
|
| 52 |
+
<a href="https://huggingface.co/distil-labs">
|
| 53 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-huggingface.svg?raw=true" alt="Hugging Face"/>
|
| 54 |
+
</a>
|
| 55 |
+
</td>
|
| 56 |
+
</tr>
|
| 57 |
+
<tr>
|
| 58 |
+
<td align="center">
|
| 59 |
+
<a href="https://www.linkedin.com/company/distil-labs/">
|
| 60 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-linkedin.svg?raw=true" alt="LinkedIn"/>
|
| 61 |
+
</a>
|
| 62 |
+
</td>
|
| 63 |
+
<td align="center">
|
| 64 |
+
<a href="https://distil-labs-community.slack.com/join/shared_invite/zt-36zqj87le-i3quWUn2bjErRq22xoE58g">
|
| 65 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-slack.svg?raw=true" alt="Slack"/>
|
| 66 |
+
</a>
|
| 67 |
+
</td>
|
| 68 |
+
<td align="center">
|
| 69 |
+
<a href="https://x.com/distil_labs">
|
| 70 |
+
<img src="https://github.com/distil-labs/badges/blob/main/badge-twitter.svg?raw=true" alt="Twitter"/>
|
| 71 |
+
</a>
|
| 72 |
+
</td>
|
| 73 |
+
</tr>
|
| 74 |
+
</table>
|
| 75 |
+
</div>
|
| 76 |
|
| 77 |
# Distil-Localdoc-Qwen3-0.6B
|
| 78 |
|