Instructions to use bobboyms/wav2vec2-xls-r-300m-en-phoneme-ctc-60h-balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bobboyms/wav2vec2-xls-r-300m-en-phoneme-ctc-60h-balanced with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="bobboyms/wav2vec2-xls-r-300m-en-phoneme-ctc-60h-balanced")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("bobboyms/wav2vec2-xls-r-300m-en-phoneme-ctc-60h-balanced") model = AutoModelForCTC.from_pretrained("bobboyms/wav2vec2-xls-r-300m-en-phoneme-ctc-60h-balanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "86": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "87": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "do_phonemize": false, | |
| "eos_token": null, | |
| "extra_special_tokens": {}, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<pad>", | |
| "phone_delimiter_token": " ", | |
| "phonemizer_backend": "espeak", | |
| "phonemizer_lang": "en-us", | |
| "processor_class": "Wav2Vec2Processor", | |
| "tokenizer_class": "Wav2Vec2PhonemeCTCTokenizer", | |
| "unk_token": "<unk>", | |
| "word_delimiter_token": "|" | |
| } | |