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