Upload processor_config.json with huggingface_hub
Browse files- processor_config.json +28 -0
processor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_extractor": {
|
| 3 |
+
"auto_map": {
|
| 4 |
+
"AutoFeatureExtractor": "processing_cohere_asr.CohereAsrFeatureExtractor"
|
| 5 |
+
},
|
| 6 |
+
"dither": 1e-05,
|
| 7 |
+
"feature_extractor_type": "CohereAsrFeatureExtractor",
|
| 8 |
+
"feature_size": 128,
|
| 9 |
+
"frame_splicing": 1,
|
| 10 |
+
"hop_length": 160,
|
| 11 |
+
"log": true,
|
| 12 |
+
"max_audio_clip_s": 35.0,
|
| 13 |
+
"min_energy_window_samples": 1600,
|
| 14 |
+
"n_fft": 512,
|
| 15 |
+
"n_window_size": 400,
|
| 16 |
+
"n_window_stride": 160,
|
| 17 |
+
"normalize": "per_feature",
|
| 18 |
+
"overlap_chunk_second": 5.0,
|
| 19 |
+
"pad_to": 0,
|
| 20 |
+
"padding_side": "right",
|
| 21 |
+
"padding_value": 0.0,
|
| 22 |
+
"preemphasis": 0.97,
|
| 23 |
+
"return_attention_mask": true,
|
| 24 |
+
"sampling_rate": 16000,
|
| 25 |
+
"win_length": 400
|
| 26 |
+
},
|
| 27 |
+
"processor_class": "CohereAsrProcessor"
|
| 28 |
+
}
|