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