Automatic Speech Recognition
Transformers
Safetensors
cohere_asr
audio
hf-asr-leaderboard
speech-recognition
transcription
custom_code
Instructions to use mohdasif81/Cohere_asr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mohdasif81/Cohere_asr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="mohdasif81/Cohere_asr", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("mohdasif81/Cohere_asr", trust_remote_code=True) model = AutoModelForSpeechSeq2Seq.from_pretrained("mohdasif81/Cohere_asr", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from mohdasif81/Cohere_asr: direct link, hf CLI and curl.
- Browser
- Download file 131 Bytes
-
https://huggingface.co/mohdasif81/Cohere_asr/resolve/main/processor_config.json
- Command line
-
hf download hf://mohdasif81/Cohere_asr/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/mohdasif81/Cohere_asr/resolve/main/processor_config.json
131 Bytes
| { | |
| "auto_map": { | |
| "AutoProcessor": "processing_cohere_asr.CohereAsrProcessor" | |
| }, | |
| "processor_class": "CohereAsrProcessor" | |
| } | |