Instructions to use Nitesh208/secureiq-threat-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use Nitesh208/secureiq-threat-classifier with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Nitesh208/secureiq-threat-classifier to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Nitesh208/secureiq-threat-classifier to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Nitesh208/secureiq-threat-classifier to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Nitesh208/secureiq-threat-classifier", max_seq_length=2048, )
๐ก๏ธ SecureIQ Threat Classifier
Fine-tuned Llama 3.2 3B for AI-powered security threat classification and incident analysis. Part of the SecureIQ open-source security intelligence platform.
Model Details
- Developed by: Nitesh Kumawat
- Base model: Llama 3.2 3B Instruct
- Fine-tuning method: LoRA via Unsloth
- Language: English
- License: MIT
- Training hardware: Google Colab T4 GPU (free tier)
Training Data
- NVD CVE Database โ 200+ real vulnerability records from nvd.nist.gov
- Security incident Q&A pairs โ threat classification and response scenarios
- CVSS severity scoring examples โ CRITICAL / HIGH / MEDIUM / LOW
How to Use
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))
Example Output
Severity: CRITICAL CVSS Score: 9.8/10 Risk Score: 95/100 Recommendation: Immediate emergency patching required. Isolate affected systems.
SecureIQ Platform
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 |
Links
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for Nitesh208/secureiq-threat-classifier
Base model
meta-llama/Llama-3.2-3B-Instruct Finetuned
unsloth/Llama-3.2-3B-Instruct