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
Commit ·
95a0aae
1
Parent(s): 160c2b6
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ language:
|
|
| 4 |
library_name: transformers
|
| 5 |
pipeline_tag: token-classification
|
| 6 |
widget:
|
| 7 |
-
- text: "
|
| 8 |
- example_title: "example"
|
| 9 |
---
|
| 10 |
|
|
|
|
| 4 |
library_name: transformers
|
| 5 |
pipeline_tag: token-classification
|
| 6 |
widget:
|
| 7 |
+
- text: "Following the initial publication, numerous individuals who suspected that they were targeted with NSO’s Pegasus have contacted Citizen Lab, R3D, SocialTic and Article19."
|
| 8 |
- example_title: "example"
|
| 9 |
---
|
| 10 |
|