Text Classification
Transformers
PyTorch
xlm-roberta
Eval Results (legacy)
text-embeddings-inference
Instructions to use cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual: direct link, hf CLI and curl.
- Browser
- Download file 17.1 MB
-
https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual/resolve/880e4a060ca59fec7050cb28eb9a568645c62567/tokenizer.json
- Command line
-
hf download hf://cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual@880e4a060ca59fec7050cb28eb9a568645c62567/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-sentiment-multilingual/resolve/880e4a060ca59fec7050cb28eb9a568645c62567/tokenizer.json
17.1 MB
- Xet hash:
- c33e91d2995f3d41a38a0df45ea997681bd61b7594e7be5257aa431d1371f063
- Size of remote file:
- 17.1 MB
- SHA256:
- 4c08c80d1df11b82ada2fd707562f86a9ebd5b7de04f51ebd2b49f2cd5906d00
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.