Instructions to use faxenoff/code-daemon-enrich-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use faxenoff/code-daemon-enrich-v1 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="faxenoff/code-daemon-enrich-v1", filename="code-daemon-enrich-v1-Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use faxenoff/code-daemon-enrich-v1 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 faxenoff/code-daemon-enrich-v1:Q8_0 # Run inference directly in the terminal: llama cli -hf faxenoff/code-daemon-enrich-v1:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf faxenoff/code-daemon-enrich-v1:Q8_0 # Run inference directly in the terminal: llama cli -hf faxenoff/code-daemon-enrich-v1:Q8_0
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 faxenoff/code-daemon-enrich-v1:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf faxenoff/code-daemon-enrich-v1:Q8_0
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 faxenoff/code-daemon-enrich-v1:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf faxenoff/code-daemon-enrich-v1:Q8_0
Use Docker
docker model run hf.co/faxenoff/code-daemon-enrich-v1:Q8_0
- LM Studio
- Jan
- vLLM
How to use faxenoff/code-daemon-enrich-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "faxenoff/code-daemon-enrich-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "faxenoff/code-daemon-enrich-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/faxenoff/code-daemon-enrich-v1:Q8_0
- Ollama
How to use faxenoff/code-daemon-enrich-v1 with Ollama:
ollama run hf.co/faxenoff/code-daemon-enrich-v1:Q8_0
- Unsloth Studio
How to use faxenoff/code-daemon-enrich-v1 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 faxenoff/code-daemon-enrich-v1 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 faxenoff/code-daemon-enrich-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for faxenoff/code-daemon-enrich-v1 to start chatting
- Pi
How to use faxenoff/code-daemon-enrich-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf faxenoff/code-daemon-enrich-v1:Q8_0
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": "faxenoff/code-daemon-enrich-v1:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use faxenoff/code-daemon-enrich-v1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf faxenoff/code-daemon-enrich-v1: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:8080/v1 hermes config set model.default faxenoff/code-daemon-enrich-v1:Q8_0
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use faxenoff/code-daemon-enrich-v1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf faxenoff/code-daemon-enrich-v1: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:8080/v1 \ --custom-model-id "faxenoff/code-daemon-enrich-v1: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"
- Docker Model Runner
How to use faxenoff/code-daemon-enrich-v1 with Docker Model Runner:
docker model run hf.co/faxenoff/code-daemon-enrich-v1:Q8_0
- Lemonade
How to use faxenoff/code-daemon-enrich-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull faxenoff/code-daemon-enrich-v1:Q8_0
Run and chat with the model
lemonade run user.code-daemon-enrich-v1-Q8_0
List all available models
lemonade list
code-daemon-enrich-v1
A distilled Qwen3-0.6B worker that writes the short, structured labels in the UltraCode
code-intelligence pipeline: RAPTOR L0/L1 cluster labels, community labels, and link-selection
picks. It replaces a 7B teacher on exactly the high-volume, prefill-bound, short-output stages
where a sub-billion-parameter model is enough โ running those stages on the daemon's dedicated
.enrich worker at a fraction of the main LLM's per-call prefill cost.
This is a purpose-built pipeline component, not a general assistant. It only does the four label tasks below; outside that distribution its behaviour is undefined.
What it is
- Base:
Qwen/Qwen3-0.6B(Apache-2.0) โ 28 layers, ChatML, 151 936-token vocab. - Teacher:
Qwen/Qwen2.5-7B-Instruct. - Method: sequence-level knowledge distillation (SeqKD) โ LoRA SFT on teacher
(prompt โ response)traces, 3 epochs, prompt tokens masked; then merged into the base and exported to GGUF. - Format:
code-daemon-enrich-v1-Q8_0.gguf(~800 MB, Q8_0, llama.cpp). Q8_0 keeps the tiny model's logits crisp for short noun-phrase / single-token outputs. - Tokenizer: Qwen2 family โ so this model can double as a speculative-decoding draft for a Qwen3 target (shared tokenizer โ aligned prefixes).
What it does โ the four label tasks
| System prompt bucket | Output | Example |
|---|---|---|
SYS_RAPTOR_LABEL_L0 / L1 |
a cluster label "<topic>: name1, name2, name3" |
"AST extractor methods: extractFnDecl, extractClassDecl, harvest" |
SYS_COMMUNITY_LABEL |
a graph-community label (noun phrase) | "OpenVINO pipeline state" |
SYS_LINK_SELECT |
candidate ids to link (c<N> picks or none) |
"c2, c5" |
All outputs are short (labels โ noun phrases; link-select emits ids). Long-form / multi-paragraph summaries are a different model (the long-output branch) โ not this one.
Evaluation
Held-out set via a deterministic content-hash split (no RNG; the eval set is provably never in training). Metrics vs the teacher's recorded output on the same held-out prompts:
| Bucket | ROUGE-L | Exact | Notes |
|---|---|---|---|
LINK_SELECT |
0.79 | 0.73 | structured id-emit โ the 0.6B matches the 7B on this task |
COMMUNITY |
0.40 | 0.21 | usable label quality |
L0 labels |
0.39 | 0.04 | token metrics undersell it โ a valid paraphrase scores low on exact-token overlap |
For L0, an embedding-cosine check (all-MiniLM-L6-v2, student vs teacher label) gives sem-cos โ 0.74 โ a solid paraphrase, i.e. the label bulk semantically tracks the teacher even where ROUGE-L looks weak. Honest read: LINK is a clear win; L0/COMMUNITY are deployable for display/navigation labels, with a residual gap to the 7B's exactness on L0 (the next lever is on-policy distillation / more data).
Built for speed
The stages this model serves are prefill-bound with short outputs โ the regime where shrinking
the model (not speculative decoding) is the right lever. In the UltraCode daemon it loads into a
dedicated .enrich worker (~0.9 GB VRAM, Q8_0 + KV) that co-resides with the main LLM, so the
label stages run on the 0.6B while paragraph/prose stages stay on the larger model. Measured prefill
throughput on the label batches: ~8โ12k tok/s.
Usage (llama.cpp)
# ChatML; system prompt = one of the buckets above, user turn = the cluster/context.
llama-cli -m code-daemon-enrich-v1-Q8_0.gguf -c 8192 \
-p '<|im_start|>system
Write a short label for this code/doc cluster. Format: "<topic phrase>: <name1>, <name2>, <name3>".<|im_end|>
<|im_start|>user
extractFnDecl, extractClassDecl, harvest, namedChild โ an AST walker module.<|im_end|>
<|im_start|>assistant
'
Greedy decoding (temperature 0) is recommended โ the outputs are factual labels.
Training data
Teacher (prompt, response) traces generated by Qwen2.5-7B-Instruct running the UltraCode
knowledge-graph pipeline over a mixed multi-language code corpus (Zig, C#, TypeScript, Kotlin,
Python, JavaScript). ~4,800 enrich-bucket traces after dedup. No third-party labeled dataset is used.
License & attribution
Apache-2.0 โ matches the Qwen3-0.6B base and the Qwen2.5-7B-Instruct teacher (both Alibaba / Qwen team, Apache-2.0). Not legal advice. Base and teacher ยฉ the Qwen team; please also honour their model cards.
- Downloads last month
- 18
8-bit