Instructions to use cardiffnlp/tweet-topic-21-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/tweet-topic-21-multi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/tweet-topic-21-multi")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/tweet-topic-21-multi") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/tweet-topic-21-multi", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 8e0ac2baba17fc64ff381601e78227377efac613a286e7b7ffaf5647c0ed9bdf
- Size of remote file:
- 499 MB
- SHA256:
- b215c9f18a58753b4d276d2acf71f16d09467463c176971fd7a7ea37172377e6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.