Tech article
Jev in 25 Lines of Python
No preview is available. Read the original article for the full story.
Hacker News | Sep 23, 2026 | bashbjorn
Automated excerpt
Everyone and their mom is talking about Jev. Load the prompt and define your choices. email = "Payroll asks for your password on a non-company sign-in page. " f"{label}. {choice}" for label, choice in zip(labels, choices, strict=True) 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]) But no, you don’t understand Jev! It classifies: it gets a prompt with choices and outputs probabilities.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.