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