Instructions to use ehsanaghaei/SecureBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ehsanaghaei/SecureBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="ehsanaghaei/SecureBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ehsanaghaei/SecureBERT") model = AutoModelForMaskedLM.from_pretrained("ehsanaghaei/SecureBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download optimizer.pt from ehsanaghaei/SecureBERT: direct link, hf CLI and curl.
- Browser
- Download file 998 MB
-
https://huggingface.co/ehsanaghaei/SecureBERT/resolve/main/optimizer.pt
- Command line
-
hf download hf://ehsanaghaei/SecureBERT/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/ehsanaghaei/SecureBERT/resolve/main/optimizer.pt
998 MB
- Xet hash:
- 45d30c80a746165e4ed1741ff57bd676c8b56fd2e2cee0d72d2d9557c3c155a8
- Size of remote file:
- 998 MB
- SHA256:
- acfb24fca1b728c0275a3d3d3e74d4d3a05b2b3519b180216ed897d742deb44c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.