[Bug]: Model catalog metadata is inaccurate — wrong sizes, unused language support, unlocalized names
[Bug]: Model catalog metadata is inaccurate — wrong sizes, unused language support, unlocalized names
Problem
The model catalog (ModelManager.availableModels) ships metadata that is user-visible but
inaccurate or unused.
1. Sizes are wrong (verified against the real Hugging Face payload)
| model | catalog | actual | factor |
|---|---|---|---|
openai_whisper-large-v3_turbo |
809 MB | 3195 MB | 3.95x |
openai_whisper-tiny.en |
75 MB | 153 MB | 2.04x |
openai_whisper-large-v3-v20240930_turbo |
3100 MB | 1639 MB | 0.53x |
openai_whisper-large-v3-v20240930 |
3100 MB | 1620 MB | 0.52x |
openai_whisper-large-v3_turbo_954MB |
954 MB | 1053 MB | 1.10x |
openai_whisper-large-v2_turbo_955MB |
955 MB | 1053 MB | 1.10x |
Parakeet is the worst case: the catalog says 2670 MB, but the actual int8 set FluidAudio downloads (Encoder + Decoder + JointDecisionv3 + Preprocessor) is 470 MB — proven on disk:
Encoder.mlmodelc/weights/weight.bin 445,187,200
Decoder.mlmodelc/weights/weight.bin 23,604,992
JointDecisionv3.mlmodelc/weights/weight.bin 12,642,764
Preprocessor.mlmodelc/weights/weight.bin 491,072
total ~470 MB
These numbers feed the Download label, the "ON DISK" total, and user decisions. Someone picking "Whisper Large v3 Turbo, 809 MB" actually signs up for 3.2 GB.
2. Language support is computed but never shown
WhisperModel.languageSupport and LanguageSupport.badgePresentation(for:) exist
(ModelManager.swift:86-153, 228-234) but have zero UI call sites. The Models page never
indicates English-only vs multilingual, even though the list is filtered by the selected dictation
language (recommendedModels(for: settings.selectedAppLanguage)).
3. Names and descriptions are not localized
displayName and description are hardcoded English strings rendered raw
(ModelsSettingsView.swift:182, 193), e.g. "Whisper Small", "Higher accuracy for complex
vocabulary and technical terms". This violates the repo localization conventions; language also
leaks only via baked-in suffixes like "Whisper Small (English)".
Expected
- Catalog sizes reflect the actual bytes a given download will produce (ideally derived from the real manifest/required-file set, not hardcoded).
- The Models page shows language support per model.
- Model names/descriptions are localized like other user-facing strings.
Suggested approach
- Derive size from the resolved download manifest (WhisperKit folder / FluidAudio required set) where feasible; otherwise correct the hardcoded values.
- Render
languageSupport.badgePresentation(for:)on the Models row. - Move names/descriptions to localized strings.
Key files
Packages/PindropShared/Sources/PindropSpeech/ModelManager.swift(catalog +LanguageSupport)Pindrop/UI/Settings/ModelsSettingsView.swift(modelRowCard)Pindrop/UI/Main/ModelsPresentation.swift
Notes
See #102 for load/download robustness. Whisper precision policy (whether the default turbo should
point at ..._954MB for memory) is a related product decision.
The catalog sizes are corrected in 1.23.0 with the measured values from this issue. The language badges and the localized model names are not done, and will not be, because the project is discontinued.
Pindrop 1.23.0 is the final release: https://github.com/watzon/pindrop/releases/tag/v1.23.0. Pindrop is now discontinued and this repository is archived. Sayso replaces it: https://justsayso.app