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
Commit ·
a0aad4a
1
Parent(s): 82d6cf9
Upload model
Browse filesFiles changed (7)
- .gitattributes+1
- alphabet.jsonAdded+1
- language_model/attrs.jsonAdded+1
- language_model/fivegram.binAdded+3
- language_model/unigrams.txtAdded+3
- preprocessor_config.json+1-1
- tokenizer_config.json+1-1
31 unmodified lines3233343531 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textlanguage_model/unigrams.txt filter=lfs diff=lfs merge=lfs -text1{"labels": [" ", "\u0d02", "\u0d03", "\u0d05", "\u0d06", "\u0d07", "\u0d08", "\u0d09", "\u0d0a", "\u0d0b", "\u0d0e", "\u0d0f", "\u0d10", "\u0d12", "\u0d13", "\u0d14", "\u0d15", "\u0d16", "\u0d17", "\u0d18", "\u0d19", "\u0d1a", "\u0d1b", "\u0d1c", "\u0d1d", "\u0d1e", "\u0d1f", "\u0d20", "\u0d21", "\u0d22", "\u0d23", "\u0d24", "\u0d25", "\u0d26", "\u0d27", "\u0d28", "\u0d2a", "\u0d2b", "\u0d2c", "\u0d2d", "\u0d2e", "\u0d2f", "\u0d30", "\u0d31", "\u0d32", "\u0d33", "\u0d34", "\u0d35", "\u0d36", "\u0d37", "\u0d38", "\u0d39", "\u0d3e", "\u0d3f", "\u0d40", "\u0d41", "\u0d42", "\u0d43", "\u0d46", "\u0d47", "\u0d48", "\u0d4a", "\u0d4b", "\u0d4d", "\u0d57", "\u0d7a", "\u0d7b", "\u0d7c", "\u0d7d", "\u0d7e", "\u2047", "", "<s>", "</s>"], "is_bpe": false}1{"alpha": 0.5, "beta": 1.5, "unk_score_offset": -10.0, "score_boundary": true}123version https://git-lfs.github.com/spec/v1oid sha256:f3287ae191cd86bedc4e01458945d9bb8f206c5a235851e33f00d25e85becf12size 122766516123version https://git-lfs.github.com/spec/v1oid sha256:884ef507a6d4759e613f76134b846ef785976477665711c3d3d969aa937cc720size 134871413 unmodified lines4567789103 unmodified lines "feature_size": 1, "padding_side": "right", "padding_value": 0.0, "processor_class": "Wav2Vec2Processor", "processor_class": "Wav2Vec2ProcessorWithLM", "return_attention_mask": true, "sampling_rate": 16000}3 unmodified lines4567789103 unmodified lines "eos_token": "</s>", "name_or_path": "5p33ch3xpr/XLS-R_Finetuned", "pad_token": "[PAD]", "processor_class": "Wav2Vec2Processor", "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",.gitattributes+1
alphabet.jsonAdded+1
language_model/attrs.jsonAdded+1
language_model/fivegram.binAdded+3
language_model/unigrams.txtAdded+3
preprocessor_config.json+1-1
tokenizer_config.json+1-1