Text Generation
GGUF
English
tool-calling
function-calling
prism
synalux
memory-augmented
LoRA
Q4_K_M
conversational
Instructions to use dcostenco/prism-coder-32b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use dcostenco/prism-coder-32b with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="dcostenco/prism-coder-32b", filename="prism-coder-32b-q4km.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use dcostenco/prism-coder-32b with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dcostenco/prism-coder-32b # Run inference directly in the terminal: llama-cli -hf dcostenco/prism-coder-32b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dcostenco/prism-coder-32b # Run inference directly in the terminal: llama-cli -hf dcostenco/prism-coder-32b
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 dcostenco/prism-coder-32b # Run inference directly in the terminal: ./llama-cli -hf dcostenco/prism-coder-32b
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 dcostenco/prism-coder-32b # Run inference directly in the terminal: ./build/bin/llama-cli -hf dcostenco/prism-coder-32b
Use Docker
docker model run hf.co/dcostenco/prism-coder-32b
- LM Studio
- Jan
- vLLM
How to use dcostenco/prism-coder-32b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dcostenco/prism-coder-32b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dcostenco/prism-coder-32b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dcostenco/prism-coder-32b
- Ollama
How to use dcostenco/prism-coder-32b with Ollama:
ollama run hf.co/dcostenco/prism-coder-32b
- Unsloth Studio new
How to use dcostenco/prism-coder-32b 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 dcostenco/prism-coder-32b 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 dcostenco/prism-coder-32b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dcostenco/prism-coder-32b to start chatting
- Pi new
How to use dcostenco/prism-coder-32b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf dcostenco/prism-coder-32b
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": "dcostenco/prism-coder-32b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use dcostenco/prism-coder-32b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf dcostenco/prism-coder-32b
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 dcostenco/prism-coder-32b
Run Hermes
hermes
- Docker Model Runner
How to use dcostenco/prism-coder-32b with Docker Model Runner:
docker model run hf.co/dcostenco/prism-coder-32b
- Lemonade
How to use dcostenco/prism-coder-32b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dcostenco/prism-coder-32b
Run and chat with the model
lemonade run user.prism-coder-32b-{{QUANT_TAG}}List all available models
lemonade list
docs: correct 32B score to 3-seed mean 97.3% ± 0.6% (was 98% single seed)
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ LoRA fine-tune of **Qwen/QwQ-32B** for offline MCP tool routing — Synalux Copi
|
|
| 24 |
|
| 25 |
| Category | Current | Previous (v19 old prompt) | Δ |
|
| 26 |
|---|---|---|---|
|
| 27 |
-
| **Overall** | **
|
| 28 |
| session_load_context | 100% | 100% | = |
|
| 29 |
| session_save_ledger | 100% | 100% | = |
|
| 30 |
| session_search_memory | 100% | 100% | = |
|
|
@@ -43,7 +43,7 @@ LoRA fine-tune of **Qwen/QwQ-32B** for offline MCP tool routing — Synalux Copi
|
|
| 43 |
|
| 44 |
**Key improvement (May 14 2026)**: system prompt v26 eliminates Q4_K_M quantization artifacts where "plain text" was misread as a tool name. AAC routing jumped from 79% to 100% — critical for the life-critical AAC use case.
|
| 45 |
|
| 46 |
-
**
|
| 47 |
|
| 48 |
Only 2 misroutes in 100 cases: "Convert 'good morning' to Japanese" → brave_web_search (edge case), and a multi-step ledger query.
|
| 49 |
|
|
|
|
| 24 |
|
| 25 |
| Category | Current | Previous (v19 old prompt) | Δ |
|
| 26 |
|---|---|---|---|
|
| 27 |
+
| **Overall** | **97.3% ± 0.6%** | 93.7% | **+3.6** |
|
| 28 |
| session_load_context | 100% | 100% | = |
|
| 29 |
| session_save_ledger | 100% | 100% | = |
|
| 30 |
| session_search_memory | 100% | 100% | = |
|
|
|
|
| 43 |
|
| 44 |
**Key improvement (May 14 2026)**: system prompt v26 eliminates Q4_K_M quantization artifacts where "plain text" was misread as a tool name. AAC routing jumped from 79% to 100% — critical for the life-critical AAC use case.
|
| 45 |
|
| 46 |
+
**97.3% puts this model within 2 points of Claude Sonnet 4 (99%) on the same eval**, while running fully offline on a Mac.
|
| 47 |
|
| 48 |
Only 2 misroutes in 100 cases: "Convert 'good morning' to Japanese" → brave_web_search (edge case), and a multi-step ledger query.
|
| 49 |
|