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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from 5p33ch3xpr/XLS-R-with-LM: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/5p33ch3xpr/XLS-R-with-LM/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://5p33ch3xpr/XLS-R-with-LM/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/5p33ch3xpr/XLS-R-with-LM/resolve/main/tokenizer_config.json
501 Bytes
| { | |
| "bos_token": null, | |
| "do_lower_case": false, | |
| "eos_token": null, | |
| "name_or_path": "5p33ch3xpr/XLS-R_Finetuned", | |
| "pad_token": "[PAD]", | |
| "processor_class": "Wav2Vec2ProcessorWithLM", | |
| "replace_word_delimiter_char": " ", | |
| "special_tokens_map_file": "/root/.cache/huggingface/hub/models--5p33ch3xpr--XLS-R_Finetuned/snapshots/5046dec9045465cb2d61ab77fa40aaa7a31a3fa5/special_tokens_map.json", | |
| "tokenizer_class": "Wav2Vec2CTCTokenizer", | |
| "unk_token": "[UNK]", | |
| "word_delimiter_token": "|" | |
| } | |