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: 129 Bytes
6e6f32f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dbc5f7e70c066e17c3d6ca95a85c19e97ee3f0a2fcfdc0995dac770a094e5777
size 2287
|