AI product Open source

kev

kev is an open-source, local Jev-inspired decision model from Jared Palmer. It runs on a laptop and accepts a document or other state plus typed questions, returning calibrated probabilities rather than generated text. It supports yes/no (noul), multiple-choice, and ordered-score questions.

View repository Mentioned in 1 video ↓

Overview

The model uses a LoRA adapter and a readout head on a Qwen base model. It packs the state and all questions into one sequence, applies a block-causal mask so each question can see the state but not sibling questions, and performs one prefill pass without decoding. A pointer head scores each option against the question's decision token and applies softmax; the head is trained with cross-entropy on labelled outcomes. The local server exposes a TypeSafe System One-compatible API at POST /v1/systemone, allowing the official TypeSafe SDK to connect by changing its base URL. It also provides model information, option-order permutation, and separate-pass comparison endpoints, plus a local playground.

The repository includes 0.5B, 0.6B, 4B, and 8B model checkpoints and recipes for local or Modal-based training and evaluation. Serving is tested on Apple Silicon, with larger checkpoints requiring bf16 on a 32 GB Mac. The server has no authentication and is intended for local use. The project is licensed under Apache-2.0; base models and datasets have separate licenses.

What kev is used for

1 use taken from transcripts — each links to the moment in the video.

  • A local open-source stand-in for Typesafe's Jev that runs on a laptop, answers multiple document questions in parallel, and returns probabilities instead of generated text.

Videos mentioning kev

1 in the library.