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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from cardiffnlp/twitter-roberta-base-dec2021: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/cardiffnlp/twitter-roberta-base-dec2021/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://cardiffnlp/twitter-roberta-base-dec2021/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/cardiffnlp/twitter-roberta-base-dec2021/resolve/main/pytorch_model.bin
499 MB
- Xet hash:
- fc5b6a198622c2ca74666087a6ad2e80de8466698626dc5fa9220178006ea729
- Size of remote file:
- 499 MB
- SHA256:
- ecd9938128e8cc1db3cf7718bfee67d87912ec004df5f149d802ef9f707f43dd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.