Ailiance-fr/router-v5-minilm
0
ailiance-router-v5 (MiniLM L6 v2 + 2-layer MLP)
Domain classifier head used by the ailiance gateway to route incoming chat requests to the most adapted backend worker.
Performance
- Top-1 accuracy: 87.6 %
- Top-3 accuracy: 98.7 %
- Validation set: 1 978 prompts across 32 domains.
Architecture
- Encoder:
sentence-transformers/all-MiniLM-L6-v2(frozen, 384d) - Head: 2-layer MLP
Linear(384→256) -> GELU -> Dropout(0.1) -> Linear(256→32) - Loss: BCE-with-logits (multi-label sigmoid)
- Optimizer: AdamW lr=1e-3, batch=128, 30 epochs, seed=42
🇪🇺 EU AI Act transparency
This artefact is published under the AI Act framework (Regulation EU 2024/1689).
Training data sources
Total clean corpus: 9 817 prompts across 32 domains.
Files
router.safetensors— MLP head weightsmeta.json— encoder name, dim, head config, domain listlabel_map.json— domain ↔ index
Validated in ailiance/ailiance-bench v0.2
This model is referenced in the Ailiance benchmark suite (Phase 6 scoreboard, 7-task hardware-design evaluation).
See the full scoreboard: ailiance-bench README#scoreboard-lora-phase-6.
