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