Instructions to use CyberPeace-Institute/Cybersecurity-Knowledge-Graph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CyberPeace-Institute/Cybersecurity-Knowledge-Graph with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="CyberPeace-Institute/Cybersecurity-Knowledge-Graph", trust_remote_code=True)# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("CyberPeace-Institute/Cybersecurity-Knowledge-Graph", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e60a761
1
Parent(s): d63bc19
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,4 +8,18 @@ tags:
|
|
| 8 |
|
| 9 |
# Knowledge Graph Extraction for Cyber incidents
|
| 10 |
This model has been finetuned with SecureBERT (https://arxiv.org/abs/2204.02685)
|
| 11 |
-
on the CASIE dataset (https://ieeexplore.ieee.org/document/9776031). We have implemented the approach described in the CASIE paper.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Knowledge Graph Extraction for Cyber incidents
|
| 10 |
This model has been finetuned with SecureBERT (https://arxiv.org/abs/2204.02685)
|
| 11 |
+
on the CASIE dataset (https://ieeexplore.ieee.org/document/9776031). We have implemented the approach described in the CASIE paper.
|
| 12 |
+
|
| 13 |
+
# Model Description
|
| 14 |
+
The following description is taken from the CASIE paper:
|
| 15 |
+
|
| 16 |
+
- An **event nugget** is a word or phrase that most clearly expresses the event occurrence. These differ from event triggers in that they can be multi-word phrases.
|
| 17 |
+
|
| 18 |
+
- An **event argument** is an event participant or property value. They can be taggable entities involved in the event, such as person or organization, or attributes that specify important information, such as time or amount.
|
| 19 |
+
|
| 20 |
+
- A **role** is a semantic relation between an event nugget and an argument. Each event type specifies the roles it can have and constraints on the arguments that can fill them.
|
| 21 |
+
|
| 22 |
+
- A **realis** value specifies whether or not an event occurred and can be one of the three values: Actual (event actually happened), Other (failed event, future event), or Generic (an undetermined/non-specific event, such as referring to the concept of phishing attacks).
|
| 23 |
+
|
| 24 |
+
# Example
|
| 25 |
+

|