mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
What: hexspeech.cpp turns Whisper's timestamps on for audio longer than 30 s (params.no_timestamps = count <= 30 s); up to 30 s nothing changes. The benchmark mirrors it (native.cpp's HEX_APP), long.tsv gains four clips past 30 s (en/es/de/no, 35-47 s, sentences repeating), and score.py fails a clip past 30 s that loses an utterance. READMEs say why. Why: the 2409 gate lost words on long dictations (37 s English: "Please send the revised invoice before" at the 30 s seam; 36 s Spanish: 5 of 14 sentences). With no_timestamps, whisper.cpp moves on a whole 30 s per window (seek_delta = 100*WHISPER_CHUNK_SIZE), cutting mid-sentence, and a window full of speech to its edge also leaves whole sentences out. With timestamps, each window ends at the last finished segment and the next starts there. Host harness (the app's decode, small q5_1), 32 clips of 36-58 s in the ten dictation languages: 27 of 457 sentences lost today, 1 with timestamps (a sentence said twice in a row, which every setting drops); WER 10.2% -> 3.9%; total decode 156.3 s -> 157.8 s. Clips of 26-29.5 s lost nothing either way. Verified on basebook: the benchmark's long-clip check passes on this branch (59/1263 errors at both windows, every utterance past 30 s kept) and fails on dev's decode (7 of 15 German utterances lost); ./gradlew testDebugUnitTest assembleDebug green (236 tests). Not run on a device. Removed behaviour: audio past 30 s no longer decodes without timestamps.
994 B
994 B
| 1 | id | lang | seconds | clips |
|---|---|---|---|---|
| 2 | enm0 | en | 11.1 | 01,02,03,04 |
| 3 | enm1 | en | 12.5 | 05,06,07,08 |
| 4 | enm2 | en | 12.1 | 09,10,11,12 |
| 5 | enm3 | en | 12.5 | 13,14,15,16 |
| 6 | enm4 | en | 12.7 | 17,18,19,20 |
| 7 | enm5 | en | 13.3 | 21,22,23,24 |
| 8 | enl0 | en | 23.6 | 01,02,03,04,05,06,07,08 |
| 9 | enl1 | en | 24.5 | 09,10,11,12,13,14,15,16 |
| 10 | enl2 | en | 26.0 | 17,18,19,20,21,22,23,24 |
| 11 | esm0 | es | 9.8 | 25,26,27,28 |
| 12 | esl0 | es | 15.3 | 25,26,27,28,29,30 |
| 13 | dem0 | de | 12.1 | 31,32,33,34 |
| 14 | del0 | de | 15.6 | 31,32,33,34,35 |
| 15 | nom0 | no | 10.8 | 36,37,38,39 |
| 16 | nol0 | no | 13.8 | 36,37,38,39,40 |
| 17 | ens2k4 | en | 11.9 | 03,04,05,06 |
| 18 | ens2k5 | en | 14.7 | 03,04,05,06,07 |
| 19 | ens7k4 | en | 11.9 | 08,09,10,11 |
| 20 | ens7k5 | en | 15.2 | 08,09,10,11,12 |
| 21 | ens12k5 | en | 15.7 | 13,14,15,16,17 |
| 22 | ens17k4 | en | 12.4 | 18,19,20,21 |
| 23 | ens17k5 | en | 15.6 | 18,19,20,21,22 |
| 24 | ess1k4 | es | 10.0 | 26,27,28,29 |
| 25 | ess1k5 | es | 12.9 | 26,27,28,29,30 |
| 26 | des1k4 | de | 13.3 | 32,33,34,35 |
| 27 | nos1k4 | no | 11.5 | 37,38,39,40 |
| 28 | en30s3k12 | en | 36.8 | 03,04,05,06,07,08,09,10,11,12,13,14 |
| 29 | es30l0m0m0 | es | 35.0 | 25,26,27,28,29,30,25,26,27,28,25,26,27,28 |
| 30 | de30x3 | de | 46.7 | 31,32,33,34,35,31,32,33,34,35,31,32,33,34,35 |
| 31 | no30x3 | no | 41.3 | 36,37,38,39,40,36,37,38,39,40,36,37,38,39,40 |