Instructions to use cardiffnlp/twitter-roberta-base-irony with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-irony with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/twitter-roberta-base-irony")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-irony") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-irony") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
Fix typo 2f20f90
Add reference paper c570fcb
Update metadata 5a95f14
Update config.json 2b96430
Update config.json ab38617
upload flax model 7221383
allow flax c5be0ae
Update README.md 73d5666
Update README.md df3f121
Update README.md e73704e
Update README.md 0aa812a
Update README.md 652338a
Update README.md ac4be24
Adding tweeteval classifier 242ad41
cardiffnlp commited on