Jev in 25 Lines of Python

656 points · 204 comments on HN · read original →

Points and comments are a snapshot, not live.

A parody post implements a rough approximation of the Jev classification model in 25 lines of Python using a small open-source GGUF model.

The post uses a 0.6B-parameter Qwen GGUF model to classify an email as Legitimate, Spam, or Phishing by extracting logits for the tokens "A", "B", and "C" and converting them to probabilities. It criticizes Jev's marketing as overblown, arguing the core approach is simple. The author notes their implementation is not calibrated using reinforcement learning and lacks synthetic data training. Links to more complete open implementations (OpenJev, openjev-sglang, OpenJev on DiffusionGemma) are provided. The post is explicitly a parody.

What commenters are saying

Commenters debate whether the parody reduces Jev's genuine value. Several note the implementation lacks calibrated probabilities, structured output handling, and proper benchmarks. One commenter points out that using raw logprobs on a chat model is unreliable because the model may prefer writing prose over a single token, recommending constrained generation or fine-tuning. A comment cites TypeSafe AI's terms of service, arguing they may restrict competitive benchmarking. Another camp defends the post, noting that running locally is a real advantage and that Jev itself may be built on similar foundations.