mirror of
https://github.com/zenlm/zen-router.git
synced 2026-10-30 14:57:44 +00:00
Reads a prompt, picks the best model. 0.6B encoder-pooled router with task/route/feature heads; SFT from eval profiles + usage ledger, GRPO on quality - lambda*cost - mu*latency; serves via hanzo-engine and plugs the hanzo-router Classifier and enso Featurizer seams. Apache-2.0.
14 lines
328 B
TOML
14 lines
328 B
TOML
[project]
|
|
name = "zen-router"
|
|
version = "0.1.0"
|
|
description = "Tiny trainable routing model: reads a prompt, picks the best model"
|
|
license = {text = "Apache-2.0"}
|
|
requires-python = ">=3.11"
|
|
dependencies = ["torch", "transformers", "pyyaml"]
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|