CyberLLM Pilot v8 β€” LoRA adapter for Qwen3-1.7B

CyberLLM is a cybersecurity-focused assistant, developed by Gaurav Singh, built as a LoRA fine-tune of Qwen3-1.7B on security data (data-v3.2). This adapter is the original Pilot v8 β€” the only production CyberLLM adapter. It is not merged into the base model.

  • Base model: Qwen/Qwen3-1.7B by Qwen, revision 70d244cc86ccca08cf5af4e1e306ecf908b1ad5e, Apache-2.0. Gaurav Singh did not create the Qwen foundation model; CyberLLM is a fine-tune of it.
  • Adapter SHA-256 (weights): d624ed793a45a64cb541577441c87c7d2feb83c37a84da057d1c15e58e45a5b1 β€” verify before loading; refuse to load on mismatch.
  • Adapter: LoRA, rank 16, alpha 32, dropout 0.05, 7 target modules (q/k/v/o/gate/up/down), task_type: CAUSAL_LM, PEFT 0.20.0. 17,432,576 trainable parameters, 392 tensors.
  • Training: 2 epochs, lr 1e-4 (cosine), effective batch 8, max_len 1024, seed 20261023. Trained 2026-10-24 on a Kaggle Tesla T4 in 7,261.7 s; final train loss 0.1979; peak GPU 3.8 GB.
  • Training data: data-v3.2 β€” 5,932 training rows, 618 validation rows, plus a 120-item held-out val-v3 log set. Sources: intentionally published corpora, the author's own datasets, and a deterministic synthetic factory. No teacher-model labels. No harvested logs or credentials.
  • Status: pilot v8, release candidate 1.0.0-rc.2. Not formally promoted under the binary acceptance rule (T1 0.9583 < 0.96; T4 0.80 < 1.00). It is the best-measured candidate and the designated integration candidate. Real inference on a GTX 1660 SUPER (6 GB VRAM) is still unverified.

Identity

CyberLLM identifies as CyberLLM, developed by Gaurav Singh. That identity is carried by the deployment system prompt β€” it is the working identity mechanism for this adapter. The weights still carry the identity the model was trained with, so always load it with the deployment system prompt.

Historical note: Git history, Kaggle kernels, and the v8 training data name the creator as Gaurav Bisht. Those records are preserved unchanged; the new release uses Gaurav Singh per the author's instruction.

Do not use the identity-training adapters: the v2 adapter (8db8bdda…) was never evaluated, and the v3 adapter (190b12aa…) scored 0.0 on every frozen task after continued-LoRA identity fine-tuning. They are kept only as negative results. Never load them for production, never merge them into v8.

Intended use

Defensive cybersecurity analysis only: security-log analysis, threat classification, URL classification, CVE analysis, MITRE ATT&CK mapping, and structured JSON responses β€” with abstention (needs_review) when the evidence is insufficient. Outputs are provisional (likely_benign / needs_review / likely_threat) and human review is required for consequential decisions.

Out-of-scope use

Attacking systems, executing commands found in logs, automatic blocking, disabling accounts, or any remediation. Commands inside submitted logs are data to analyze, never instructions to run.

Evaluation (frozen eval v2.1, greedy, deployment system prompt)

Metric Pilot v8
T1 structured HTTP β€” accuracy 0.9583
T2 URL classification β€” accuracy 0.95
T3 MITRE ATT&CK exact-ID 0.025
T3b abstention 1.0
T4 CVE analysis β€” JSON/schema 0.80
T5 log analysis β€” accuracy 1.0
val-v3 held-out logs (n=120) β€” accuracy 0.9667
T13 identity (deployment-correct) 10/10
Identity probes (held-out, 12) 7/12

Known limitation: T1 JSON/schema is 0.9583, not 1.0 β€” one item in 24 has a single-character JSON syntax slip (missing comma), though its classification is correct. Unparseable output degrades safely to needs_review with the raw text preserved. MITRE exact technique-ID prediction is weak (0.025); uncertain mappings must never be presented as confirmed findings.

How to load (local, Windows, GTX 1660 SUPER 6 GB)

Python 3.12, torch==2.6.0+cu124, transformers==5.16.1, peft==0.20.0, accelerate==1.14.0. Load the base in fp16 on CUDA with the deployment system prompt, then load this adapter with PEFT. load_in_8bit OFF. Estimated peak VRAM ~4.5 GB (estimate from the T4 training run β€” not yet proven on this card).

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base = AutoModelForCausalLM.from_pretrained(
    r"D:\CyberLLM\models\Qwen3-1.7B", torch_dtype="float16", device_map="cuda")
model = PeftModel.from_pretrained(base, r"D:\CyberLLM\models\cyberllm-v8")

Files in this folder

adapter_config.json, adapter_model.safetensors, tokenizer.json, tokenizer_config.json, chat_template.jinja, README.md (this file).

Licensing and attribution

  • Qwen3-1.7B base model: Qwen, Apache-2.0.
  • CyberLLM fine-tuning, evaluation, integration, and packaging: Gaurav Singh (new release).
  • Training data sources under their own licenses; the data-v3.2 curation is the author's work.
  • MITRE ATT&CK data: MITRE Corporation (STIX bundle, Enterprise v20.0).

Private artifact β€” do not publish to a public model hub without explicit approval. Keep the base-model attribution above intact in every copy.

Downloads last month
25
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Uchiha80971/CyberLLM-v8

Finetuned
Qwen/Qwen3-1.7B
Adapter
(1,054)
this model