Social Engineering Specialist — Gemma 4 E4B (GGUF)
smd20/socialengineering is a domain-specialized conversational model for social engineering,
phishing awareness, and red-team education, fine-tuned from Google Gemma 4 E4B
using Unsloth and exported as BF16 GGUF
for efficient local deployment with llama.cpp, Ollama, LM Studio, and related runtimes.
The model was trained on a large bilingual Q&A corpus derived from authoritative
social-engineering reference books, covering definitions, attack techniques
(phishing, vishing, pretexting, baiting, tailgating), case studies, and defensive
strategies.
Phishing and social-engineering education for analysts and end users
Red-team / blue-team training scenarios in controlled environments
Local, privacy-preserving Q&A over social-engineering concepts
Out-of-scope / misuse
This model is not a substitute for legal, operational, or incident-response
authority. It must not be used to conduct unauthorized attacks, harvest credentials,
or deceive individuals outside approved training and research contexts.
Training Procedure
Fine-tuning was performed in Unsloth Studio on top of gemma-4-E4B, using a
bilingual social-engineering Q&A corpus built from structured knowledge articles
extracted from eight reference books.
Training hyperparameters
Setting
Value
Epochs
30
Learning rate
2.0e-4
Context length
2,048
LoRA rank
16
LoRA dropout
0.16
LoRA target modules
All enabled (Enable LoRA)
Optimizer
AdamW 8-bit
LR scheduler
Linear
Weight decay
0.001
Export configuration
Setting
Value
Training run
gemma-4-E4B
Export method
GGUF (quantized export path)
Published precision
BF16
Main artifact
unsloth-gemma-4-E4B-it.BF16.gguf
The published checkpoint preserves the merged fine-tuned weights in GGUF form for
deployment with llama.cpp-compatible runtimes.
Training Data
The model was trained on conversational Q&A pairs grounded in curated social-engineering
knowledge. The underlying datasets are publicly released on Hugging Face:
1from llama_cpp import Llama
23llm = Llama.from_pretrained(4 repo_id="smd20/socialengineering",5 filename="unsloth-gemma-4-E4B-it.BF16-mmproj.gguf",6)78response = llm.create_chat_completion(9 messages=[10{11"role":"user",12"content":"What is pretexting in social engineering, and how does it differ from impersonation?",13}14],15)16print(response["choices"][0]["message"]["content"])
Ollama
ollama run hf.co/smd20/socialengineering:BF16
Authorship, Ownership, and Legal Notice
Legal owner and maintainer:Samad Sohrab — PhD Student in Artificial Intelligence.
This model checkpoint, its associated training configuration, and the derived Q&A
datasets released under the smd20 Hugging Face namespace are authored and
maintained by Samad Sohrab. All rights in the model card, training pipeline
documentation, and derived dataset annotations are reserved by the author unless
otherwise stated in the repository license.
Source-book copyrights remain with their respective publishers. This repository
distributes fine-tuned model weights and derived instructional annotations only.
Acknowledgments
This work was conducted under the research supervision of Dr. Amir Nezami Safa,
who served as academic advisor throughout dataset construction, model fine-tuning,
and publication. His guidance on methodology, reproducibility, and scientific rigor
was instrumental to this release.
Training infrastructure used Unsloth for
efficient Gemma 4 fine-tuning and GGUF export.
Citation
If you use this model or the associated datasets in academic work, please cite:
bibtex
1@misc{sohrab2026socialengineering,
2 author = {Sohrab, Samad and Nazami Saffa, Amir},
3 title = {Social Engineering Specialist: Fine-Tuned Gemma 4 E4B (GGUF)},
4 year = {2026},
5 publisher = {Hugging Face},
6 howpublished = {\url{https://huggingface.co/smd20/socialengineering}},
7 note = {PhD research release. Advisor: Dr. Amir Nazami Saffa}
8}