Instructions to use leoliu/pat_classifier_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leoliu/pat_classifier_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leoliu/pat_classifier_distilbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leoliu/pat_classifier_distilbert") model = AutoModelForSequenceClassification.from_pretrained("leoliu/pat_classifier_distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload tokenizer
5b577ed -
Upload DistilBertForSequenceClassification
a399a22 -
Upload tokenizer
0d2e96b -
Upload DistilBertForSequenceClassification
e30d182
-
Update README.md
7563f2c -
Update README.md
dfb561c -
Update README.md
8609509 -
Update README.md
a4283d7 -
Update README.md
ffab210 -
Update README.md
4f33766 -
Update README.md
a2b02cb -
Update README.md
67cee59 -
Update README.md
fc780cf -
Update README.md
13a78ec -
Upload tokenizer
b3f4706 -
Upload tokenizer
a7edf10 -
Upload DistilBertForSequenceClassification
5c7bac9 -
Upload DistilBertForSequenceClassification
a675143 -
Upload DistilBertForSequenceClassification
1d9b1a6
-
Upload DistilBertForSequenceClassification
5287a33 -
initial commit
3582d3f