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:
# 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
Adding `safetensors` variant of this model
#1 opened 10 months ago
by
SFconvertbot