Parakeet Ultra β Adaptive Core ML (INT8)
A local Apple Silicon ASR package derived from Parakeet Ultra and the FluidInference Core ML conversion. The encoder has three statically specialized functions sharing quantized weights: short, medium and main. The original model, tokenizer, decoder, joint and preprocessor are unchanged. No retraining.
Package size: approximately 643 MB (original: 632 MB). The three functions add only about 11 MB, rather than duplicating the encoder weights. Core ML execution caches are additional.
Hardware and integration
- macOS 15+ is required by Core ML multi-function loading; tested on Apple M3 Pro, 18 GiB, macOS. iOS 18+ exposes the relevant API, but this package has not been validated on iOS, Intel Macs, Windows or Linux.
- Recommended compute units:
.cpuAndNeuralEnginefor the encoder, decoder and joint; CPU for the preprocessor. CPU-only and CPU+GPU inference were also smoke-tested on the M3 Pro (six profile requests per backend). - The default encoder function is
main(the original 15-second shape). A compatible FluidAudio loader can use it as a fixed-window model; adaptive routing must be implemented by the caller.
| Function | Internal mel width | Maximum aligned, normalized PCM samples | Audio duration |
|---|---|---|---|
| short | 513 | 79,360 | 4.96 s |
| medium | 1025 | 161,280 | 10.08 s |
| main | 1501 | 240,000 | 15 s |
All functions accept the original input contract mel [1,128,1501] and mel_length [1]. Choose the profile using the actual number of samples after resampling to 16 kHz mono and rounding up to a 1,280-sample boundary. The short and medium routing limits deliberately preserve right-context headroom; do not route based purely on the physical graph width. Long recordings use the main function and FluidAudio's normal chunking. Retry the main function on failed or empty compact decoding.
import CoreML
let alignedSamples = ((normalizedSamples.count + 1279) / 1280) * 1280
let function = alignedSamples <= 79_360 ? "short"
: alignedSamples <= 161_280 ? "medium" : "main"
let configuration = MLModelConfiguration()
configuration.computeUnits = .cpuAndNeuralEngine
configuration.functionName = function
let encoder = try MLModel(contentsOf: encoderURL, configuration: configuration)
Use the original FluidAudio Ultra TDT component contract and vocabulary to decode the output. Precompile/prewarm selected profiles during model preparation; first-time Core ML graph preparation may take much longer than cached startup. See config.json for the routing contract and manifest.json for exact asset SHA-256 hashes and byte sizes.
Validation
Local evaluation on the same M3 Pro. The candidate matched original Ultra text and token IDs/timestamps on 408 recordings (240 FLEURS clips across ten languages, 163 short Russian clips and five natural meetings), 150 boundary stress cases and eight resampling cases (44.1/48 kHz). All 120 interleaved timing pairs also matched text and token timing. These are finite tests, not a guarantee of parity for every audio input.
| Duration profile | Original encoder p50 | Adaptive encoder p50 | Original complete request p50 | Adaptive complete request p50 |
|---|---|---|---|---|
| Short | 31.91 ms | 12.84 ms | 68.7 ms | 50.4 ms |
| Medium | 28.84 ms | 25.20 ms | 129.5 ms | 133.5 ms |
| Main | 28.81 ms | 28.84 ms | 161.4 ms | 163.6 ms |
The encoder-only tests alternate 20 predictions using one real input per profile; full-request pairs use 60 short, 40 medium and 20 main recordings, with sequential interleaved requests on resident workers. The system was under background load. The meaningful observed end-to-end gain is for short requests (about 27% lower median); no general speedup is claimed for longer files.
For comparison with adaptive GigaAM Multilingual-v2 on the same local data:
| Set | Adaptive Ultra WER | GigaAM WER |
|---|---|---|
| FLEURS holdout, 160 recordings / ten languages | 5.23% | 3.60% |
| Short Russian, 163 recordings | 20.50% | 13.08% |
| Five natural Russian meetings | 20.73% | 17.64% |
The model supports the upstream 25 languages; not all were independently validated by this conversion. Optimizing input shapes is not a new accuracy improvement. The model is a particularly attractive compact default for English and Spanish; language recommendations depend on the application and competing models.
Provenance
- Ultra source: moondream/parakeet-ultra, pinned revision.
- Original Core ML components: FluidInference/parakeet-ultra-coreml, pinned revision.
- Base encoder architecture: NVIDIA Parakeet TDT 0.6B v3, pinned configuration extracted from revision
541d1f99c6b0c3cd0b11a95167540bb8edefd82b. Only Ultra weights are used in the new encoder. - Conversion mapping: FluidInference/mobius, pinned revision. NeMo 2.3.1, Torch 2.7.0, CoreMLTools 9.0b1. Data-free symmetric per-channel INT8 weight quantization.
- The re-exported fixed 15-second control encoder weight file matched the original published Core ML weight file byte-for-byte before merging the three functions.
License: CC BY 4.0, inherited from the upstream checkpoint. See ATTRIBUTION.md. This is an independent adaptive conversion, not an official release by the upstream authors.
- Downloads last month
- -
Model tree for ilsvls/parakeet-ultra-adaptive-coreml
Base model
moondream/parakeet-ultra