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 preprocessor_config.json from mohdasif81/Cohere_asr: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/mohdasif81/Cohere_asr/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://mohdasif81/Cohere_asr/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/mohdasif81/Cohere_asr/resolve/main/preprocessor_config.json
420 Bytes
| { | |
| "auto_map": { | |
| "AutoFeatureExtractor": "processing_cohere_asr.CohereAsrFeatureExtractor" | |
| }, | |
| "dither": 1e-05, | |
| "feature_extractor_type": "CohereAsrFeatureExtractor", | |
| "feature_size": 128, | |
| "frame_splicing": 1, | |
| "log": true, | |
| "n_fft": 512, | |
| "n_window_size": 400, | |
| "n_window_stride": 160, | |
| "normalize": "per_feature", | |
| "pad_to": 0, | |
| "padding_value": 0.0, | |
| "sampling_rate": 16000, | |
| "window": "hann" | |
| } | |