Downloads · 30 days
0
Nitesh208/secureiq-threat-classifier
secureiq-threat-classifier is a machine learning model from Nitesh208. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Fine-tuned Llama 3.2 3B for AI-powered security threat classification and incident analysis. Part of the SecureIQ open-source security intelligence platform.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
35.6 MB
Likes
0
Public
Click a slice to open those files.
.safetensors18.4 MB · 52%
From the Hugging Face model README
Fine-tuned Llama 3.2 3B for AI-powered security threat classification and incident analysis. Part of the SecureIQ open-source security intelligence platform.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Nitesh208/secureiq-threat-classifier"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = """<|begin_of_text|><|start_header_id|>system<|end_header_id|>
You are SecureIQ, an expert AI security analyst.<|eot_id|>
<|start_header_id|>user<|end_header_id|>
Classify this vulnerability: Remote code execution via buffer overflow<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=150)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Severity: CRITICAL CVSS Score: 9.8/10 Risk Score: 95/100 Recommendation: Immediate emergency patching required. Isolate affected systems.
This model powers the threat classification layer of SecureIQ:
| Layer | Technology |
|---|---|
| RAG Knowledge Base | LlamaIndex + ChromaDB |
| Investigation Agent | LangGraph + LangChain |
| Anomaly Detection | Isolation Forest (scikit-learn) |
| Threat Classifier | This model |
| Alert System | Telegram Bot API |
| Dashboard | React + FastAPI |