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