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