Downloads · 30 days
14
20% of all-time downloads
sainikhiljuluri2015/Apriel-1.5-15b-Thinker-CYBERSEC
Apriel-1.5-15b-Thinker-CYBERSEC is a machine learning model from sainikhiljuluri2015. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This is a PEFT adapter for ServiceNow-AI/Apriel-1.5-15b-Thinker fine-tuned for cybersecurity network traffic analysis.
Downloads · 30 days
14
20% of all-time downloads
All-time downloads
71
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This is a PEFT adapter for ServiceNow-AI/Apriel-1.5-15b-Thinker fine-tuned for cybersecurity network traffic analysis.
⚠️ IMPORTANT: This repository contains only the adapter weights, not the full model. You need to:
ServiceNow-AI/Apriel-1.5-15b-Thinkerfrom transformers import AutoModelForVision2Seq, AutoProcessor
from peft import PeftModel
import torch
# Load base model
base_model = AutoModelForVision2Seq.from_pretrained(
"ServiceNow-AI/Apriel-1.5-15b-Thinker",
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Load adapter
model = PeftModel.from_pretrained(
base_model,
"sainikhiljuluri2015/apriel-cybersec-text-only"
)
# Load processor
processor = AutoProcessor.from_pretrained(
"ServiceNow-AI/Apriel-1.5-15b-Thinker",
trust_remote_code=True
)
# Use the model
messages = [
{
"role": "system",
"content": "You are a cybersecurity expert."
},
{
"role": "user",
"content": "Analyze this network traffic for security threats."
}
]
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=text, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7
)
response = processor.decode(outputs[0], skip_special_tokens=True)
print(response)
from peft import PeftModel, AutoPeftModelForCausalLM
# Load and merge
model = AutoPeftModelForCausalLM.from_pretrained(
"sainikhiljuluri2015/apriel-cybersec-text-only",
trust_remote_code=True
)
# Merge adapters into base model
merged_model = model.merge_and_unload()
# Save merged model
merged_model.save_pretrained("./apriel-merged")
This repository contains:
adapter_config.json - Adapter configurationadapter_model.safetensors - Trained adapter weights (1.2GB)@misc{apriel-cybersec-2024,
author = {Juluri, Sainikhil},
title = {Apriel Cybersecurity Adapter},
year = {2024},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/sainikhiljuluri2015/apriel-cybersec-text-only}}
}
Trained: November 2025
Type: PEFT Adapter (LoRA/DoRA)
Status: Ready for deployment