Automatic Speech Recognition
Transformers
cohere_streaming
feature-extraction
asr
streaming
speech-recognition
cache-aware
fastconformer
distillation
custom_code
Instructions to use Steveeeeeeen/cohere-streaming with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Steveeeeeeen/cohere-streaming with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Steveeeeeeen/cohere-streaming", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Steveeeeeeen/cohere-streaming", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Steveeeeeeen HF Staff
Enable Transformers AutoModel loading with remote streaming code
b78cc62 verified Download processor_config.json from Steveeeeeeen/cohere-streaming: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/Steveeeeeeen/cohere-streaming/resolve/main/processor_config.json
- Command line
-
hf download hf://Steveeeeeeen/cohere-streaming/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/Steveeeeeeen/cohere-streaming/resolve/main/processor_config.json
634 Bytes
| { | |
| "feature_extractor": { | |
| "dither": 1e-05, | |
| "feature_extractor_type": "CohereAsrFeatureExtractor", | |
| "feature_size": 128, | |
| "frame_splicing": 1, | |
| "hop_length": 160, | |
| "log": true, | |
| "max_audio_clip_s": 35.0, | |
| "min_energy_window_samples": 1600, | |
| "n_fft": 512, | |
| "n_window_size": 400, | |
| "n_window_stride": 160, | |
| "normalize": "per_feature", | |
| "overlap_chunk_second": 5.0, | |
| "pad_to": 0, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "preemphasis": 0.97, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000, | |
| "win_length": 400 | |
| }, | |
| "processor_class": "CohereAsrProcessor" | |
| } | |