Instructions to use Contrastive-Tension/BERT-Base-NLI-CT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Contrastive-Tension/BERT-Base-NLI-CT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Contrastive-Tension/BERT-Base-NLI-CT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Contrastive-Tension/BERT-Base-NLI-CT") model = AutoModelForMaskedLM.from_pretrained("Contrastive-Tension/BERT-Base-NLI-CT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
b905dcc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6a87eb55a836ce9d198250937d028bcb989d35c3f3745c58e4263c03b94d6f6b
size 437978255
|