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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitattributes from CyberPeace-Institute/Cybersecurity-Knowledge-Graph: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/CyberPeace-Institute/Cybersecurity-Knowledge-Graph/resolve/main/.gitattributes
- Command line
-
hf download hf://CyberPeace-Institute/Cybersecurity-Knowledge-Graph/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/CyberPeace-Institute/Cybersecurity-Knowledge-Graph/resolve/main/.gitattributes
448 Bytes
| pytorch_model.bin filter=lfs diff=lfs merge=lfs -text | |
| argument_model_state_dict.pth filter=lfs diff=lfs merge=lfs -text | |
| model_59.pt filter=lfs diff=lfs merge=lfs -text | |
| model_64_pos_ner.pt filter=lfs diff=lfs merge=lfs -text | |
| model_66.pt filter=lfs diff=lfs merge=lfs -text | |
| model_97.pt filter=lfs diff=lfs merge=lfs -text | |
| nugget_model_state_dict.pth filter=lfs diff=lfs merge=lfs -text | |
| realis_model_state_dict.pth filter=lfs diff=lfs merge=lfs -text | |