legal

Knowledge Graph Extraction for Cyber incidents

This model has been finetuned with SecureBERT (https://arxiv.org/abs/2204.02685) on the CASIE dataset (https://ieeexplore.ieee.org/document/9776031). We have implemented the approach described in the CASIE paper.

Model Description

The following description is taken from the CASIE paper:

Example

Graph

Usage

from transformers import AutoModelForTokenClassification
model = AutoModelForTokenClassification.from_pretrained("CyberPeace-Institute/Cybersecurity-Knowledge-Graph", trust_remote_code=True)

input_text = "This is a Cybersecurity-related text."

output = model(input_text)

IMPORTANT! : To get the Argument to Role coreferences, use the dedicated space! You can download the models under "arg_role_models/".