Instructions to use cardiffnlp/tweet-topic-19-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cardiffnlp/tweet-topic-19-multi with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cardiffnlp/tweet-topic-19-multi")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/tweet-topic-19-multi") model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/tweet-topic-19-multi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
e7ec0eb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e14d0b9dae1deae2dc35d638012eda5d0757825db816f083e54da024bd38d399
size 498723565
|