Repository navigation
v0.5.0
Added
jul benchcompares JuL with remote servers:--modelsalso takestypesafe(Jev),ollama[:model],
cloudflare:clef|clef-flashand any/v1/systemoneURL asURL#model(Kev, a hosted Laya…), each with the
user's own key (--remote-key-envfor a URL). Zero-shot only, network latency included, the report says the
rows were sent there; a missing key fails that target alone, before anything is sent.jul bench --escalate-to TARGETmeasures each local model as a cascade (itself, then the remote server for
the answers below--min-confidence, asjul serve --escalate-to): the accuracy of the pair and the share of
rows sent to the server, also on the verdict line when the cascade is picked. The server's failures are
counted on the row, and a server that failed on every escalated row (a rejected key) makes the rown/a.autotuneworks on decision models (fast,jul-decision-minicpm5-2b). The head is trained on the
vectors of the model's vector fallback (the preset'sroutingblock, fitted on the same weights). A
question with an active head is read through that fallback plus the head, and the others keep the pointer
head. The safety net compares the head with the pointer head for Choice and Noul, and with the vector
reading for a routed type such as Score.jul benchnow autotunes decision models too.- A decision model can route question types to its vector reading:
"routing": {"types": ["score"]}in its
decision.jsonsends those questions to the vectors fitted byjul models addon the same weights, at any
option count. For pointer heads that read Score worse than the vectors do.
Changed
- The alias
fastis nowjul-decision-minicpm5-2b, built in (it wasminicpm5-2b, read with vectors):
0.680 against 0.630 on the bench below, at the same speed. Its Score reading is shipped fitted per backend
(assets/presets/jul-decision-minicpm5-2b@{mlx,torch}.json).one_word_only=Trueleaves it as it is (it
already reads in one pass). On MLX, Choice questions above 20 options go to the vectors (4 to 8x faster, a few
points less accurate, see the preset's notes);route_above=0keeps the pointer head. jul-decision-wemm-4breads Score with the vectors. Its adapters (usejul/jul-decision-wemm-4b
1525e34) keep Noul and Choice; their Score reading was worse than the vector reading of the same weights.
On a bench of 300 typed questions written from scratch for it (sentiment, finance, support, agent routing,
moderation): 0.627 → 0.677 (Score 0.27 → 0.41). It is a change of the adapters'cross.json, so jul 0.4.0
gets it too.minicpm5-2b-decisionis nowusejul/jul-decision-minicpm5-2b
(and-mlx-4bit), the old names redirect. v2: trained on human-written typed decisions, Score routed to its
vector reading; 0.680 on that bench at 85 ms, against 0.637 for v1.1 (revision="v1.1").
Fixed
- A decision model's questions routed to its vector fallback were read at the pointer preset's temperature
(1.0) instead of the fallback's own tau, which flattened their probabilities to near uniform (same answer,
wrong confidence; a Score's expected level collapsed to the middle). - EmbeddingGemma read as an encoder. A model whose config sets
use_bidirectional_attention
(google/embeddinggemma-300m, a bidirectionalgemma3_text) is now read like the encoders: mean over the
text, its declaredqueryprompt, no prefix cache. It was read as a decoder (last token, cached prefix):
0.160 dev accuracy afterjul models add, 0.655 now (multilingual-e5-small: 0.585, same data). Torch backend.
Full Changelog: v0.4.0...v0.5.0