Instructions to use cardiffnlp/twitter-roberta-base-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/twitter-roberta-base-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
Add metadata, links 08b4d99
Add link to sentiment-latest b636d90
Update language d6af26c
Cardiff NLP commited on
Add labels 8956fe4
Cardiff NLP commited on
Update README.md ad3b252
Update README.md 34a6247
Update README.md 8eacbc5
Update README.md aa7cb4c
Adding tweeteval classifier c3f0011
cardiffnlp commited on