Upload 2 files
Browse files- preprocessor_config.json +14 -0
- processor_config.json +11 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 30,
|
| 3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 4 |
+
"feature_size": 80,
|
| 5 |
+
"hop_length": 160,
|
| 6 |
+
"n_fft": 400,
|
| 7 |
+
"n_samples": 480000,
|
| 8 |
+
"nb_max_frames": 3000,
|
| 9 |
+
"padding_side": "right",
|
| 10 |
+
"padding_value": 0.0,
|
| 11 |
+
"processor_class": "WhisperProcessor",
|
| 12 |
+
"return_attention_mask": false,
|
| 13 |
+
"sampling_rate": 16000
|
| 14 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_context_size": 3000,
|
| 3 |
+
"audio_padding": "longest",
|
| 4 |
+
"audio_placeholder": "<|audio|>",
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoProcessor": "ultravox_processing.UltravoxProcessor"
|
| 7 |
+
},
|
| 8 |
+
"encoder_ds_factor": 320,
|
| 9 |
+
"processor_class": "UltravoxProcessor",
|
| 10 |
+
"stack_factor": 8
|
| 11 |
+
}
|