Instructions to use bartscheffer/deepkit-code-reranker-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 bartscheffer/deepkit-code-reranker-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 bartscheffer/deepkit-code-reranker-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf bartscheffer/deepkit-code-reranker-gguf:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartscheffer/deepkit-code-reranker-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf bartscheffer/deepkit-code-reranker-gguf:Q8_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 bartscheffer/deepkit-code-reranker-gguf:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf bartscheffer/deepkit-code-reranker-gguf:Q8_0
Use Docker
docker model run hf.co/bartscheffer/deepkit-code-reranker-gguf:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use bartscheffer/deepkit-code-reranker-gguf with Ollama:
ollama run hf.co/bartscheffer/deepkit-code-reranker-gguf:Q8_0
- Unsloth Desktop
- Pi
How to use bartscheffer/deepkit-code-reranker-gguf with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bartscheffer/deepkit-code-reranker-gguf:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "bartscheffer/deepkit-code-reranker-gguf:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use bartscheffer/deepkit-code-reranker-gguf with Docker Model Runner:
docker model run hf.co/bartscheffer/deepkit-code-reranker-gguf:Q8_0
- Lemonade
How to use bartscheffer/deepkit-code-reranker-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartscheffer/deepkit-code-reranker-gguf:Q8_0
Run and chat with the model
lemonade run user.deepkit-code-reranker-gguf-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use bartscheffer/deepkit-code-reranker-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 bartscheffer/deepkit-code-reranker-gguf:Q8_0
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:9931/v1 hermes config set model.default bartscheffer/deepkit-code-reranker-gguf:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use bartscheffer/deepkit-code-reranker-gguf with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf bartscheffer/deepkit-code-reranker-gguf:Q8_0
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:9931/v1 \ --custom-model-id "bartscheffer/deepkit-code-reranker-gguf:Q8_0" \ --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"
File size: 1,966 Bytes
90736d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | ---
license: apache-2.0
base_model: Qwen/Qwen3-Reranker-0.6B
library_name: gguf
pipeline_tag: text-ranking
tags:
- gguf
- reranker
- deepkit-code
---
# Deepkit Code — Qwen3 Reranker 0.6B GGUF
Q8_0 and f16 conversions of the official Qwen3-Reranker-0.6B model, prepared for
[Deepkit Code](https://github.com/bartscheffer/deepkit-code). This repository hosts
model artifacts; it does not contain the Deepkit Code executable.
## Provenance
- Official model revision: `e61197ed45024b0ed8a2d74b80b4d909f1255473`.
- Unmodified official llama.cpp converter: `e79e4bf660e19f2ad851e06c6913f7a8c5852621`.
- Formats: Q8_0 and f16. Exact sizes and SHA-256 are in `artifact-manifest.json`.
- Model license: Apache-2.0. The original model is developed by Qwen; this is a
project-maintained conversion, not an official Qwen GGUF release.
[Conversion scripts and dependency lock](https://github.com/bartscheffer/deepkit-code/tree/a5762f2/scripts/models)
record the preparation workflow. All upstream files were verified against pinned
Git-blob/LFS hashes before offline conversion. Repeating Q8_0 conversion produced
byte-identical output in the recorded environment.
## Runtime contract
These are rerankers, not embedding models. Both contain `cls.output.weight`, Rank
pooling, classifier labels `[yes, no]`, and `tokenizer.chat_template.rerank`.
Use the stored rerank template for the query/document pair. The recorded native
Qwen3 Rank implementation already applies softmax: the first pooled value is
P(yes). Do not apply a second softmax or L2-normalize the two probabilities.
Both artifacts pass actual CPU three-pair checks: a relevant answer scores above
0.999 and an irrelevant answer below 0.00002. Classifier rows were also compared
against the original yes/no token weights. Details are in the manifest. These are
artifact smoke tests, not a retrieval benchmark or a throughput guarantee.
Deepkit Code's production search integration is still in development.
|