dcostenco commited on
Commit
365cae3
·
verified ·
1 Parent(s): ca08bc4

DEPRECATED: replaced by prism-coder-27b (100% BFCL, 16% smaller)

Browse files
Files changed (1) hide show
  1. README.md +10 -81
README.md CHANGED
@@ -1,91 +1,20 @@
1
  ---
2
  license: apache-2.0
3
- language:
4
- - en
5
  tags:
6
- - tool-calling
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
- # Prism Coder 32B Tool-Routing Model
18
 
19
- Fine-tuned Qwen3-32B for routing user requests to the correct Prism Memory tool. 17 tools + NO_TOOL abstention across 9 evaluation categories.
20
 
21
- ## What this model does
22
-
23
- Routes natural language requests to the correct Prism Memory tool (session_save_ledger, session_load_context, knowledge_search, etc.). This is a **classifier** — it decides which tool to call, not a general-purpose coding or clinical assistant.
24
-
25
- ## What this model does NOT do
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
- ollama pull dcostenco/prism-coder:32b
 
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
+ # ⚠️ DEPRECATEDUse 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
  ```