Downloads · 30 days
21
11% of all-time downloads
rudycaz/phi35-phish-mlx
phi35-phish-mlx is a text generation model from rudycaz. Use it when you need the model to write or continue text. It is set up for mlx.
This repository contains an Apple MLX-format phishing-focused model derived from Phi-3.5 Mini Instruct (4-bit). It is intended to help classify suspicious emails and support security review workflows.
Downloads · 30 days
21
11% of all-time downloads
All-time downloads
198
Public
Parameters
3.8B
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
How the weights are stored.
U323.8B · 100%
From the Hugging Face model README
This repository contains an Apple MLX-format phishing-focused model derived from Phi-3.5 Mini Instruct (4-bit). It is intended to help classify suspicious emails and support security review workflows.
This repo is meant to be used in one of these ways:
If you are unsure which you uploaded, check the repo file list:
mlx-community/Phi-3.5-mini-instruct-4bitThis model was fine-tuned for phishing detection using a Kaggle phishing email dataset:
If you trained Phi-3.5 on a different Kaggle dataset, replace the link above with the exact dataset URL you used so the citation is accurate.
Given an email, the intended output is a single label:
PHISHINGLEGITExample prompt format:
You are a security assistant. Classify the following email as PHISHING or LEGIT.
EMAIL:
<paste email here>
Answer with exactly one word: PHISHING or LEGIT.
pip install -U mlx-lm huggingface_hub
from mlx_lm import load, generate
# Option A: load this repo directly (if fused model is uploaded)
MODEL_ID = "rudycaz/phi35-phish-mlx"
model, tokenizer = load(MODEL_ID)
prompt = """You are a security assistant. Classify the following email as PHISHING or LEGIT.
EMAIL:
Subject: Verify your account
Body: Please click the link below to verify...
Answer with exactly one word: PHISHING or LEGIT.
"""
print(generate(model, tokenizer, prompt, max_tokens=8))