Instructions to use jhu-clsp/mmBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jhu-clsp/mmBERT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="jhu-clsp/mmBERT-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("jhu-clsp/mmBERT-base") model = AutoModelForMaskedLM.from_pretrained("jhu-clsp/mmBERT-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
| 35 |
},
|
| 36 |
"4": {
|
| 37 |
"content": "<mask>",
|
| 38 |
-
"lstrip":
|
| 39 |
"normalized": false,
|
| 40 |
"rstrip": false,
|
| 41 |
"single_word": false,
|
|
|
|
| 35 |
},
|
| 36 |
"4": {
|
| 37 |
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
"normalized": false,
|
| 40 |
"rstrip": false,
|
| 41 |
"single_word": false,
|