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