From 88d939f1fd9fdc725ec1ab20532a8fc145adebc2 Mon Sep 17 00:00:00 2001 From: Muhammad Irfan Date: Wed, 14 Oct 2026 12:48:26 +0500 Subject: [PATCH 01/11] jev-style: render-v2 decision layout (prompt + verdict slots) Port of Jev-Style-2B-Decision-v3's macjev-render-v2-long-options input and verdict-slot layout from the model's own jev_style_decision_gguf.py shared core: State/Question/Options render, short + overflow (catalogue+rubric) forms, the per-option " ->" slots, 2048-token attention blocks, and softmax(scores/T). Unit-tested against the reference render. Engine decode wired in a follow-up. Refs ollaya-dev/ollaya#76 --- crates/ollaya-decision/src/jev_style.rs | 451 ++++++++++++++++++++++++ crates/ollaya-decision/src/lib.rs | 1 + 2 files changed, 452 insertions(+) create mode 100644 crates/ollaya-decision/src/jev_style.rs diff --git a/crates/ollaya-decision/src/jev_style.rs b/crates/ollaya-decision/src/jev_style.rs new file mode 100644 index 00000000..045215b4 --- /dev/null +++ b/crates/ollaya-decision/src/jev_style.rs @@ -0,0 +1,451 @@ +//! `jev-style-v1`: chaoliangUNSW/Jev-Style-2B-Decision-v3 (Apache-2.0), the "render v2" input +//! (`macjev-render-v2-long-options`, layout `sb`) and its verdict readout. +//! +//! A port of the model's own self-contained runtime `jev_style_decision_gguf.py` (the "Shared core", +//! byte-identical across its torch / mlx / gguf runtimes), `release_config.json` -> `runtime_parity`. +//! Unlike `jevk5-v1` / `llm-logits-v1` this model is **not** a last-token label-logit readout: +//! +//! * no chat template, no system prompt, no answer letters; +//! * the input is plain text, token segments encoded separately so slot positions are exact: +//! +//! ```text +//! state prefix State:\n\n\n +//! short form Question []: \nOptions:\n +//! (q+opts+slots -