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