Instructions to use philschmid/custom-handler-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/custom-handler-distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/custom-handler-distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("philschmid/custom-handler-distilbert") model = AutoModelForSequenceClassification.from_pretrained("philschmid/custom-handler-distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
07a2a83 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:41b67d400d12ed556232eef03bcf9b49b60859c27ff206c043225e141305fdb6
size 532677
|