Yinsongxu/LLM2Jev

★ 82⑂ 8

Adapt local language models into Jev-compatible structured decision engines with Choice, Score, and Noul outputs powered by prefill-only binary inference.

About Yinsongxu/LLM2Jev

Yinsongxu/LLM2Jev is an open-source project on GitHub, mainly written in Python. Adapt local language models into Jev-compatible structured decision engines with Choice, Score, and Noul outputs powered by prefill-only binary inference. It currently holds 82 stars and 8 forks with 0 open issues, and was last pushed on 2026-09-20 (repository created 2026-09-19).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #92 with 0 new stars today.

GitHub Repository Details

Repository Yinsongxu/LLM2Jev · default branch main · size 999 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/Yinsongxu/LLM2Jev/blob/HEAD/LLM2Jev

LLM2Jev: Turn LLMs into Jev-Style Decision Models

简体中文

LLM2Jev adapts local language models to Jev-style structured decisions. It accepts runtime-defined Choice, Score, and Noul questions and returns typed answers with probabilities.

LLM2Jev is an independent open-source project. It is not affiliated with or endorsed by Jev or TypeSafe.

Quick Start

On Linux with a supported NVIDIA GPU, run a local model through SGLang:

git clone https://github.com/Yinsongxu/LLM2Jev.git
cd LLM2Jev
uv sync --extra sglang
source .venv/bin/activate
python examples/sglang_inference.py --model-path /path/to/model

The example submits Choice, Score, and Noul questions and prints the response as JSON. Replace /path/to/model with a local Hugging Face-compatible causal language model directory.

Key Features

Candidates share state, and candidates for the same question also share its instructions. LLM2Jev first scores a real criteria candidate to establish the prefix cache, then submits candidates that can reuse it. Each candidate is scored once, reducing repeated computation for long inputs with many candidates. Staged candidate scoring reuses state and question instructions through SGLang Radix Cache.

Learn how it works: From Jev Request to LLM RequestShared-prefix design.

Installation

See Installation for environment requirements, SGLang and Transformers dependencies, and uv or pip installation.

Getting Started

See the Usage guide for complete examples:

Benchmarks

See Performance benchmarks for the Qwen3-1.7B / RTX 5090 measurements, test conditions, and comparison of staged and all across cold and warm caches. Gains depend on input length, candidate count, and cache state.

Roadmap

Tests

python -m unittest discover -s tests -v

License

This project is licensed under the Apache License 2.0.

GitHub Stars & Activity

82Stars
8Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars82
Forks8
Open issues0
Primary languagePython
LicenseApache-2.0
Stars gained today0
Created2026-09-19
Last pushed2026-09-20

Trending History

Daily boardrank #92 · ▲ 0 stars

Related AI Projects

1

Significant-Gravitas / AutoGPT

Python★ 187,469⑂ 46,006▲ 27 stars
2

docling-project / docling

Python★ 67,466⑂ 4,869▲ 585 stars
3

openai / openai-python

Python★ 31,666⑂ 5,904▲ 6 stars
4

harvard-edge / cs249r_book

Python★ 28,390⑂ 3,591▲ 28 stars
5

browser-use / browser-harness

Python★ 17,893⑂ 1,750▲ 87 stars
6

FareedKhan-dev / train-llm-from-scratch

Python★ 10,474⑂ 1,450▲ 265 stars
7

zhouxiaoka / autoclip

Python★ 7,934⑂ 1,551▲ 395 stars
8

More AI Rankings