Instructions to use cardiffnlp/twitter-roberta-base-dec2021 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-dec2021 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="cardiffnlp/twitter-roberta-base-dec2021")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-dec2021") model = AutoModelForMaskedLM.from_pretrained("cardiffnlp/twitter-roberta-base-dec2021") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 679c131
Update README.md 2de76c7
Update README.md 3a48992
Cardiff NLP commited on
Adding model card 144d6a3
Cardiff NLP commited on
add tokenizer 5ecb7c0
danlou commited on
add model 92806aa
danlou commited on