Instructions to use windowsartes/bert_with_nsp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use windowsartes/bert_with_nsp with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("windowsartes/bert_with_nsp") model = AutoModelForPreTraining.from_pretrained("windowsartes/bert_with_nsp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload BertForPreTraining
Verified signatureeb32034 -
initial commit
Verified signature702c351