Instructions to use cardiffnlp/twitter-roberta-base-dec2020 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/twitter-roberta-base-dec2020 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="cardiffnlp/twitter-roberta-base-dec2020")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-dec2020") model = AutoModelForMaskedLM.from_pretrained("cardiffnlp/twitter-roberta-base-dec2020", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from cardiffnlp/twitter-roberta-base-dec2020: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/cardiffnlp/twitter-roberta-base-dec2020/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://cardiffnlp/twitter-roberta-base-dec2020/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/cardiffnlp/twitter-roberta-base-dec2020/resolve/main/pytorch_model.bin
499 MB
- Xet hash:
- db9dd1fbffbe3c03272dc21ac1d9aafb25bf62797e130bb6ec1dfd888b164950
- Size of remote file:
- 499 MB
- SHA256:
- c01798016a4250ee913614bb97b3b87b3af2cc8052c50ee8bacd21b25d4a0b22
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.