Downloads · 30 days
237
0% of all-time downloads
PranavaKailash/CyNER-2.0-DeBERTa-v3-base
CyNER-2.0-DeBERTa-v3-base is a token classification model from PranavaKailash. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
CyNER 2.0 is a Named Entity Recognition (NER) model designed explicitly for the cybersecurity domain. It is built upon the DeBERTa transformer model and fine-tuned to recognize cybersecurity-related entities, includin…
Downloads · 30 days
237
0% of all-time downloads
All-time downloads
54.1K
Public
Parameters
184M
738 MB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors735 MB · 99%
From the Hugging Face model README
CyNER 2.0 is a Named Entity Recognition (NER) model designed explicitly for the cybersecurity domain. It is built upon the DeBERTa transformer model and fine-tuned to recognize cybersecurity-related entities, including indicators, malware, organizations, systems, and vulnerabilities.
The DeBERTa-based CyNER 2.0 model has been fine-tuned using a combination of datasets, including the original CyNER dataset and an augmented dataset with more recent threat patterns and additional entity tags. The fine-tuning process involved training the model on sequence data, which resulted in improved precision, recall, and F1-score compared to other baseline models.
The CyNER 2.0 model is designed to assist cybersecurity analysts in automatically extracting relevant entities from unstructured or structured cybersecurity reports. It can be integrated into tools and applications for threat intelligence, automated report generation, and more.
The CyNER 2.0 model is trained to recognize the following entities in cybersecurity-related texts:
These entities allow the model to provide comprehensive and precise information for cybersecurity analysts.
To use the CyNER 2.0 model, first install the transformers library from Hugging Face:
pip install transformers
from transformers import AutoModelForTokenClassification, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("PranavaKailash/CyNER-2.0-DeBERTa-v3-base")
model = AutoModelForTokenClassification.from_pretrained("PranavaKailash/CyNER-2.0-DeBERTa-v3-base")
from transformers import pipeline
ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
text = "A recent attack by WannaCry ransomware caused significant damage to Windows systems."
entities = ner_pipeline(text)
print(entities)
[
{"entity": "B-Malware", "score": 0.99, "index": 5, "word": "WannaCry", "start": 19, "end": 28},
{"entity": "B-System", "score": 0.98, "index": 10, "word": "Windows", "start": 54, "end": 61}
]
The model was trained on two datasets:
If you use this model in your research, please cite the following paper:
@misc{yet_to_update,
title={CyNER 2.0: A Name Entity Recognition Model for Cyber Security},
author={Pranava Kailash},
year={2024},
url={Yet to update}
}
This project is licensed under the MIT License