cd /news/large-language-models/jev-in-25-lines-of-python · home topics large-language-models article
[ARTICLE · art-136978] src=nobodywho.ai ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Jev in 25 lines of Python

NobodyWho published a parody blog post on September 22, 2026 showing a Jev-style decision model implemented in 25 lines of Python using the Qwen3-0.6B-GGUF model via llama-cpp-python, which classifies an email prompt into Legitimate, Spam, or Phishing with probabilities of 0.031, 0.084, and 0.885 respectively. Author Duarte O.Carmo argues the approach is fast, local, and avoids sending data to an API, and links to fuller open implementations OpenJev, openjev-sglang, and OpenJev on DiffusionGemma.

by read2 min views1 publishedSep 22, 2026
Jev in 25 lines of Python
Image: Nobodywho (auto-discovered)

Everyone and their mom is talking about Jev. Jev this, Jev that. Everyone on Twitter is all over Jev, how it's the next frontier of large language models and the AI paradigm. We don’t really think so. So here's Jev in 25 lines of Python.

Load the model.


import numpy
from llama_cpp import Llama


model = Llama.from_pretrained(
    repo_id="Qwen/Qwen3-0.6B-GGUF",
    filename="Qwen3-0.6B-Q8_0.gguf",
    n_ctx=512,
    logits_all=True,
    verbose=False,
)

Load the prompt and define your choices.

labels = ["A", "B", "C"]
choices = ["Legitimate", "Spam", "Phishing"]
email = "Payroll asks for your password on a non-company sign-in page."
options = "\n".join(
    f"{label}. {choice}" for label, choice in zip(labels, choices, strict=True)
)
prompt = f"""<|im_start|>system
Choose one option.<|im_end|>
<|im_start|>user
Email: {email}\n\n{options}<|im_end|>
<|im_start|>assistant
<think>\n\n</think>\n\n"""
model.eval(tokens=model.tokenize(text=prompt.encode(), add_bos=False, special=True))

Massage the logits into probabilities.

logits = model.scores[model.n_tokens - 1]
token_ids = [model.tokenize(text=label.encode(), add_bos=False)[0] for label in labels]
choice_logits = numpy.asarray([logits[token_id] for token_id in token_ids])
logprobs = choice_logits - numpy.logaddexp.reduce(choice_logits)
probabilities = numpy.exp(logprobs)

for name, scores in (
    ("Logits", choice_logits),
    ("Log probabilities", logprobs),
    ("Probabilities", probabilities),
):
    values = numpy.round(scores.astype(float), 3).tolist()
    print(f"{name}:", dict(zip(choices, values, strict=True)))

There. That’s Jev.

But no, you don’t understand Jev! #

Yeah, we know.

  • We don't call it a System One decision model.
  • We didn’t call an API.
  • We didn't create a bunch of synthetic data.
  • We didn't train a model with Reinforcement Learning for Calibrated Decisions (RLCD) to calibrate the decisions and probabilities (even though they are not always correct).

But yes. This is Jev. #

  • It classifies: it gets a prompt with choices and outputs probabilities.
  • It's fast.
  • It's local.
  • You don't send your data anywhere else.

And we like not sending your data anywhere else. Check out NobodyWho.

(note: this is a parody blog post, see these links for better/more complete open implementations of Jev: OpenJev, openjev-sglang, and OpenJev on DiffusionGemma.)

                    Everything NobodyWho do is open-source, please leave a
                    [star on Github](https://github.com/nobodywho-ooo/nobodywho)
                    to support us ❤️

Published Sep 22, 2026 by Duarte O.Carmo

── more in #large-language-models 4 stories · sorted by recency
── more on @nobodywho 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/jev-in-25-lines-of-p…] indexed:0 read:2min 2026-09-22 ·