April 2026

Classifier LLM - Fine-Tuned Phishing Detection Model

ML Research & Engineering - Subproject under Sweep Internship

Model: RoBERTa (Fine-tuned)

Categories

Machine Learning

Natural Language Processing (NLP)

Cybersecurity

A fine-tuned transformer-based classifier developed to distinguish phishing and legitimate email content, later integrated into the Sweep Mail threat-detection pipeline.

This model was integrated into Sweep Mail's threat detection pipeline. It worked alongside the other detection components to analyze incoming email and contribute to the final threat classification

RoBERTa Fine-Tuned Results & Evaluation Details

Accuracy99.78%

F1 Score0.9934

Training Set284k Emails

Test Set23k Emails

Epochs3

HardwareNvidia A100 80GB

Model Comparison

ModelAccuracyPrecisionRecallF1 (phishing)F1 (macro)Samples
LLaMA 3.1 8B0.77560.61300.97040.75140.773521,772
Mistral 7B0.62520.48240.99530.64980.623321,772
Qwen 2.5 7B0.88180.76050.96600.85100.876521,772
RoBERTa (Baseline)0.34940.34941.00000.51790.258921,772
RoBERTa (Fine-tuned)0.99540.99720.98960.99340.994921,772

Model Evaluation Pipeline

phishing pipeline
model comparison
error analysis

Interested in learning more about the process behind these results? Read the Technical Report for a detailed breakdown of this project

FULL STACK ENGINEER

Home Work Me Resume
Agent