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