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:2c086ac47708aa17be4cca2a2d8c022fce20f71859d09ad2ba28a9517369e04d
size 2660532549
|