Add feature_extractor config for audio support
Browse files- processor_config.json +12 -2
processor_config.json
CHANGED
|
@@ -28,5 +28,15 @@
|
|
| 28 |
}
|
| 29 |
},
|
| 30 |
"image_seq_length": 280,
|
| 31 |
-
"processor_class": "Gemma4Processor"
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
},
|
| 30 |
"image_seq_length": 280,
|
| 31 |
+
"processor_class": "Gemma4Processor",
|
| 32 |
+
"feature_extractor": {
|
| 33 |
+
"feature_extractor_type": "Gemma4AudioFeatureExtractor",
|
| 34 |
+
"sampling_rate": 16000,
|
| 35 |
+
"num_mel_filters": 128,
|
| 36 |
+
"fft_length": 512,
|
| 37 |
+
"hop_length": 160,
|
| 38 |
+
"chunk_duration": 8.0,
|
| 39 |
+
"overlap_duration": 1.0
|
| 40 |
+
},
|
| 41 |
+
"audio_ms_per_token": 40
|
| 42 |
+
}
|