Instructions to use 5p33ch3xpr/XLS-R-with-LM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 5p33ch3xpr/XLS-R-with-LM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="5p33ch3xpr/XLS-R-with-LM")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("5p33ch3xpr/XLS-R-with-LM") model = AutoModelForCTC.from_pretrained("5p33ch3xpr/XLS-R-with-LM") - Notebooks
- Google Colab
- Kaggle
Commit ·
d0ac8f0
1
Parent(s): 85743a6
Removed extra tokens
Browse files- special_tokens_map.json +2 -18
special_tokens_map.json
CHANGED
|
@@ -1,22 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
"content": "<s>",
|
| 5 |
-
"lstrip": false,
|
| 6 |
-
"normalized": true,
|
| 7 |
-
"rstrip": false,
|
| 8 |
-
"single_word": false
|
| 9 |
-
},
|
| 10 |
-
{
|
| 11 |
-
"content": "</s>",
|
| 12 |
-
"lstrip": false,
|
| 13 |
-
"normalized": true,
|
| 14 |
-
"rstrip": false,
|
| 15 |
-
"single_word": false
|
| 16 |
-
}
|
| 17 |
-
],
|
| 18 |
-
"bos_token": "<s>",
|
| 19 |
-
"eos_token": "</s>",
|
| 20 |
"pad_token": "[PAD]",
|
| 21 |
"unk_token": "[UNK]"
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bos_token": null,
|
| 3 |
+
"eos_token": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"pad_token": "[PAD]",
|
| 5 |
"unk_token": "[UNK]"
|
| 6 |
}
|