Instructions to use davda54/wiki-retrieval-patch-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use davda54/wiki-retrieval-patch-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="davda54/wiki-retrieval-patch-base", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("davda54/wiki-retrieval-patch-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer.json
Browse files- tokenizer.json +2 -2
tokenizer.json
CHANGED
|
@@ -43,8 +43,8 @@
|
|
| 43 |
"id": 4,
|
| 44 |
"content": "[MASK]",
|
| 45 |
"single_word": false,
|
| 46 |
-
"lstrip":
|
| 47 |
-
"rstrip":
|
| 48 |
"normalized": false,
|
| 49 |
"special": true
|
| 50 |
}
|
|
|
|
| 43 |
"id": 4,
|
| 44 |
"content": "[MASK]",
|
| 45 |
"single_word": false,
|
| 46 |
+
"lstrip": true,
|
| 47 |
+
"rstrip": true,
|
| 48 |
"normalized": false,
|
| 49 |
"special": true
|
| 50 |
}
|