Instructions to use cardiffnlp/twitter-roberta-base-jun2021 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-jun2021 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="cardiffnlp/twitter-roberta-base-jun2021")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-jun2021") model = AutoModelForMaskedLM.from_pretrained("cardiffnlp/twitter-roberta-base-jun2021") - Notebooks
- Google Colab
- Kaggle
Commit History
Update README.md 435eed2
Update README.md 5e01f5b
Update README.md 1aae9ca
Cardiff NLP commited on
Adding model card 55daec6
Cardiff NLP commited on
add tokenizer 0cd226f
danlou commited on
add model 53ba538
danlou commited on