Instructions to use cardiffnlp/roberta-base-tweet-topic-single-all 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-all 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-all")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/roberta-base-tweet-topic-single-all") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/roberta-base-tweet-topic-single-all", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d91f373e6e1929d02a59eacc09e484ae9de30f6db07a6186a5934cd1149adcd7
- Size of remote file:
- 499 MB
- SHA256:
- 06b13b2eec9bed1175a3dea651ce77031fe56afcd41e934aade95e0e12b07ad5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.