Views
No views yet
Miwa-Keita/zenz-v3.1-small for Apple platforms.Artifacts/stateless/zenz-stateless-fp16.mlpackageArtifacts/stateless/zenz-stateless-8bit.mlpackageArtifacts/stateful/zenz-stateful-fp16.mlpackageArtifacts/stateful/zenz-stateful-8bit.mlpackagetokenizer/*hf_manifest.jsonstateless is the whole-sequence baseline.stateful is the single-model cached generation path.keyCachevalueCacheattention_mask that reflects the active sequence length during decodestateless: .allstateful: .cpuAndGPU| Device | Stateful FP16 | Stateful 8-bit |
|---|---|---|
| iPhone Air | 0.436 | 0.431 |
| iPhone 12 | 1.124 | 1.041 |
iPhone 15 Pro and newer: use Stateful FP16 first.iPhone 15 Pro: use the Stateful 8-bit model first.8-bit was slightly faster on mean latency than FP16.8-bit was faster on mean latency than FP16.FP16 run under .all showed degraded outputs while the recorded 8-bit run remained correct.stateful running under .cpuAndGPU, not .all.FP16 is the better top-end option when the device can sustain it cleanly, but 8-bit is the safer deployment default once you care about broader keyboard coverage.FP16 is the premium path, 8-bit is the compatibility path.1python -m pip install -r requirements.txt
2python Scripts/export_all.py1python convert-to-CoreML.py
2python convert-to-CoreML-Stateful.py