Instructions to use slone/bert-tiny-char-ctc-bak-denoise with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use slone/bert-tiny-char-ctc-bak-denoise with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="slone/bert-tiny-char-ctc-bak-denoise")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("slone/bert-tiny-char-ctc-bak-denoise") model = AutoModelForMaskedLM.from_pretrained("slone/bert-tiny-char-ctc-bak-denoise", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1941090
1
Parent(s): b9a4929
Update tokenizer_config.json
Browse files- tokenizer_config.json +4 -1
tokenizer_config.json
CHANGED
|
@@ -7,5 +7,8 @@
|
|
| 7 |
"model_max_length": 1024,
|
| 8 |
"pad_token": "[pad]",
|
| 9 |
"tokenizer_class": "CharTokenizer",
|
| 10 |
-
"unk_token": "[unk]"
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
|
|
|
| 7 |
"model_max_length": 1024,
|
| 8 |
"pad_token": "[pad]",
|
| 9 |
"tokenizer_class": "CharTokenizer",
|
| 10 |
+
"unk_token": "[unk]",
|
| 11 |
+
"auto_map": {
|
| 12 |
+
"AutoTokenizer": ["char_tokenizer.CharTokenizer", null]
|
| 13 |
+
}
|
| 14 |
}
|