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")# pip install -U transformers accelerate # 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
Commit History
-
Create new file
5627ce8 -
Delete endpoint.py
eb3cd49 -
Create new file
5c345f3 -
Upload vocab.txt
81cbbfb -
Upload tokenizer_config.json
c3284d3 -
Upload tokenizer.json
8e1e060 -
Upload tf_model.h5 with git-lfs
c94073d -
Upload special_tokens_map.json
3048fe0 -
Upload pytorch_model.bin with git-lfs
07a2a83 -
Upload config.json
20dac71 -
Upload README.md
55c4e0f -
initial commit
3ca1372