Instructions to use smarttasks/Qwen3-Embedding-0.6B-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 smarttasks/Qwen3-Embedding-0.6B-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 smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
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 smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
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 smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Ollama:
ollama run hf.co/smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
- Unsloth Studio
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for smarttasks/Qwen3-Embedding-0.6B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for smarttasks/Qwen3-Embedding-0.6B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for smarttasks/Qwen3-Embedding-0.6B-GGUF to start chatting
- Pi
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Docker Model Runner:
docker model run hf.co/smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
- Lemonade
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3-Embedding-0.6B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use smarttasks/Qwen3-Embedding-0.6B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default smarttasks/Qwen3-Embedding-0.6B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
Required usage: pooling + instruction
Qwen3-Embedding uses last-token pooling and is instruction-aware โ both are required for correct results:
- Serve with last-token pooling:
llama-server -m <model>.gguf --embedding --pooling last - Prepend a task instruction to queries (not documents):
Instruct: {task description}\nQuery:{your query} - Inputs should end with the EOS token
<|endoftext|>(recent llama.cpp appends this automatically).
Without last-token pooling and the instruction prefix, retrieval quality collapses. Instructions improve results ~1-5%. The MTEB score below (SciFact 0.6982 nDCG@10) was measured with both. Native dimension 1024, Matryoshka (MRL) custom dimensions supported, multilingual (100+ languages), 8192-token context.
Quant note: Q4_K_M drift dips to ~0.945 min โ prefer Q5_K_M or Q8_0 for best fidelity.
Qwen3-Embedding-0.6B โ Embedding GGUF (quantization-verified)
Quantized embedding model in GGUF, served in --embedding mode via llama.cpp. This is an encoder โ it outputs vectors, not text. It is validated for retrieval quality and quantization fidelity, not chat behavior.
Files
Qwen3-Embedding-0.6B-Q4_K_M.gguf(396.5 MB)Qwen3-Embedding-0.6B-Q5_K_M.gguf(444.2 MB)Qwen3-Embedding-0.6B-Q8_0.gguf(639.2 MB)
Quantization drift (vs f16)
Mean cosine similarity of embeddings vs the f16 baseline. 1.0 = identical.
| Quant | Mean cosine | Min cosine | Verdict |
|---|---|---|---|
| Q4_K_M | 0.97469 | 0.94327 | good (>0.97) |
| Q5_K_M | 0.99117 | 0.97828 | excellent (>0.99) |
| Q8_0 | 0.99934 | 0.99887 | excellent (>0.99) |
Per-domain fidelity at Q4_K_M (which content types the quant preserves best):
| Domain | Mean cosine | Min |
|---|---|---|
| science | 0.96758 | 0.94327 |
| legal | 0.96894 | 0.96257 |
| long_form | 0.97152 | 0.97059 |
| code | 0.97431 | 0.96263 |
| everyday | 0.97454 | 0.9666 |
| medical | 0.9754 | 0.97154 |
| finance | 0.97994 | 0.97184 |
| short_queries | 0.98367 | 0.98154 |
Retrieval sanity (lightweight)
Built-in 12-query retrieval check (no external corpus): top-1 accuracy 1.0, MRR 1.0. healthy (top-1 >= 0.9)
Retrieval (MTEB)
Standardized MTEB retrieval scores (main metric, usually nDCG@10 โ higher is better). These are comparable across models on the MTEB leaderboard.
| Task | Score |
|---|---|
| SciFact | 0.6982 |
Metric: main_score (retrieval tasks: nDCG@10). Measured on the Q8_0 quant served via llama.cpp.
Dense-retrieval mode. These scores are for standard single-vector dense retrieval (what llama.cpp serves). Models like BGE-M3 that also support sparse/multi-vector (ColBERT) modes score higher in hybrid setups โ that capability isn't exercised here, so compare this number against other models' dense scores, not hybrid ones.
What this is NOT
This card carries no safety, red-team, or viewpoint scores: those do not apply to an embedding model. For chat-model governance cards, see the SmartTasks text-LLM line.
- Downloads last month
- 172
4-bit
5-bit
8-bit