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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leoliu/pat_classifier_distilbert") model = AutoModelForSequenceClassification.from_pretrained("leoliu/pat_classifier_distilbert") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"do_lower_case": true,
|
| 4 |
"mask_token": "[MASK]",
|
| 5 |
"model_max_length": 512,
|
| 6 |
-
"name_or_path": "
|
| 7 |
"pad_token": "[PAD]",
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"special_tokens_map_file": null,
|
|
|
|
| 3 |
"do_lower_case": true,
|
| 4 |
"mask_token": "[MASK]",
|
| 5 |
"model_max_length": 512,
|
| 6 |
+
"name_or_path": "leoliu/pat_classifier_distilbert",
|
| 7 |
"pad_token": "[PAD]",
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"special_tokens_map_file": null,
|