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