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
File size: 501 Bytes
82d6cf9 708db26 82d6cf9 708db26 82d6cf9 a0aad4a 82d6cf9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"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": "|"
}
|