Instructions to use danitamayo/bert-cybersecurity-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danitamayo/bert-cybersecurity-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="danitamayo/bert-cybersecurity-NER")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("danitamayo/bert-cybersecurity-NER") model = AutoModelForTokenClassification.from_pretrained("danitamayo/bert-cybersecurity-NER", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.4eed046
-
Update README.md
9a7d130 -
Update README.md
46aa129
-
Update README.md
8c40f69
-
Update README.md
ec21ffc -
Update README.md
18506ac -
Update README.md
d79724b -
Update README.md
357dda7 -
Update README.md
3e7a155 -
Upload tokenizer
950c650 -
Upload DistilBertForTokenClassification
4d34437 -
Update README.md
e9206f7 -
Update README.md
794e7c4 -
Create README.md
a1ad03f -
Upload tokenizer
cd52aa9 -
Upload DistilBertForTokenClassification
bc65a00 -
Upload tokenizer
b58e9ca -
Upload DistilBertForTokenClassification
9d92d1f -
Upload tokenizer
37ae8e1 -
Upload DistilBertForTokenClassification
5cabc7a -
Upload tokenizer
729ce53 -
Upload DistilBertForTokenClassification
7a2f6b6 -
Upload tokenizer
4e4ce85 -
Upload DistilBertForTokenClassification
e58fd1e -
Upload DistilBertForTokenClassification
e814987 -
initial commit
970db7d