Downloads · 30 days
11
16% of all-time downloads
kristiangnordby/natSecLabse
natSecLabse is a machine learning model from kristiangnordby. 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.
Binary classification model for cybersecurity threat detection. The model uses a deep neural network to classify text embeddings as cyber-related or non-cyber content.
Downloads · 30 days
11
16% of all-time downloads
All-time downloads
67
Public
Repo size
27.1 MB
Likes
0
Public
Click a slice to open those files.
.pt6.8 MB · 100%
From the Hugging Face model README
Binary classification model for cybersecurity threat detection. The model uses a deep neural network to classify text embeddings as cyber-related or non-cyber content.
import torch
from huggingface_hub import hf_hub_download
# Download model
model_path = hf_hub_download(
repo_id="kristiangnordby/natSecLabse",
filename="model.pt"
)
# Load model
checkpoint = torch.load(model_path, map_location='cpu')
# For inference, you'll need the model class definition
# See model_architecture.py in this repo
This model is designed for:
If you use this model, please cite:
@misc{cybersecurity_classifier,
author = {Kristian Nordby},
title = {Cybersecurity Binary Classifier},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/kristiangnordby/natSecLabse}}
}