imYChaudhary22's picture
Match the BuilderHelm model card format for Indic-Transcribe Flex
de38689 verified
|
Raw History Blame Contribute Delete
7.21 kB
metadata
license: other
license_name: indic-open-model-license
license_link: LICENSE.md
base_model: bodhan-ai/indic-transcribe-flex
pipeline_tag: automatic-speech-recognition
language:
  - as
  - bgc
  - bhb
  - bho
  - bn
  - brx
  - doi
  - en
  - gu
  - hi
  - hne
  - kn
  - kok
  - ks
  - mai
  - ml
  - mni
  - mr
  - ne
  - or
  - pa
  - sa
  - sat
  - sd
  - ta
  - te
  - ur
tags:
  - coreml
  - speech-to-text
  - multilingual
  - on-device
  - apple-silicon
  - indic
  - zenvoice
inference: false

Indic-Transcribe Flex 路 Core ML

Indic-Transcribe Flex
Hugging Face: BuilderHelm GitHub: BuilderHelmAudio
ZenVoice: Homepage Download: ZenVoice for Mac
License: Indic Open Model License Runs on: Apple Silicon Base: Indic-Transcribe Flex

27 languages 路 Indian English and Hinglish 路 on-device transcription

Built with Indic-Transcribe Flex from Bodhan AI / AI4Bharat.

BuilderHelm converted Bodhan AI / AI4Bharat's Indic-Transcribe Flex to Core ML for offline dictation and file transcription in ZenVoice. The export retains the original tokenizer and language prompts. The runtime makes its predictions locally on Apple Silicon.

Builds

Repository Weights Download Runtime
Core ML FP16 encoder and decoder, FP32 frontend 2.45 GB BuilderHelmAudio on Apple Silicon

Core ML

hf download BuilderHelm/Indic-Transcribe-Flex-CoreML --revision e0fb867958841bda98cb29ddbed6b47d6ec87ec3 --local-dir Indic-Transcribe-Flex-CoreML
cd Indic-Transcribe-Flex-CoreML
python3 -c 'import json; print("\n".join("{sha256}  {path}".format(**item) for item in json.load(open("manifest.json"))["files"]))' | shasum -a 256 -c

Contents

File Purpose
frontend.mlpackage FP32 audio feature extraction
encoder.mlpackage FP16 acoustic encoder
decoder_cached.mlpackage FP16 decoder with a stateful attention cache
tokenizer.json Vocabulary, language tokens and output-mode prompts
manifest.json Source revision, file sizes and SHA-256 checksums
LICENSE.md Original Indic Open Model License

Swift

Use the BuilderHelmAudio runtime on macOS 15 or later. Keep the three packages and tokenizer in the same directory. Core ML compiles the packages on the Mac.

import BuilderHelmAudio

let recognizer = try IndicTranscribeFlex(modelDirectory: modelDirectory, useCachedDecoder: true)
let hindi = try await recognizer.transcribe(file: audioURL, language: "hi", mode: .native)
let hinglish = try await recognizer.transcribe(file: audioURL, language: "hi", mode: .romanized)
let automatic = try await recognizer.transcribe(file: audioURL)
print(hindi.text, hinglish.text, automatic.language, automatic.text)

Language and script

ZenVoice choice Runtime selection Output
Hindi hi, native Devanagari
Hinglish hi, romanized Latin script
Indian English en, native English
Auto Detect Omit the language Native script of the detected language
Other supported languages Explicit language code, native The selected language's native script

The model supports Assamese, Bengali, Bhili, Bhojpuri, Bodo, Chhattisgarhi, Dogri, Gujarati, Haryanvi, Hindi, Indian English, Kannada, Kashmiri, Konkani, Maithili, Malayalam, Manipuri, Marathi, Nepali, Odia, Punjabi, Sanskrit, Santali, Sindhi, Tamil, Telugu and Urdu. Bhili and Haryanvi require explicit selection. The SDK also exposes a mixed output mode.

Conversion

BuilderHelm exported the published Bodhan checkpoint as three Core ML packages. The frontend extracts features from 16 kHz mono audio. The encoder processes those features, and the cached decoder reuses attention state during token generation.

Accuracy

Comparison Exact matches
Core ML against the Bodhan native-output reference 26 / 27
Core ML against the Bodhan romanized Hinglish reference 3 / 3
ZenVoice on macOS 27 with the CPU encoder against the earlier Core ML reference 28 / 33

The difference in the first comparison was one Sindhi vowel. On macOS 27, all 33 fixtures completed, including all three matching Hinglish clips. The five differences were in Haryanvi, Bhili, Bodo and two rows for the same Sindhi vowel. These fixture checks measure transcript agreement. A corpus-wide word error rate is unavailable.

Device and performance scope

The conversion was tested on Apple Silicon. On macOS 27, BuilderHelmAudio runs the encoder on CPU to avoid a Core ML GPU assertion. ZenVoice was tested offline with recorded input through its dictation and file-transcription paths.

Limitations

  • Audio length. Each model request accepts up to 30 seconds of 16 kHz mono audio. ZenVoice splits longer recordings before inference.
  • Language detection. Auto Detect can confuse closely related languages, including Hindi and Urdu. Explicit language selection fixes the requested language and script.
  • Evaluation coverage. The test set covers conversion parity on short fixtures. Accuracy across dialects, noise levels and recording devices remains unmeasured.

Source and reproduction

The conversion is distributed under the unchanged Indic Open Model License. Bodhan AI / AI4Bharat developed the model. BuilderHelm converted and packaged it for Core ML.