Jev in 25 lines of Python

A 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data.

6 cards · 50s · tap to begin

From · · · 50s

Jev in 25 lines of Python

A 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data.

In brief

A 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data. Jev uses local Python code to classify emails with probabilities without external data sharing. Originally reported by NobodyWho.

Jev's Python code

My name is Jev

Jev is a 25-line Python model that classifies emails as legitimate, spam, or phishing without sending data.

Load the model

Jev loads a Qwen3-0.6B-GGUF model from Hugging Face using llama-cpp-python.

Define choices

Jev uses labels and choices to prompt email classification with legitimate, spam, or phishing options.

Process email

Jev evaluates the email prompt to output probabilities for legitimate, spam, or phishing emails.

Output probabilities

Jev shows probabilities: legitimate 0.031, spam 0.084, phishing 0.885.

What Jev is

Jev is a local, fast model that classifies emails without sending data to external servers.

What matters most

Jev uses local Python code to classify emails with probabilities without external data sharing.

Read the original on NobodyWho

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on jev and related topics.