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: 129 Bytes
738a387 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ec875c654c49200aac96a8d509eb83cc383d912bfc3e16266a1e9cbefa2aa11d
size 2875
|