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")# pip install -U transformers accelerate # 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: 129 Bytes
cd45517 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a93f9d54e97a20901c05931159fd6564121e5ee6c1f41b84497e9685598102bd
size 2875
|