Instructions to use rasgaard/distilbert-newsgroups-probe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rasgaard/distilbert-newsgroups-probe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rasgaard/distilbert-newsgroups-probe")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rasgaard/distilbert-newsgroups-probe") model = AutoModelForSequenceClassification.from_pretrained("rasgaard/distilbert-newsgroups-probe") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
99fe9b5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:452ea1f419bbd4c9b7c3f47efcc632d4dec051ba521cbecaf78c113e712d72a3
size 267909485
|