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