Skip to content

v0.5.0

Choose a tag to compare

@bdauzats bdauzats released this 06 Oct 07:36
· 47 commits to main since this release

Added

  • jul bench compares JuL with remote servers: --models also takes typesafe (Jev), ollama[:model],
    cloudflare:clef|clef-flash and any /v1/systemone URL as URL#model (Kev, a hosted Laya…), each with the
    user's own key (--remote-key-env for 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 TARGET measures each local model as a cascade (itself, then the remote server for
    the answers below --min-confidence, as jul 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 row n/a.
  • autotune works on decision models (fast, jul-decision-minicpm5-2b). The head is trained on the
    vectors of the model's vector fallback (the preset's routing block, 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 bench now autotunes decision models too.
  • A decision model can route question types to its vector reading: "routing": {"types": ["score"]} in its
    decision.json sends those questions to the vectors fitted by jul models add on the same weights, at any
    option count. For pointer heads that read Score worse than the vectors do.

Changed

  • The alias fast is now jul-decision-minicpm5-2b, built in (it was minicpm5-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=True leaves 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=0 keeps the pointer head.
  • jul-decision-wemm-4b reads 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-decision is now usejul/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 bidirectional gemma3_text) is now read like the encoders: mean over the
    text, its declared query prompt, no prefix cache. It was read as a decoder (last token, cached prefix):
    0.160 dev accuracy after jul models add, 0.655 now (multilingual-e5-small: 0.585, same data). Torch backend.

Full Changelog: v0.4.0...v0.5.0