Instructions to use CyberPeace-Institute/SecureBERT-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CyberPeace-Institute/SecureBERT-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="CyberPeace-Institute/SecureBERT-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("CyberPeace-Institute/SecureBERT-NER") model = AutoModelForTokenClassification.from_pretrained("CyberPeace-Institute/SecureBERT-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download Labels.png from CyberPeace-Institute/SecureBERT-NER: direct link, hf CLI and curl.
- Browser
- Download file 203 kB
-
https://huggingface.co/CyberPeace-Institute/SecureBERT-NER/resolve/main/Labels.png
- Command line
-
hf download hf://CyberPeace-Institute/SecureBERT-NER/Labels.png
-
curl -L -o Labels.png https://huggingface.co/CyberPeace-Institute/SecureBERT-NER/resolve/main/Labels.png
203 kB
