Qwen/Qwen2.5 with PEFT LoRA adapter merged into full precision safetensors.Kicaulah/bugbounty-reports-syntheticKicaulah/bugbounty-report-helperimport torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "Kicaulah/bugbounty-triage-assistant-3b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float32,
device_map="auto"
)
prompt = """Task: Convert researcher notes to report
Notes:
target host: api.portal.example.com
route tested: /api/v1/invoices/9921
vuln type: Broken Object Level Authorization (IDOR)
requires standard user session
"""
messages = [
{"role": "system", "content": "You are a professional web bug bounty triage and report assistant."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.2, do_sample=False)
response = tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)
print(response)
Kicaulah/bugbounty-reports-synthetic (multi-task instruction mix from 6 target triage configs).q_proj, k_proj, v_proj, o_proj.r=16, lora_alpha=32, dropout=0.05.2e-4 with warmup and AdamW optimizer.Evaluated against the untuned base foundation model on held-out test split (isolated by scenario_id hash):
| Benchmark Metric | Untuned Base Model | BugBounty-Triage-Assistant | Improvement |
|---|---|---|---|
| ROUGE-1 (Report Quality) | 0.135 | 0.185 | +0.050 |
| ROUGE-2 (Phrasal Match) | 0.029 | 0.049 | +0.020 |
| ROUGE-L (Structure Match) | 0.106 | 0.117 | +0.011 |
| ROUGE-L (EN subset) | 0.113 | 0.117 | +0.004 |
| ROUGE-L (ID subset) | 0.050 | 0.033 | -0.017 |
cvss library) should always be used.*.example.com, RFC 5737 IPs) to ensure zero real-world operational exposure.@misc{kicaulah2026bugbountytriage,
author = {Kicaulah},
title = {BugBounty-Triage-Assistant-3B: Parameter-Efficient Web Vulnerability Report and Triage Model},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Kicaulah/bugbounty-triage-assistant-3b}}
}
Qwen/Qwen2.5-0.5B-Instruct