Instructions to use cardiffnlp/twitter-xlm-roberta-base-sentiment 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 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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-xlm-roberta-base-sentiment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
https://www.youtube.com/watch?v=Na9VmMNJvsA
#17 opened 6 months ago
by
sibel-19
Model fails to load `ValueError: Converting from SentencePiece and Tiktoken failed`
#16 opened 9 months ago
by
MauroExtrac
Adding `safetensors` variant of this model
#15 opened 12 months ago
by
SFconvertbot
Adding `safetensors` variant of this model
#14 opened over 1 year ago
by
SFconvertbot
Request: DOI
1
#13 opened over 1 year ago
by
oncreative
How the training CSV file look like?
#12 opened over 1 year ago
by
Phase-Technologies
Error with safetensors
#11 opened almost 3 years ago
by
MoatazBellah
Adding `safetensors` variant of this model
#10 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#8 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#7 opened over 3 years ago
by
SFconvertbot
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
#6 opened over 3 years ago
by
k3ybladewielder
Are there any ways to get the version of this model?
#5 opened over 3 years ago
by
MoatazBellah
Accuracy of the model
#4 opened over 3 years ago
by
yassiracharki
Model fails with probotbuf > 3.20.0
👍 1
#3 opened almost 4 years ago
by
mapa17
add language tags
#2 opened almost 4 years ago
by
lbourdois