Instructions to use cardiffnlp/twitter-roberta-base-2021-124m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-2021-124m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="cardiffnlp/twitter-roberta-base-2021-124m")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-2021-124m") model = AutoModelForMaskedLM.from_pretrained("cardiffnlp/twitter-roberta-base-2021-124m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- caa45841e8444ec6833160376bc768f2a5dba7897c8c7b5a477ee7c353d97048
- Size of remote file:
- 499 MB
- SHA256:
- 66f5b2ec4dc5269a16c50ea0be5026bebcf7d307dbb53b151cb03b9de92848fa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.