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")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("ehsanaghaei/SecureBERT") model = AutoModelForMaskedLM.from_pretrained("ehsanaghaei/SecureBERT") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
80644a7
1
Parent(s): d6b2804
Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ last_hidden_states = outputs.last_hidden_state
|
|
| 36 |
|
| 37 |
Or just clone the repo:
|
| 38 |
|
| 39 |
-
```
|
| 40 |
git lfs install
|
| 41 |
git clone https://huggingface.co/ehsanaghaei/SecureBERT
|
| 42 |
# if you want to clone without large files – just their pointers
|
|
|
|
| 36 |
|
| 37 |
Or just clone the repo:
|
| 38 |
|
| 39 |
+
```
|
| 40 |
git lfs install
|
| 41 |
git clone https://huggingface.co/ehsanaghaei/SecureBERT
|
| 42 |
# if you want to clone without large files – just their pointers
|