PCF_ID: A Novel Prompt Cast Framework for Intrusion Detection

Hugging Face Model Python 3.8+ License

📌 Model Overview

PCF_ID-0.5B is a fine-tuned version of Qwen2.5-0.5B, adapted for network intrusion detection using the Prompt Cast Framework (PCF-ID). By transforming structured tabular records into semantically rich Question–Reasoning–Answer (Q-R-A) prompts, PCF_ID enables large language models to effectively reason over cybersecurity data.

PCF_ID-0.5B significantly outperforms:

  • Raw LLMs (e.g., vanilla Qwen2.5-0.5B),
  • Traditional machine learning models (e.g., Random Forest, SVM),
  • Advanced graph neural networks (GNNs).

💻 Code & Reproduction

The full framework, preprocessing pipeline, and evaluation scripts are available at:
🔗 https://github.com/Zaneph1/PCF_ID

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

Model tree for PHZane/PCF_ID-0.5B

Base model

Qwen/Qwen2.5-0.5B
Finetuned
(516)
this model

Dataset used to train PHZane/PCF_ID-0.5B