Instructions to use SAP/BERT-Large-Contrastive-Self-Supervised-ACL2020 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SAP/BERT-Large-Contrastive-Self-Supervised-ACL2020 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="SAP/BERT-Large-Contrastive-Self-Supervised-ACL2020")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("SAP/BERT-Large-Contrastive-Self-Supervised-ACL2020") model = AutoModelForMaskedLM.from_pretrained("SAP/BERT-Large-Contrastive-Self-Supervised-ACL2020", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (871523e8371ad2960037d493b0e8a153067ba102) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8155eaf
-
upload flax model
68db970 -
allow flax
56e7850
-
Update config.json
cce35a8 -
Update tokenizer_config.json
52a9f12 -
Update vocab.txt
26249f4 -
Update added_tokens.json
56c298d -
Update pytorch_model.bin
390e3d7 -
Update special_tokens_map.json
1e6a73b -
initial commit
b38d27e