Views
No views yet
mlx-community/Phi-3.5-mini-instruct-4bitIf 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.
PHISHINGLEGIT1You are a security assistant. Classify the following email as PHISHING or LEGIT.
2
3EMAIL:
4<paste email here>
5
6Answer with exactly one word: PHISHING or LEGIT.
7
8
9pip install -U mlx-lm huggingface_hub
10
11from mlx_lm import load, generate
12
13# Option A: load this repo directly (if fused model is uploaded)
14MODEL_ID = "rudycaz/phi35-phish-mlx"
15
16model, tokenizer = load(MODEL_ID)
17
18prompt = """You are a security assistant. Classify the following email as PHISHING or LEGIT.
19
20EMAIL:
21Subject: Verify your account
22Body: Please click the link below to verify...
23
24Answer with exactly one word: PHISHING or LEGIT.
25"""
26
27print(generate(model, tokenizer, prompt, max_tokens=8))