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