aoiandroid commited on
Commit
becf287
·
verified ·
1 Parent(s): 76f9647

Add files using upload-large-folder tool

Browse files
Files changed (2) hide show
  1. README.md +21 -31
  2. config.json +2 -1
README.md CHANGED
@@ -1,48 +1,38 @@
1
  ---
2
- license: other
3
- license_name: cc-by-nc-4.0
4
- license_link: https://creativecommons.org/licenses/by-nc/4.0/
5
- base_model: facebook/nllb-200-distilled-600M
6
  tags:
7
  - coreml
8
  - translation
9
- - multilingual
 
10
  - apple-silicon
11
- - quantized
12
  ---
13
 
14
- # NLLB-200 distilled 600M — Core ML (seq 256, palettized / pal8, ANE-oriented)
15
 
16
- Core ML packages for on-device translation with **KV-cache decoders**, exported from [`facebook/nllb-200-distilled-600M`](https://huggingface.co/facebook/nllb-200-distilled-600M).
17
 
18
  ## Contents
19
 
20
- | Path | Role |
21
- |------|------|
22
- | `NLLB_Encoder_256.mlpackage` | Encoder, max sequence length **256** |
23
- | `NLLB_Decoder_256_init.mlpackage` | Decoder first step (EOS prefix) |
24
- | `NLLB_Decoder_256_step.mlpackage` | Decoder autoregressive step with KV |
25
- | `tokenizer/` | Tokenizer assets aligned with NLLB |
26
- | `config.json` | Architecture metadata (`seq_len: 256`, `ane_optimized: true`) |
27
-
28
- Weights use **8-bit palettization (pal8)** for smaller size and Apple Neural Engine–friendly deployment.
29
-
30
- ## License
31
-
32
- The original NLLB distilled checkpoint is released under **CC-BY-NC 4.0** (non-commercial). This derivative export inherits the same restrictions. See the [NLLB model card](https://huggingface.co/facebook/nllb-200-distilled-600M).
33
-
34
- ## Intended use
35
 
36
- - iOS / macOS apps via `CoreML` / `MLModel`
37
- - Offline or on-device NMT with FLORES language codes (e.g. `jpn_Jpan` → `eng_Latn`)
38
 
39
- Not for training or redistribution that violates the base model license.
 
40
 
41
- ## Hub snapshot
42
 
43
- Published as: [aoiandroid/nllb200-coreml-256-ane-pal8](https://huggingface.co/aoiandroid/nllb200-coreml-256-ane-pal8) (same token cannot create repos under the `PoliteAI` namespace until that org grants write access or you upload from the PoliteAI account).
 
 
44
 
45
- ## Provenance
46
 
47
- - Source weights: `facebook/nllb-200-distilled-600M`
48
- - Format: Core ML `.mlpackage` (TranslateBlue export pipeline)
 
1
  ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - multilingual
 
5
  tags:
6
  - coreml
7
  - translation
8
+ - nllb
9
+ - on-device
10
  - apple-silicon
11
+ library_name: coreml
12
  ---
13
 
14
+ # NLLB-200 distilled 600M — Core ML KV (seq 256, palettized / pal8)
15
 
16
+ Core ML packages for **encoder** and **KV-cache decoder** (`init` + `step`) exported from `facebook/nllb-200-distilled-600M`, **sequence length 256**, **8-bit palettization (pal8)** for Apple Neural Engine–friendly deployment.
17
 
18
  ## Contents
19
 
20
+ - `NLLB_Encoder_256.mlpackage`
21
+ - `NLLB_Decoder_256_init.mlpackage`
22
+ - `NLLB_Decoder_256_step.mlpackage`
23
+ - `config.json`, bundled `tokenizer/` (reference)
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ ## Base model
 
26
 
27
+ - [facebook/nllb-200-distilled-600M](https://huggingface.co/facebook/nllb-200-distilled-600M)
28
+ - Original NLLB-200 licensing applies (**CC-BY-NC**). This repo only redistributes a derived Core ML export for on-device use.
29
 
30
+ ## Usage notes
31
 
32
+ - Intended for **macOS / iOS** inference via `MLModel` (or Python `coremltools` for tests).
33
+ - Source language is selected via tokenizer / `src_lang`; target via forced BOS (e.g. `eng_Latn`) in your app pipeline.
34
+ - Quality and parity should be validated on your target devices (ANE vs CPU/GPU paths may differ).
35
 
36
+ ## Organization
37
 
38
+ Published by [PoliteAI](https://huggingface.co/PoliteAI).
 
config.json CHANGED
@@ -40,6 +40,7 @@
40
  "LABEL_1": 1
41
  },
42
  "problem_type": null,
 
43
  "transformers_version": "5.3.0",
44
  "model_type": "m2m_100",
45
  "tokenizer_class": "NllbTokenizer",
@@ -47,4 +48,4 @@
47
  "seq_len": 256,
48
  "ane_optimized": true,
49
  "compute_units": "CPU_AND_NE"
50
- }
 
40
  "LABEL_1": 1
41
  },
42
  "problem_type": null,
43
+ "_name_or_path": "/Users/am/.cache/huggingface/hub/models--facebook--nllb-200-distilled-600M/snapshots/f8d333a098d19b4fd9a8b18f94170487ad3f821d",
44
  "transformers_version": "5.3.0",
45
  "model_type": "m2m_100",
46
  "tokenizer_class": "NllbTokenizer",
 
48
  "seq_len": 256,
49
  "ane_optimized": true,
50
  "compute_units": "CPU_AND_NE"
51
+ }