Instructions to use dcostenco/prism-coder-32b 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 dcostenco/prism-coder-32b 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 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 serve -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
- Ollama
How to use dcostenco/prism-coder-32b with Ollama:
ollama run hf.co/dcostenco/prism-coder-32b
- Unsloth Desktop
- Pi
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 serve -hf dcostenco/prism-coder-32b
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "dcostenco/prism-coder-32b" } ] } } }Run Pi
# Start Pi in your project directory: pi
- 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
- Hermes Agent
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 serve -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
- Atomic Chat
- OpenClaw
How to use dcostenco/prism-coder-32b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dcostenco/prism-coder-32b
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 "dcostenco/prism-coder-32b" \ --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"
DEPRECATED: replaced by prism-coder-27b (100% BFCL, 16% smaller)
Browse files
README.md
CHANGED
|
@@ -1,91 +1,20 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
- function-calling
|
| 8 |
-
- prism
|
| 9 |
-
- synalux
|
| 10 |
-
- memory-augmented
|
| 11 |
-
- LoRA
|
| 12 |
-
- Q4_K_M
|
| 13 |
-
base_model: Qwen/Qwen3-32B
|
| 14 |
-
pipeline_tag: text-generation
|
| 15 |
---
|
| 16 |
|
| 17 |
-
#
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
- General code generation (not trained on code)
|
| 28 |
-
- Clinical note writing (not trained on clinical data)
|
| 29 |
-
- Codebase understanding (does not know Synalux internals)
|
| 30 |
-
- General reasoning beyond base Qwen3-32B capability
|
| 31 |
-
|
| 32 |
-
## Performance
|
| 33 |
-
|
| 34 |
-
| Metric | Score | Notes |
|
| 35 |
-
|--------|-------|-------|
|
| 36 |
-
| eval_300 strict (model only) | **292/300 (97.3%)** | Model's raw accuracy |
|
| 37 |
-
| eval_300 strict (with post-processing) | **300/300 (100%)** | 8 cases fixed by validate_tool_call regex layer |
|
| 38 |
-
| 3-seed validation | 300/300 x 3 | With post-processing |
|
| 39 |
-
| avg latency | 1.4s | Apple M5 Max |
|
| 40 |
-
| context window | 16,384 tokens | |
|
| 41 |
-
|
| 42 |
-
The eval harness includes a `validate_tool_call` post-processing layer that remaps 8 edge cases the model gets wrong (e.g., "repair links" → backfill_links, "log a milestone" → save_experience). Without this layer, raw model accuracy is 97.3%.
|
| 43 |
-
|
| 44 |
-
## Training
|
| 45 |
-
|
| 46 |
-
- **Base**: Qwen/Qwen3-32B (4-bit quantized for training via MLX)
|
| 47 |
-
- **Method**: LoRA SFT (rank=16, 8 of 64 layers, scale=20.0) x 14 iterative rounds
|
| 48 |
-
- **Training data**: eval_300 prompt→tool routing examples only. NOT trained on source code, clinical documents, or general instruction data.
|
| 49 |
-
- **Quantization**: Q4_K_M via llama.cpp (18 GB)
|
| 50 |
-
- **Hardware**: Apple M5 Max 48 GB unified memory
|
| 51 |
-
|
| 52 |
-
## Upcoming
|
| 53 |
-
|
| 54 |
-
A stacked LoRA adapter (layers 1-16) trained on Synalux codebase, clinical protocols, and Prism Memory internals is in progress. This will add real code understanding and clinical capability without affecting routing accuracy.
|
| 55 |
-
|
| 56 |
-
## Usage
|
| 57 |
|
| 58 |
```bash
|
| 59 |
-
|
|
|
|
| 60 |
```
|
| 61 |
-
|
| 62 |
-
## Model Family
|
| 63 |
-
|
| 64 |
-
| Model | Size | eval_300 (raw) | eval_300 (with post-processing) |
|
| 65 |
-
|-------|------|---------------|-------------------------------|
|
| 66 |
-
| prism-coder:1b7 | 2.2 GB | 100% | 100% |
|
| 67 |
-
| prism-coder:4b | 2.5 GB | 100% | 100% |
|
| 68 |
-
| prism-coder:9b | 5.8 GB | 100% | 100% |
|
| 69 |
-
| **prism-coder:32b** | **18 GB** | **97.3%** | **100%** |
|
| 70 |
-
|
| 71 |
-
## License
|
| 72 |
-
|
| 73 |
-
Apache 2.0
|
| 74 |
-
|
| 75 |
-
## Author
|
| 76 |
-
|
| 77 |
-
[Synalux](https://synalux.com)
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
---
|
| 81 |
-
|
| 82 |
-
## Fleet Position (June 2026)
|
| 83 |
-
|
| 84 |
-
| Model | Ollama tag | Size | BFCL | Role |
|
| 85 |
-
|---|---|---|---|---|
|
| 86 |
-
| Qwen3.5-4B Q3_K_M | `prism-coder:2b` | 2.3 GB | 99.1% | iPhone / mobile |
|
| 87 |
-
| Qwen3.5-4B Q4_K_M | `prism-coder:4b` | 3.4 GB | 100% | Verifier / 8 GB+ |
|
| 88 |
-
| Qwen3.5-9B Q4_K_M | `dcostenco/prism-coder:9b` | 5.8 GB | 100% | Default router |
|
| 89 |
-
| **prism-coder:32b** | **`prism-coder:32b`** | **16 GB** | **100%** | **Complex tasks** |
|
| 90 |
-
|
| 91 |
-
The 1.7B and 8B models have been retired. The 2B/4B slots now use Qwen3.5-4B at different quantization levels.
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
+
- deprecated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
+
# ⚠️ DEPRECATED — Use prism-coder:27b instead
|
| 8 |
|
| 9 |
+
This model has been replaced by [prism-coder-27b](https://huggingface.co/dcostenco/prism-coder-27b).
|
| 10 |
|
| 11 |
+
The 27B achieves 100% BFCL (same as 32B) with:
|
| 12 |
+
- 16% smaller (16 GB vs 19 GB)
|
| 13 |
+
- Faster inference (28.5 tok/s vs ~22)
|
| 14 |
+
- O(n) DeltaNet long context
|
| 15 |
+
- Newer Qwen3.5 base (vs Qwen3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
```bash
|
| 18 |
+
# Use this instead:
|
| 19 |
+
ollama pull dcostenco/prism-coder:27b
|
| 20 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|