Instructions to use cardiffnlp/twitter-roberta-base-sentiment-latest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-sentiment-latest with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/twitter-roberta-base-sentiment-latest")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment-latest", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Add "Bias, Risks, and Limitations" section to model card
#15
by giskard-bot - opened
Hi, this is an automatic PR generated by the Giskard Bot.
Based on an automated scan of the model (check the discussion here), we have generated a Bias, Risks, and Limitations section for your model card.
While we do our best to generate the most reliable reporting, it is possible that our automated analysis produced false positives. If this is the case, please let us know in a comment and feel free to close this PR.