GigaAM-v4 Adaptive Core ML (FP16)
An independent Apple Silicon conversion of GigaAM-v4 RNN-T for the native GigaAM runtime in Dictate it. This package supports Russian and English, shares the original decoder and acoustic weights, and has four static Core ML encoder functions selected by the runtime. No retraining or weight quantization.
Portable asset size: 499,383,624 bytes (~499 MB), only ~1.6 MB larger than the previous fixed-window GigaAM-v4 Core ML package. The compiled models and OS device caches occupy additional storage.
Encoder profiles and backend
| Function | Maximum mel frames | Nominal window |
|---|---|---|
| short | 512 | 5.12 s |
| main | 1024 | 10.24 s |
| medium | 2048 | 20.48 s |
| long | 3072 | 30.72 s |
The runtime uses pause-aware segmentation and chooses the shortest suitable window, with a maximum speech segment of 29.9 s. All four functions share a single FP16 encoder weight blob. The previously published 1024-frame graph is reused as the main function; the other static graphs were exported from the pinned original checkpoint.
Requires macOS 15+ for Core ML multifunction loading. Tested on Apple M3 Pro, 18 GiB. MLComputePlan reports 1511 preferred ANE non-constant operations and zero preferred CPU operations in both tested short and long graphs. Native CPU fallback passed a four-request smoke test. Other Macs, iOS, Windows, Linux and Android have not been qualified by this experiment.
Runtime contract
This is a portable native GigaAM model package, not a standalone Transformers checkpoint. See FORMAT.md, runtime.json, the encoder manifests, and checksummed release.json. The runtime compiles and prewarms the shared profiles during model preparation. The entire directory must be kept together.
Use the compatible native GigaAM Core ML helper:
gigaam-runtime /path/to/model --prepare
printf '%s\n' '{"path":"/path/to/audio.wav","language":"ru"}' | gigaam-runtime /path/to/model
Use the appropriate language (ru/en), or auto per runtime policy. First-time Core ML preparation took about 41 s on the test machine; this is not warm inference latency.
Validation
300 identical RU/EN recordings tested against the original fixed 1024-frame FP16 package. WER ignores punctuation/case and normalizes Russian Ρ. Small test samples, not universal rankings.
| Corpus | Fixed v4 WER | Adaptive v4 WER |
|---|---|---|
| 163 short Russian clips | 13.33% | 13.33% |
| 84 medium Russian clips | 4.39% | 3.90% |
| 24 Russian FLEURS | 5.11% | 4.44% |
| 24 English FLEURS | 5.88% | 5.31% |
| Five natural Russian meetings | 16.15% | 15.66% |
| All 300 common clips | 12.21% | 11.76% |
All 163 short outputs matched text, raw transcription and word timing exactly. All 300 completed without worker errors and returned bounded, monotonic word times. Long-context output can differ due to segmentation. Public lexical end times depend on the host runtime; a separate experimental punctuation-timing correction was tested, but is not included in the weight package.
Paired encoder-only synthetic fixture (20 alternating predictions, 464 valid mel frames): fixed 1024 frame graph 13.15 ms median β adaptive 512 frame graph 9.20 ms, identical valid output tensor. Short native WAV-to-JSON median 18.2 β 13.4 ms in sequential runs with changing background load. These figures are not live microphone insertion latency or a device-wide energy or RAM measurement.
Provenance
- Source: ai-sage/GigaAM-v4, pinned revision.
- Fixed Core ML control/main graph and runtime component assets: ilsvls/gigaam-v4-coreml, pinned revision.
- Conversion: PyTorch 2.15.0, Core ML Tools 9.0, static graph export followed by shared-weight multifunction packaging.
- License: MIT, inherited from upstream; original LICENSE preserved. Independent conversion, not an official upstream release.
- Downloads last month
- 12
Model tree for ilsvls/gigaam-v4-adaptive-coreml
Base model
ai-sage/GigaAM-v4