Downloads · 30 days
125
18% of all-time downloads
elsiddik/finsec_detector
finsec_detector is a text generation model from elsiddik. Use it when you need the model to write or continue text. It is set up for unsloth. The card lists the license as apache-2.0.
FineSec-Detector is a 7B parameter specialized cybersecurity Large Language Model fine-tuned on high-precision CVE vulnerability reports, real-world exploit benchmarks, and secure code repair patterns using Unsloth 4-…
Downloads · 30 days
125
18% of all-time downloads
All-time downloads
706
Public
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
FineSec-Detector is a 7B parameter specialized cybersecurity Large Language Model fine-tuned on high-precision CVE vulnerability reports, real-world exploit benchmarks, and secure code repair patterns using Unsloth 4-bit QLoRA.
The model acts as an automated Senior Application Security (AppSec) Auditor. It audits source code across 9 programming languages, identifies vulnerabilities, classifies severity and CWE IDs, and produces ready-to-merge secure code patches in structured JSON.
Evaluating FineSec-Detector on multi-language vulnerability benchmarks (SQL Injection, RCE, XSS, Path Traversal, Insecure Deserialization, Buffer Overflows) yielded the following performance metrics:
| Metric | Score | Rating | Analysis |
|---|---|---|---|
| Precision Rate | 100.0% | Perfect | Zero false positives. Safe code is never misflagged. |
| Detection Recall | 83.3% | High | High-confidence detection across Python, C, JS, and Go. |
| F1 Rating Score | 90.9% | Outstanding | Superior overall vulnerability detection balance. |
from unsloth import FastLanguageModel
# Load model and tokenizer from Hugging Face Hub
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "elsiddik/finsec_detector",
max_seq_length = 1024,
load_in_4bit = True,
)
FastLanguageModel.for_inference(model)
| Attribute | Details |
|---|---|
| Base Architecture | Qwen2.5-Coder-7B-Instruct |
| Fine-Tuning Method | QLoRA 4-bit (Unsloth) |
| Context Window | 1024 tokens |
| License | Apache-2.0 |