aoiandroid/nllb200-coreml-256-ane
055
NLLB-200 distilled 600M — Core ML (seq 256, ANE, float32)
Core ML .mlpackage bundles for encoder and KV-cache decoder (init + step), exported from `facebook/nllb-200-distilled-600M`. Fixed sequence length 256, ANE-oriented graph, float32 weights (no palettization in this revision).
Contents
Companion variant
- Palettized (pal8) weights (smaller on disk, different quality/latency tradeoffs): `aoiandroid/nllb200-coreml-256-ane-pal8`
Config highlights (config.json)
model_type:m2m_100/M2M100ForConditionalGenerationseq_len: 256ane_optimized: truecompute_units: CPU_AND_NEdtype: float32
Base model and license
- Source weights: NLLB-200 distilled 600M (Meta / FAIR).
- Original terms are CC-BY-NC 4.0. This repository only ships a derived Core ML export for on-device use; the same license restrictions apply.
Intended use
- macOS / iOS on-device translation via
MLModel(orcoremltoolsin Python for validation). - Language direction is controlled in your app: tokenizer
src_lang, forced target BOS (e.g.eng_Latn), and your beam/greedy loop aroundDecoder_256_step. - Validate quality and performance on your target hardware (ANE vs CPU/GPU behavior can differ).
Limitations
- Fixed max sequence length 256 at export time; longer inputs require truncation or a different export.
- Not a drop-in Hugging Face
transformerscheckpoint; this is a split Core ML deployment (encoder + decoder packages).
