Instructions to use TransWiC/bert-large-CLS-P with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TransWiC/bert-large-CLS-P with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TransWiC/bert-large-CLS-P")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TransWiC/bert-large-CLS-P") model = AutoModelForSequenceClassification.from_pretrained("TransWiC/bert-large-CLS-P", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
738a387 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:02bf048f2e0fd83bf084c2d4c9f3b88b7f1807d668b680c68275215fdf5ea221
size 1334514421
|