[FEATURE] Add on-device Indic-Transcribe-Flex support

Planned Tools

Sal TESTER ·

Description

Add Indic-Transcribe-Flex as an on-device speech-to-text model in EFKey, using the available Core ML conversion:

https://huggingface.co/simple-voice/indic-transcribe-flex-coreml

The underlying model, developed by Bodhan AI / AI4Bharat, supports 27 languages, including Urdu, and offers native-script, mixed-script, and fully romanized transcription modes.

Why this would be useful

  • Urdu: Support both native Urdu script and Roman Urdu output.
  • Multilingual dictation: One model covers 27 languages, reducing the need to switch between different speech providers.
  • Offline operation: Run transcription locally using Core ML, without requiring an API key or sending audio to an external service.
  • Apple Neural Engine: The provided conversion includes a KV-cache decoder designed to use the Neural Engine.

Suggested implementation

  • Add Indic-Transcribe-Flex as an optional local speech provider.
  • Allow users to select the transcription language rather than relying exclusively on automatic language detection.
  • Expose native-script, mixed-script, and romanized output modes.
  • Support language-specific configuration, including Urdu (ur) with romanized output.
  • Use the existing Core ML conversion where practical, or implement a compatible runtime for its model architecture.

Model and implementation references

  • Core ML conversion: https://huggingface.co/simple-voice/indic-transcribe-flex-coreml
  • Original model: https://huggingface.co/bodhan-ai/indic-transcribe-flex

The Core ML conversion is approximately 675–698 MB, depending on the decoder implementation. Please also account for the model’s Indic Open Model License v1.0 and required attribution.

Discussion

efko DEV iPhoneDuo ·
status → In progress
efko DEV iPhoneDuo ·
status → Planned

Sign in to comment or vote.