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") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
Add references 4ba3d44
Add dataset f8f8214
Update README 2022 25a9e24
Updated language code f6e0c90
Update reference 5916057
Update README.md a483d02
Update references 1941b34
Update README.md b40ad29
Cardiff NLP commited on
Update README.md 9f7b583
Cardiff NLP commited on
Update README.md d72a2a6
Cardiff NLP commited on
Adding tweeteval classifier 3f3ed66
cardiffnlp commited on