Instructions to use srcocotero/tiny-bert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srcocotero/tiny-bert-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="srcocotero/tiny-bert-qa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("srcocotero/tiny-bert-qa") model = AutoModelForQuestionAnswering.from_pretrained("srcocotero/tiny-bert-qa") - Notebooks
- Google Colab
- Kaggle
Commit 路
2e86f3e
1
Parent(s): 1d3e4f7
Upload special_tokens_map.json
Browse files- special_tokens_map.json +7 -0
special_tokens_map.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cls_token": "[CLS]",
|
| 3 |
+
"mask_token": "[MASK]",
|
| 4 |
+
"pad_token": "[PAD]",
|
| 5 |
+
"sep_token": "[SEP]",
|
| 6 |
+
"unk_token": "[UNK]"
|
| 7 |
+
}
|