Instructions to use mallikrao2/speech_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mallikrao2/speech_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="mallikrao2/speech_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("mallikrao2/speech_model") model = AutoModelForCTC.from_pretrained("mallikrao2/speech_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from mallikrao2/speech_model: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/mallikrao2/speech_model/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://mallikrao2/speech_model/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mallikrao2/speech_model/resolve/main/tokenizer_config.json
286 Bytes
| {"unk_token": "[unq]", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "[padded]", "do_lower_case": false, "word_delimiter_token": "|", "word_delimiter": "|", "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "./", "tokenizer_class": "Wav2Vec2CTCTokenizer"} |