Beta
Explore
Marketplace
Neural Labs
Chat
Wallet
Docs
PhishMe-Qwen3-Base-8B-SFT – AI Model by piyawudk | AlphaNeural AI
You can deploy this model and start earning money today!
piyawudk
/
PhishMe-Qwen3-Base-8B-SFT
like
0
transformers
safetensors
qwen3
text-generation
text-generation-inference
unsloth
text-classification
en
piyawudk/spam-ham-reasoning-dataset-small
unsloth/Qwen3-8B-Base
finetune
apache-2.0
autotrain_compatible
endpoints_compatible
us
Views
No views yet
Model card
Files and Versions
Community
API
Deploy
Phishing Detection via Reasoning LLM
Why Phishing Matters?
Phishing attacks are becoming more widespread due to the rapid growth of the internet.
These attacks cause billions of dollars in losses every year.
Traditional research has relied on:
Statistical methods
Transformer models
While these methods achieve strong predictive accuracy, they lack clear justifications for their classifications.
Enter Large Language Models (LLMs)
LLMs show strong potential for textual analysis.
Especially promising are reasoning-based LLMs:
They can break down complex problems into step-by-step reasoning.
This study explores fine-tuning LLMs for phishing and scam detection using the Qwen3-8B model.
Research Focus
The author compares three main techniques for improving phishing detection:
Training Methods
Supervised Fine-Tuning (SFT): mimics expert-labelled data.
Guided Reinforcement Learning (GRPO): explores and adapts through self-improvement.
Model Starting Point
Fine-tuning a raw base model.
Fine-tuning an instruction-aware assistant (already aligned to follow directions).
Verification Layer
Adding a verifier to refine or correct the model’s first response.
Evaluation & Dataset
Models were tested against:
ML methods (like logistic regression)
BERT and ModernBERT
Other proprietary LLMs (like OpenAI and Gemini) and open-source LLMs (DeepSeek R1 and Qwen3)
A
new dataset
was created from a public scam-reporting forum to ensure recency and relevance.
Key Findings
SFT vs GRPO
SFT: Higher recall (catches more phishing attempts).
GRPO: Higher precision (reduces false positives).
Trade-off: sensitivity vs reliability.
Starting Point Matters
Beginning with an instruction-tuned model is critical for success.
Verifier Effects
A verifier doesn’t boost accuracy overall.
Instead, it acts as a “specialisation amplifier”, reinforcing each model’s natural strengths and weaknesses.
Takeaways
Fine-tuned open-source LLMs still trail behind simple ML models in raw performance.
However, they excel in providing transparent, context-based justifications for their classifications.
Proprietary LLMs outperform all tested models, showing that with the right methods, LLMs can:
Accurately detect fraudulent texts
Explain their reasoning
This opens a promising direction for future phishing detection research.
Results
(Read the paper for the full results and analysis.)
image/png
Usage
After converting to GGUF, you can use this model via Ollama. See
this collection
for Ollama makefile and run!
Note: this model was fine-tuned using the
Unsloth framework