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
File size: 634 Bytes
b78cc62 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"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"
}
|