Instructions to use ehsanaghaei/SecureBERT_Plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ehsanaghaei/SecureBERT_Plus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ehsanaghaei/SecureBERT_Plus")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ehsanaghaei/SecureBERT_Plus") model = AutoModelForMaskedLM.from_pretrained("ehsanaghaei/SecureBERT_Plus", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download vocab.json from ehsanaghaei/SecureBERT_Plus: direct link, hf CLI and curl.
- Browser
- Download file 815 kB
-
https://huggingface.co/ehsanaghaei/SecureBERT_Plus/resolve/refs%2Fpr%2F7/vocab.json
- Command line
-
hf download hf://ehsanaghaei/SecureBERT_Plus@refs/pr/7/vocab.json
-
curl -L -o vocab.json https://huggingface.co/ehsanaghaei/SecureBERT_Plus/resolve/refs%2Fpr%2F7/vocab.json
815 kB
File too large to display, you can check the raw version instead.