Instructions to use WindyWord/listen-windy-lingua-az-ct2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyWord/listen-windy-lingua-az-ct2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="WindyWord/listen-windy-lingua-az-ct2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WindyWord/listen-windy-lingua-az-ct2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add missing preprocessor_config.json to the CT2 folder
Browse filesWithout it faster-whisper defaults to an 80-mel feature extractor. These weights report n_mels=80, so every transcription failed with 'Invalid input features shape: expected (1,80,3000)'. feature_size is read from the CT2 model itself and verified by transcribing a real clip before upload. Weights untouched. Dr. J (Opus 5), clinic log doctor-logs/2026-08-05_stt-fleet-qa.md
ct2-int8/preprocessor_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 30,
|
| 3 |
+
"dither": 0.0,
|
| 4 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
| 5 |
+
"feature_size": 80,
|
| 6 |
+
"hop_length": 160,
|
| 7 |
+
"n_fft": 400,
|
| 8 |
+
"n_samples": 480000,
|
| 9 |
+
"nb_max_frames": 3000,
|
| 10 |
+
"padding_side": "right",
|
| 11 |
+
"padding_value": 0.0,
|
| 12 |
+
"processor_class": "WhisperProcessor",
|
| 13 |
+
"return_attention_mask": false,
|
| 14 |
+
"sampling_rate": 16000
|
| 15 |
+
}
|