Instructions to use nlpunibo/distilbert_classifier2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpunibo/distilbert_classifier2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DistilBertClassifier tokenizer = AutoTokenizer.from_pretrained("nlpunibo/distilbert_classifier2") model = DistilBertClassifier.from_pretrained("nlpunibo/distilbert_classifier2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d198d63 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:953a0fabb156430c84c6e98304ec672964a9dd13fd4ecca61b383686deaf89e4
size 267859087
|