Inkling-2-Mini-Cyber
LoRA for Cybersecurity Tasks
2 min readupdated
A new research add-on (LoRA — a small additional adjustment for a base model) optimizes the language model for information security tasks. It helps specialists interpret system logs, analyze access control rules, and break down fresh security bulletins. The model is built on the Thinking Machines Inkling-2-Mini architecture and requires downloading it beforehand. The adapter targets researchers and security engineers who need an assistant for routine incident analysis.
Key features
- Specialization in cybersecurity tasks and log analysis
- Improved metrics on historical regression benchmarks
- Trained via supervised fine-tuning using 1,000 examples
- Compatible with the PEFT library and standard autoloading mechanisms
What you can do
- Apply the model for primary analysis of suspicious system logs
- Use it when breaking down reports on new vulnerabilities and advisories
- Check access rules and security configurations in automated pipelines
Example
Code example for loading the base model and activating the LoRA adapter using the PEFT library:
import torch
from peft import PeftModel
from transformers import AutoModelForMultimodalLM, AutoProcessor
base_id = "thinkingmachines/Inkling-2-Mini"
revision = "7a67ae2314b44ef05c87fd1d4d311c58aaeb18f6"
processor = AutoProcessor.from_pretrained(base_id, revision=revision)
base = AutoModelForMultimodalLM.from_pretrained(
base_id, revision=revision, dtype=torch.bfloat16, device_map={"": "cuda:0"}
)
model = PeftModel.from_pretrained(base, "InfronAI/Inkling-2-Mini-Cyber").eval()Read more
DetailsHistorical questions (benchmark): passed 480/600 versus 274/600 for the base
Uncorrected answers: 8/600 (worse than 2/600 for the base model)
Requirements: a single GPU with BF16 support and sufficient VRAM capacity
Training parameters: rank 8, alpha 32 on attention projections










Comments