Downloads · 30 days
49
36% of all-time downloads
nitinh/whisperkit-hinglish-coreml
whisperkit-hinglish-coreml is a automatic speech recognition model from nitinh. Use it when you need speech turned into text. It is set up for whisperkit. The card lists the license as apache-2.0.
CoreML / Apple Neural Engine build of Oriserve/Whisper-Hindi2Hinglish-Prime, packaged for WhisperKit so it can run fully on-device on Apple Silicon.
Downloads · 30 days
49
36% of all-time downloads
All-time downloads
138
Public
Repo size
4 GB
Likes
0
Public
Click a slice to open those files.
.bin4 GB · 99%
From the Hugging Face model README
CoreML / Apple Neural Engine build of Oriserve/Whisper-Hindi2Hinglish-Prime, packaged for WhisperKit so it can run fully on-device on Apple Silicon.
Converted for Speechmark, a private, on-device meeting notetaker for macOS, to transcribe code-mixed Hindi–English ("Hinglish") meetings without sending audio to a server.
This is a derivative work of Oriserve/Whisper-Hindi2Hinglish-Prime, which
is licensed under the Apache License 2.0. This conversion is released under the
same license. All model weights and their speech-recognition capability are the
work of Oriserve; the only changes here are
format conversion and inference-graph packaging (see below). The underlying
architecture derives from OpenAI's Whisper large-v3.
import WhisperKit
let config = WhisperKitConfig(
model: "Oriserve_Whisper-Hindi2Hinglish-Prime_889MB",
modelRepo: "nitinh/whisperkit-hinglish-coreml"
)
let pipe = try await WhisperKit(config)
// The model emits romanized Hinglish under the English token.
let options = DecodingOptions(task: .transcribe, language: "en")
let result = try await pipe.transcribe(audioPath: path, decodeOptions: options)
Added alignment_heads to generation_config.json. The upstream repo
omits this field. WhisperKit's TextDecoder expects a fourth output
(alignment_heads_weights), so conversion fails with
ValueError: Number of outputs provided, 4, do not match the number of outputs detected in the model, 3. The values were copied from
openai/whisper-large-v3, whose architecture is identical to this
fine-tune (32 encoder/decoder layers, 20 attention heads, d_model 1280,
vocab 51866 — verified field by field).
Converted to CoreML with
whisperkittools
(whisperkit-generate-model), producing MelSpectrogram.mlmodelc,
AudioEncoder.mlmodelc, and TextDecoder.mlmodelc.
Quantized to 4-bit mixed-bit palettization (group size 64), reducing the
bundle from 2.9 GB to 889 MB. Conversion fidelity: torch2coreml PSNR
54.5 (decoder) / 60.9 (encoder); all conversion tests passed.
No weights were retrained or pruned; the only numerical change is the quantization in step 3.
language: "en", matching the upstream model's documented behaviour.