How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="reaperdoesntknow/Qwen3.5-2B-CyberSec")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("reaperdoesntknow/Qwen3.5-2B-CyberSec")
model = AutoModelForMultimodalLM.from_pretrained("reaperdoesntknow/Qwen3.5-2B-CyberSec", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Qwen3.5-2B-CyberSec

An English Qwen3.5 2B checkpoint associated with the Trendyol Cybersecurity Instruction Tuning Dataset and exported in Transformers / Safetensors format.

This release is intended for research and local experimentation. The repository does not currently publish benchmark or safety-evaluation results, so the model should not be treated as a validated cybersecurity authority.

Lineage

Load with Transformers

The configuration identifies a Qwen3.5 conditional-generation architecture with text and vision components. Use a recent Transformers release that supports this architecture.

from transformers import AutoModelForMultimodalLM, AutoProcessor

model_id = "reaperdoesntknow/Qwen3.5-2B-CyberSec"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
    model_id,
    device_map="auto",
)

messages = [
    {"role": "user", "content": [{"type": "text", "text": "Explain least privilege."}]}
]
inputs = processor.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
answer = outputs[0][inputs["input_ids"].shape[-1]:]
print(processor.decode(answer, skip_special_tokens=True))

Dependency and device behavior can vary across Transformers versions. Pin a tested environment for reproducible use.

Intended use

  • Research on small-model responses to cybersecurity instruction prompts.
  • Local prototyping and qualitative evaluation.
  • Comparison with the upstream Qwen3.5 2B checkpoint.
  • Conversion and quantization experiments.

Evaluation status

No versioned benchmark report, baseline comparison, held-out test result, or safety evaluation is published in the repository reviewed for this card. Dataset association and a successful model export do not establish improved cybersecurity performance.

Useful next evidence would include:

  • Results against the unchanged upstream base model.
  • Held-out cybersecurity QA and scenario tests.
  • General-capability regression checks.
  • Hallucination, harmful-output, and misuse evaluations.
  • A reproducible evaluation harness and exact revision hashes.

Limitations and safety

  • The model can generate incorrect or unsafe technical guidance.
  • Training data may contain errors, outdated practices, or sensitive dual-use material.
  • The public card does not document dataset preprocessing, contamination checks, training hyperparameters, or checkpoint-selection criteria.
  • Do not execute generated commands without review and isolation.
  • Do not use the model as the sole basis for incident response, vulnerability disclosure, access-control, or other consequential security decisions.

GGUF build

For local GGUF variants, see reaperdoesntknow/Qwen3.5-2B-CyberSec-GGUF.

Part of the CIx cybersecurity model collection.

Downloads last month
60
Safetensors
Model size
2B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for reaperdoesntknow/Qwen3.5-2B-CyberSec

Finetuned
Qwen/Qwen3.5-2B
Finetuned
(167)
this model
Quantizations
2 models

Dataset used to train reaperdoesntknow/Qwen3.5-2B-CyberSec

Collection including reaperdoesntknow/Qwen3.5-2B-CyberSec