Downloads · 30 days
7
30% of all-time downloads
cyberviser/hancock-pentest-v4
hancock-pentest-v4 is a machine learning model from cyberviser. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
CyberViser defensive cybersecurity assistant adapter. Fine-tuned locally on glasseye RTX 5070 (QLoRA) ? no cloud GPUs.
Downloads · 30 days
7
30% of all-time downloads
All-time downloads
23
Public
Repo size
83.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors83.9 MB · 96%
From the Hugging Face model README
CyberViser defensive cybersecurity assistant adapter. Fine-tuned locally on glasseye RTX 5070 (QLoRA) ? no cloud GPUs.
mistralai/Mistral-7B-Instruct-v0.3hancock-pentest-lora-v3 (detection/hunting pass)hancock_detect_v3 + hancock_pentest_v2 + gated cyberviser/hancock-balanced-dataset (~3917 samples)Authorized engagements only. Prefer detection, hunting, hardening, and reporting. Do not use for unauthorized access.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
base = "mistralai/Mistral-7B-Instruct-v0.3"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, torch_dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(model, "cyberviser/hancock-pentest-v4")
Developed by: cyberviser / GLASSEYE (CyberviserAI)