Downloads · 30 days
0
gehad-alaa-abaas/RNN-IDS-MODEL
RNN-IDS-MODEL is a machine learning model from gehad-alaa-abaas. 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.
This repository provides two trained PyTorch LSTM models for network intrusion detection, trained on the CICIDS2017 dataset. These models are designed for use in research, benchmarking, or as a starting point for furt…
Downloads · 30 days
0
Access
Public
Updated Jun 21, 2025
Repo size
9.8 MB
Likes
0
Public
Click a slice to open those files.
.pth9.8 MB · 100%
From the Hugging Face model README
This repository provides two trained PyTorch LSTM models for network intrusion detection, trained on the CICIDS2017 dataset. These models are designed for use in research, benchmarking, or as a starting point for further development in network security and anomaly detection tasks.
lambda_with_valid.pth: LSTM model trained for binary classification (benign vs. attack) using cross-validation.mapping_with_valid.pth: LSTM model trained for multi-class attack categorization using cross-validation..pth files from this repository.import torch
from your_model_definition import IdsRnn # Use the same architecture as in training
model = IdsRnn(hidden_size=512, output_size=2) # or output_size=7 for multi-class
model.load_state_dict(torch.load('lambda_with_valid.pth'))
model.eval()
MIT License
If you use these models in your research or project, please cite or reference this repository.