Instructions to use ai-research-lab/bert-question-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ai-research-lab/bert-question-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ai-research-lab/bert-question-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ai-research-lab/bert-question-classifier") model = AutoModelForSequenceClassification.from_pretrained("ai-research-lab/bert-question-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
68edeff
1
Parent(s): 04326fd
Upload MultiTaskClassifierPipeline
Browse files- tokenizer_config.json +3 -0
tokenizer_config.json
CHANGED
|
@@ -48,7 +48,10 @@
|
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
"max_length": 512,
|
| 50 |
"model_max_length": 512,
|
|
|
|
| 51 |
"pad_token": "[PAD]",
|
|
|
|
|
|
|
| 52 |
"sep_token": "[SEP]",
|
| 53 |
"stride": 0,
|
| 54 |
"strip_accents": null,
|
|
|
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
"max_length": 512,
|
| 50 |
"model_max_length": 512,
|
| 51 |
+
"pad_to_multiple_of": null,
|
| 52 |
"pad_token": "[PAD]",
|
| 53 |
+
"pad_token_type_id": 0,
|
| 54 |
+
"padding_side": "right",
|
| 55 |
"sep_token": "[SEP]",
|
| 56 |
"stride": 0,
|
| 57 |
"strip_accents": null,
|