Skip to content

v0.3.0

Choose a tag to compare

@bdauzats bdauzats released this 04 Oct 23:31
· 112 commits to main since this release

Added

  • Cross models: a second reading that takes the question and the text together, for the questions an
    embedding model answers near chance (paraphrase, inference, compositions, dates, "is it late?"). A preset
    gets one with jul models add --cross, or by itself from a repo that carries a cross/ folder; its
    cross.json declares the types it reads (Noul and Score), the vectors read everything else.
    method="vector" or method="cross" forces one reading for a call.
  • LoRA cross models: the cross reading as adapters on the preset's own model instead of a second
    encoder ("method": "lora" in cross.json), switched on only while a Noul or a Score is read, so one model
    sits in memory and the vector reading is unchanged. MLX and PyTorch.
    usejul/jul-decision-wemm-4b-4bit-mlx:
    yes/no 0.841 on Kev's typed decisions, against 0.762 for the vectors of the default model.
  • jul pack ships only the models a bundle's questions read with (vectors, cross, or both);
    JUL_ONNX_CROSS_MODEL points the cross graph at S3 as JUL_ONNX_MODEL does the vector one.
  • Encoders read their input prefixes from the model's config_sentence_transformers.json, else from
    assets/text_prefixes.json ($JUL_HOME/text_prefixes.json extends it).
  • Models: usejul/jul-decision-e5-small and its ONNX
    8-bit build, e5-small trained on jul decisions, with a cross model; a step-by-step AWS Lambda guide.

Changed

  • autotune: a head for a Noul or a Score must beat the cross model on the labeled examples to take the
    question; otherwise the question stays with the cross model.
  • PyTorch: texts behind a cached prefix that cannot be repeated over a batch (the recurrent state of
    Qwen3.5 and WeMM-Embedding) are read in one batch, the prefix run again with each: about 150 texts/s
    instead of 12 for WeMM-Embedding-4B on an A10G. MLX keeps one at a time.

Fixed

  • jul models add <built-in preset> --cross ... saved the preset as <name>@None.json.

Full Changelog: v0.2.0...v0.3.0