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
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,7 @@ language:
|
|
| 4 |
pipeline_tag: token-classification
|
| 5 |
tags:
|
| 6 |
- legal
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# Knowledge Graph Extraction for Cyber incidents
|
|
|
|
| 4 |
pipeline_tag: token-classification
|
| 5 |
tags:
|
| 6 |
- legal
|
| 7 |
+
license: mit
|
| 8 |
---
|
| 9 |
|
| 10 |
# Knowledge Graph Extraction for Cyber incidents
|