Downloads · 30 days
4
19% of all-time downloads
aoiandroid/distil-whisper-large-v3-litert-ios
distil-whisper-large-v3-litert-ios is a machine learning model from aoiandroid. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for litert. The card lists the license as apache-2.0.
This repository contains the LiteRT INT8 quantized model of specifically packaged for iOS devices (iPhone / iPad) running TranslateBlue ASR engine ( / BlueScribe).
Downloads · 30 days
4
19% of all-time downloads
All-time downloads
21
Public
Repo size
832 MB
Likes
0
Public
Click a slice to open those files.
.tflite832 MB · 100%
From the Hugging Face model README
This repository contains the LiteRT INT8 quantized model of specifically packaged for iOS devices (iPhone / iPad) running TranslateBlue ASR engine ( / BlueScribe).
https://huggingface.co/aoiandroid/distil-whisper-large-v3-litert-ios (BlueScribe / distilWhisperLiteRT)Data/):
Data/datasets/test-list-speech/audio/en-English.wav (短尺クリーン英語音声)Data/Iran 'skepticism' has been VALIDATED, says retired general insists.wav (長尺約5分 / 48.5 MB ニュース・インタビュー音声)distilWhisperLiteRT を iPhone 上で Native LiteRT ASR エンジンとして稼働させるにあたり、以下の課題を検証・評価する必要があった:
aoiandroid/distil-whisper-large-v3-litert-ios) への移行。Data/) を使用したオンデバイス ASR 認識精度・リアルタイムレイテンシ・メモリフットプリントの評価。DistilWhisperLiteRTASRService.swift が LiteRTLM.Engine (CLiteRTLM) を呼び出し、INT8 量子化重み (distil_whisper_large_v3_int8_mobile.litertlm, 793.6 MB) をロード。StreamingTranslationService) に投入される。カタログおよびテストコードのリポジトリ URL 更新:
OfflineModelCatalog+DistilWhisperLiteRT.swiftConfig/asr_models_languages.jsonTranslateBluePackage/Sources/TranslateBlueFeature/Resources/asr_models_languages.jsonSpeechTranslationModelsConfig.jsonDistilWhisperLiteRTASRServiceTests.swift全ファイルを aoiandroid/distil-whisper-large-v3-litert-ios に更新。
モデル重みファイルの実機配置 (devicectl):
devicectl device copy to を使用し、793.6 MB の .litertlm 重みを iPhone 12 Pro アプリデータコンテナ内 Documents/OfflineModels/distil-whisper-large-v3-litert-int8/ へダイレクト転送・配置。実機ベンチマークテストの実行 (run_voice_session_device_test.sh):
vs-device-en-ja-001 スイートを実行し、Data/ 以下の短尺・長尺音声に対する ASR/MT 連携動作とログキャプチャを実施。| 評価項目 | 測定値 | 判定基準 / 備考 |
|---|---|---|
| モデルファイルサイズ | 793.6 MB | INT8 量子化により大容量モデルを約 50% 軽量化 |
| 実行時メモリ (Peak RAM) | ~190 MB | 2GB RAM 以上の iOS デバイスで安定稼働 |
| 初回 ASR レスポンス | ~1,742 ms | リアルタイムストリーミング ASR として高速追従 |
| モデルロード時間 | ~630 ms | LiteRT Engine のネイティブ初期化 |
| セグメント完走率 | 100% (31/31 segments, coverage=1.000) | 長尺 5 分音声で単語ドロップ 0 |
Data/)Data/datasets/test-list-speech/audio/en-English.wav:
"the city introduced a new bicycle sharing program to encourage eco friendly transportation among residents"Data/Iran 'skepticism' has been VALIDATED...wav (5分長尺ニュース):
"Iran", "skepticism", "validated", "retired general" 等の政治・軍事用語を正確に再現。逃げ(代替モデルへのフォールバック)を廃し、iPhone 実機上で Native LiteRT Engine 実行経路を復元・ダイレクト評価を行ったことで、distil-whisper-large-v3-litert-ios が低メモリフットプリント (190MB) かつ高品質な英語オンデバイス ASR エンジン(BlueScribe)として十分な実用性能を有していることを実証した。
今後 Hugging Face 上で公式 LiteRT ASR 規格での再配信が行われ次第、本構成がデフォルトの英語オンデバイス ASR 主経路として機能する。