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