Instructions to use AyoubChLin/DistilBERT_ZeroShot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AyoubChLin/DistilBERT_ZeroShot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="AyoubChLin/DistilBERT_ZeroShot")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/DistilBERT_ZeroShot") model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/DistilBERT_ZeroShot") - Notebooks
- Google Colab
- Kaggle
Commit ·
ddfd6d6
1
Parent(s): b198333
Upload with huggingface_hub
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
"do_lower_case": true,
|
| 4 |
"mask_token": "[MASK]",
|
| 5 |
"model_max_length": 256,
|
|
|
|
| 6 |
"pad_token": "[PAD]",
|
| 7 |
"sep_token": "[SEP]",
|
| 8 |
"special_tokens_map_file": null,
|
|
|
|
| 3 |
"do_lower_case": true,
|
| 4 |
"mask_token": "[MASK]",
|
| 5 |
"model_max_length": 256,
|
| 6 |
+
"name_or_path": "distilbert-base-uncased",
|
| 7 |
"pad_token": "[PAD]",
|
| 8 |
"sep_token": "[SEP]",
|
| 9 |
"special_tokens_map_file": null,
|