Add opus-mt exports
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -35
- LICENSE +7 -0
- README.md +173 -0
- config.json +0 -0
- de_en/coreml/config.json +0 -0
- de_en/coreml/opus_mt_de_en_coreml_fp16.pte +3 -0
- de_en/mlx/config.json +0 -0
- de_en/mlx/opus_mt_de_en_mlx_bf16.pte +3 -0
- de_en/mlx/opus_mt_de_en_mlx_int8.pte +3 -0
- de_en/tokenizer.json +0 -0
- de_en/vulkan/config.json +0 -0
- de_en/vulkan/opus_mt_de_en_vulkan_fp16.pte +3 -0
- de_en/xnnpack/config.json +0 -0
- de_en/xnnpack/opus_mt_de_en_xnnpack_fp32.pte +3 -0
- de_en/xnnpack/opus_mt_de_en_xnnpack_int8.pte +3 -0
- en_de/coreml/config.json +0 -0
- en_de/coreml/opus_mt_en_de_coreml_fp16.pte +3 -0
- en_de/mlx/config.json +0 -0
- en_de/mlx/opus_mt_en_de_mlx_bf16.pte +3 -0
- en_de/mlx/opus_mt_en_de_mlx_int8.pte +3 -0
- en_de/tokenizer.json +0 -0
- en_de/vulkan/config.json +0 -0
- en_de/vulkan/opus_mt_en_de_vulkan_fp16.pte +3 -0
- en_de/xnnpack/config.json +0 -0
- en_de/xnnpack/opus_mt_en_de_xnnpack_fp32.pte +3 -0
- en_de/xnnpack/opus_mt_en_de_xnnpack_int8.pte +3 -0
- en_es/coreml/config.json +0 -0
- en_es/coreml/opus_mt_en_es_coreml_fp16.pte +3 -0
- en_es/mlx/config.json +0 -0
- en_es/mlx/opus_mt_en_es_mlx_bf16.pte +3 -0
- en_es/mlx/opus_mt_en_es_mlx_int8.pte +3 -0
- en_es/tokenizer.json +0 -0
- en_es/vulkan/config.json +0 -0
- en_es/vulkan/opus_mt_en_es_vulkan_fp16.pte +3 -0
- en_es/xnnpack/config.json +0 -0
- en_es/xnnpack/opus_mt_en_es_xnnpack_fp32.pte +3 -0
- en_es/xnnpack/opus_mt_en_es_xnnpack_int8.pte +3 -0
- en_fr/coreml/config.json +0 -0
- en_fr/coreml/opus_mt_en_fr_coreml_fp16.pte +3 -0
- en_fr/mlx/config.json +0 -0
- en_fr/mlx/opus_mt_en_fr_mlx_bf16.pte +3 -0
- en_fr/mlx/opus_mt_en_fr_mlx_int8.pte +3 -0
- en_fr/tokenizer.json +0 -0
- en_fr/vulkan/config.json +0 -0
- en_fr/vulkan/opus_mt_en_fr_vulkan_fp16.pte +3 -0
- en_fr/xnnpack/config.json +0 -0
- en_fr/xnnpack/opus_mt_en_fr_xnnpack_fp32.pte +3 -0
- en_fr/xnnpack/opus_mt_en_fr_xnnpack_int8.pte +3 -0
- es_en/coreml/config.json +0 -0
- es_en/coreml/opus_mt_es_en_coreml_fp16.pte +3 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,2 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.pte filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.json -filter -diff -merge text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This repository bundles models under two licenses:
|
| 2 |
+
|
| 3 |
+
- en_de: Creative Commons Attribution 4.0 International (CC-BY-4.0),
|
| 4 |
+
https://creativecommons.org/licenses/by/4.0/ . Attribution: Helsinki-NLP
|
| 5 |
+
Opus-MT, https://huggingface.co/Helsinki-NLP/opus-mt-en-de
|
| 6 |
+
- de_en, en_es, es_en, en_fr, fr_en: Apache License 2.0,
|
| 7 |
+
https://www.apache.org/licenses/LICENSE-2.0
|
README.md
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: apache-2.0-and-cc-by-4.0
|
| 4 |
+
license_link: LICENSE
|
| 5 |
+
pipeline_tag: translation
|
| 6 |
+
library_name: executorch
|
| 7 |
+
language: [en, de, es, fr]
|
| 8 |
+
base_model:
|
| 9 |
+
- Helsinki-NLP/opus-mt-en-de
|
| 10 |
+
- Helsinki-NLP/opus-mt-de-en
|
| 11 |
+
- Helsinki-NLP/opus-mt-en-es
|
| 12 |
+
- Helsinki-NLP/opus-mt-es-en
|
| 13 |
+
- Helsinki-NLP/opus-mt-en-fr
|
| 14 |
+
- Helsinki-NLP/opus-mt-fr-en
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# opus-mt
|
| 18 |
+
|
| 19 |
+
This repository hosts the **opus-mt** models exported for the
|
| 20 |
+
[React Native ExecuTorch](https://www.npmjs.com/package/react-native-executorch)
|
| 21 |
+
library as ExecuTorch `.pte` programs, ready to run on device.
|
| 22 |
+
|
| 23 |
+
## Variants
|
| 24 |
+
|
| 25 |
+
| Path | Backend | Precision |
|
| 26 |
+
| --- | --- | --- |
|
| 27 |
+
| `en_de/xnnpack/opus_mt_en_de_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 28 |
+
| `en_de/xnnpack/opus_mt_en_de_xnnpack_int8.pte` | xnnpack | int8 |
|
| 29 |
+
| `en_de/coreml/opus_mt_en_de_coreml_fp16.pte` | coreml | fp16 |
|
| 30 |
+
| `en_de/mlx/opus_mt_en_de_mlx_bf16.pte` | mlx | bf16 |
|
| 31 |
+
| `en_de/mlx/opus_mt_en_de_mlx_int8.pte` | mlx | int8 |
|
| 32 |
+
| `en_de/vulkan/opus_mt_en_de_vulkan_fp16.pte` | vulkan | fp16 |
|
| 33 |
+
| `de_en/xnnpack/opus_mt_de_en_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 34 |
+
| `de_en/xnnpack/opus_mt_de_en_xnnpack_int8.pte` | xnnpack | int8 |
|
| 35 |
+
| `de_en/coreml/opus_mt_de_en_coreml_fp16.pte` | coreml | fp16 |
|
| 36 |
+
| `de_en/mlx/opus_mt_de_en_mlx_bf16.pte` | mlx | bf16 |
|
| 37 |
+
| `de_en/mlx/opus_mt_de_en_mlx_int8.pte` | mlx | int8 |
|
| 38 |
+
| `de_en/vulkan/opus_mt_de_en_vulkan_fp16.pte` | vulkan | fp16 |
|
| 39 |
+
| `en_es/xnnpack/opus_mt_en_es_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 40 |
+
| `en_es/xnnpack/opus_mt_en_es_xnnpack_int8.pte` | xnnpack | int8 |
|
| 41 |
+
| `en_es/coreml/opus_mt_en_es_coreml_fp16.pte` | coreml | fp16 |
|
| 42 |
+
| `en_es/mlx/opus_mt_en_es_mlx_bf16.pte` | mlx | bf16 |
|
| 43 |
+
| `en_es/mlx/opus_mt_en_es_mlx_int8.pte` | mlx | int8 |
|
| 44 |
+
| `en_es/vulkan/opus_mt_en_es_vulkan_fp16.pte` | vulkan | fp16 |
|
| 45 |
+
| `es_en/xnnpack/opus_mt_es_en_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 46 |
+
| `es_en/xnnpack/opus_mt_es_en_xnnpack_int8.pte` | xnnpack | int8 |
|
| 47 |
+
| `es_en/coreml/opus_mt_es_en_coreml_fp16.pte` | coreml | fp16 |
|
| 48 |
+
| `es_en/mlx/opus_mt_es_en_mlx_bf16.pte` | mlx | bf16 |
|
| 49 |
+
| `es_en/mlx/opus_mt_es_en_mlx_int8.pte` | mlx | int8 |
|
| 50 |
+
| `es_en/vulkan/opus_mt_es_en_vulkan_fp16.pte` | vulkan | fp16 |
|
| 51 |
+
| `en_fr/xnnpack/opus_mt_en_fr_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 52 |
+
| `en_fr/xnnpack/opus_mt_en_fr_xnnpack_int8.pte` | xnnpack | int8 |
|
| 53 |
+
| `en_fr/coreml/opus_mt_en_fr_coreml_fp16.pte` | coreml | fp16 |
|
| 54 |
+
| `en_fr/mlx/opus_mt_en_fr_mlx_bf16.pte` | mlx | bf16 |
|
| 55 |
+
| `en_fr/mlx/opus_mt_en_fr_mlx_int8.pte` | mlx | int8 |
|
| 56 |
+
| `en_fr/vulkan/opus_mt_en_fr_vulkan_fp16.pte` | vulkan | fp16 |
|
| 57 |
+
| `fr_en/xnnpack/opus_mt_fr_en_xnnpack_fp32.pte` | xnnpack | fp32 |
|
| 58 |
+
| `fr_en/xnnpack/opus_mt_fr_en_xnnpack_int8.pte` | xnnpack | int8 |
|
| 59 |
+
| `fr_en/coreml/opus_mt_fr_en_coreml_fp16.pte` | coreml | fp16 |
|
| 60 |
+
| `fr_en/mlx/opus_mt_fr_en_mlx_bf16.pte` | mlx | bf16 |
|
| 61 |
+
| `fr_en/mlx/opus_mt_fr_en_mlx_int8.pte` | mlx | int8 |
|
| 62 |
+
| `fr_en/vulkan/opus_mt_fr_en_vulkan_fp16.pte` | vulkan | fp16 |
|
| 63 |
+
|
| 64 |
+
## Repository structure
|
| 65 |
+
|
| 66 |
+
```
|
| 67 |
+
LICENSE 360 B
|
| 68 |
+
config.json 29 B
|
| 69 |
+
de_en/coreml/config.json 5.5 kB
|
| 70 |
+
de_en/coreml/opus_mt_de_en_coreml_fp16.pte 313.6 MB
|
| 71 |
+
de_en/mlx/config.json 10.6 kB
|
| 72 |
+
de_en/mlx/opus_mt_de_en_mlx_bf16.pte 148.9 MB
|
| 73 |
+
de_en/mlx/opus_mt_de_en_mlx_int8.pte 135.8 MB
|
| 74 |
+
de_en/tokenizer.json 2.4 MB
|
| 75 |
+
de_en/vulkan/config.json 5.5 kB
|
| 76 |
+
de_en/vulkan/opus_mt_de_en_vulkan_fp16.pte 129.3 MB
|
| 77 |
+
de_en/xnnpack/config.json 10.6 kB
|
| 78 |
+
de_en/xnnpack/opus_mt_de_en_xnnpack_fp32.pte 416.8 MB
|
| 79 |
+
de_en/xnnpack/opus_mt_de_en_xnnpack_int8.pte 107.0 MB
|
| 80 |
+
en_de/coreml/config.json 5.4 kB
|
| 81 |
+
en_de/coreml/opus_mt_en_de_coreml_fp16.pte 313.6 MB
|
| 82 |
+
en_de/mlx/config.json 10.6 kB
|
| 83 |
+
en_de/mlx/opus_mt_en_de_mlx_bf16.pte 148.9 MB
|
| 84 |
+
en_de/mlx/opus_mt_en_de_mlx_int8.pte 135.8 MB
|
| 85 |
+
en_de/tokenizer.json 2.4 MB
|
| 86 |
+
en_de/vulkan/config.json 5.4 kB
|
| 87 |
+
en_de/vulkan/opus_mt_en_de_vulkan_fp16.pte 129.3 MB
|
| 88 |
+
en_de/xnnpack/config.json 10.6 kB
|
| 89 |
+
en_de/xnnpack/opus_mt_en_de_xnnpack_fp32.pte 416.8 MB
|
| 90 |
+
en_de/xnnpack/opus_mt_en_de_xnnpack_int8.pte 107.0 MB
|
| 91 |
+
en_es/coreml/config.json 5.5 kB
|
| 92 |
+
en_es/coreml/opus_mt_en_es_coreml_fp16.pte 334.8 MB
|
| 93 |
+
en_es/mlx/config.json 10.6 kB
|
| 94 |
+
en_es/mlx/opus_mt_en_es_mlx_bf16.pte 156.0 MB
|
| 95 |
+
en_es/mlx/opus_mt_en_es_mlx_int8.pte 146.5 MB
|
| 96 |
+
en_es/tokenizer.json 2.7 MB
|
| 97 |
+
en_es/vulkan/config.json 5.5 kB
|
| 98 |
+
en_es/vulkan/opus_mt_en_es_vulkan_fp16.pte 136.4 MB
|
| 99 |
+
en_es/xnnpack/config.json 10.6 kB
|
| 100 |
+
en_es/xnnpack/opus_mt_en_es_xnnpack_fp32.pte 445.1 MB
|
| 101 |
+
en_es/xnnpack/opus_mt_en_es_xnnpack_int8.pte 114.1 MB
|
| 102 |
+
en_fr/coreml/config.json 5.5 kB
|
| 103 |
+
en_fr/coreml/opus_mt_en_fr_coreml_fp16.pte 318.0 MB
|
| 104 |
+
en_fr/mlx/config.json 10.6 kB
|
| 105 |
+
en_fr/mlx/opus_mt_en_fr_mlx_bf16.pte 150.4 MB
|
| 106 |
+
en_fr/mlx/opus_mt_en_fr_mlx_int8.pte 138.0 MB
|
| 107 |
+
en_fr/tokenizer.json 2.4 MB
|
| 108 |
+
en_fr/vulkan/config.json 5.5 kB
|
| 109 |
+
en_fr/vulkan/opus_mt_en_fr_vulkan_fp16.pte 130.7 MB
|
| 110 |
+
en_fr/xnnpack/config.json 10.6 kB
|
| 111 |
+
en_fr/xnnpack/opus_mt_en_fr_xnnpack_fp32.pte 422.6 MB
|
| 112 |
+
en_fr/xnnpack/opus_mt_en_fr_xnnpack_int8.pte 108.4 MB
|
| 113 |
+
es_en/coreml/config.json 5.5 kB
|
| 114 |
+
es_en/coreml/opus_mt_es_en_coreml_fp16.pte 334.8 MB
|
| 115 |
+
es_en/mlx/config.json 10.6 kB
|
| 116 |
+
es_en/mlx/opus_mt_es_en_mlx_bf16.pte 156.0 MB
|
| 117 |
+
es_en/mlx/opus_mt_es_en_mlx_int8.pte 146.5 MB
|
| 118 |
+
es_en/tokenizer.json 2.7 MB
|
| 119 |
+
es_en/vulkan/config.json 5.5 kB
|
| 120 |
+
es_en/vulkan/opus_mt_es_en_vulkan_fp16.pte 136.4 MB
|
| 121 |
+
es_en/xnnpack/config.json 10.6 kB
|
| 122 |
+
es_en/xnnpack/opus_mt_es_en_xnnpack_fp32.pte 445.1 MB
|
| 123 |
+
es_en/xnnpack/opus_mt_es_en_xnnpack_int8.pte 114.1 MB
|
| 124 |
+
fr_en/coreml/config.json 5.5 kB
|
| 125 |
+
fr_en/coreml/opus_mt_fr_en_coreml_fp16.pte 318.0 MB
|
| 126 |
+
fr_en/mlx/config.json 10.6 kB
|
| 127 |
+
fr_en/mlx/opus_mt_fr_en_mlx_bf16.pte 150.4 MB
|
| 128 |
+
fr_en/mlx/opus_mt_fr_en_mlx_int8.pte 138.0 MB
|
| 129 |
+
fr_en/tokenizer.json 2.4 MB
|
| 130 |
+
fr_en/vulkan/config.json 5.5 kB
|
| 131 |
+
fr_en/vulkan/opus_mt_fr_en_vulkan_fp16.pte 130.7 MB
|
| 132 |
+
fr_en/xnnpack/config.json 10.6 kB
|
| 133 |
+
fr_en/xnnpack/opus_mt_fr_en_xnnpack_fp32.pte 422.6 MB
|
| 134 |
+
fr_en/xnnpack/opus_mt_fr_en_xnnpack_int8.pte 108.4 MB
|
| 135 |
+
```
|
| 136 |
+
|
| 137 |
+
## Compatibility
|
| 138 |
+
|
| 139 |
+
These files are published for the **ExecuTorch v1.4.1** runtime. ExecuTorch
|
| 140 |
+
gives no forward compatibility guarantee, so an older runtime may fail to load
|
| 141 |
+
them.
|
| 142 |
+
|
| 143 |
+
To use them in React Native ExecuTorch, pass the model constant shipped in the
|
| 144 |
+
library's model registry to the corresponding task pipeline. See the
|
| 145 |
+
[documentation](https://docs.swmansion.com/react-native-executorch/docs/fundamentals/downloading-models).
|
| 146 |
+
|
| 147 |
+
To load these files in your own ExecuTorch runtime, read the
|
| 148 |
+
[compatibility note](https://github.com/pytorch/executorch/blob/main/runtime/COMPATIBILITY.md)
|
| 149 |
+
first.
|
| 150 |
+
|
| 151 |
+
## Upstream models and licenses
|
| 152 |
+
|
| 153 |
+
Each directory is one language pair with its own upstream model and license.
|
| 154 |
+
`en_de` is CC-BY 4.0 and requires attribution to Helsinki-NLP Opus-MT.
|
| 155 |
+
|
| 156 |
+
| Directory | Upstream | License |
|
| 157 |
+
| --- | --- | --- |
|
| 158 |
+
| `en_de` | [Helsinki-NLP/opus-mt-en-de](https://huggingface.co/Helsinki-NLP/opus-mt-en-de) | cc-by-4.0 |
|
| 159 |
+
| `de_en` | [Helsinki-NLP/opus-mt-de-en](https://huggingface.co/Helsinki-NLP/opus-mt-de-en) | apache-2.0 |
|
| 160 |
+
| `en_es` | [Helsinki-NLP/opus-mt-en-es](https://huggingface.co/Helsinki-NLP/opus-mt-en-es) | apache-2.0 |
|
| 161 |
+
| `es_en` | [Helsinki-NLP/opus-mt-es-en](https://huggingface.co/Helsinki-NLP/opus-mt-es-en) | apache-2.0 |
|
| 162 |
+
| `en_fr` | [Helsinki-NLP/opus-mt-en-fr](https://huggingface.co/Helsinki-NLP/opus-mt-en-fr) | apache-2.0 |
|
| 163 |
+
| `fr_en` | [Helsinki-NLP/opus-mt-fr-en](https://huggingface.co/Helsinki-NLP/opus-mt-fr-en) | apache-2.0 |
|
| 164 |
+
|
| 165 |
+
## Export notes
|
| 166 |
+
|
| 167 |
+
Each `.pte` has two methods: `encode` returns the cross-attention keys and
|
| 168 |
+
values of all decoder layers, and `decode` runs one greedy step against a
|
| 169 |
+
256-token self-attention cache held in the program. The tokenizer adds no
|
| 170 |
+
`</s>`; append it, start decoding from `<pad>` and stop at `</s>`. Core ML
|
| 171 |
+
encodes in fp16 on all compute units and decodes in fp32 on the CPU, because
|
| 172 |
+
Core ML's fp16 state corrupts the cache. The Vulkan variant runs the encoder on
|
| 173 |
+
the GPU and the decoder on XNNPACK int8.
|
config.json
ADDED
|
Binary file (29 Bytes). View file
|
|
|
de_en/coreml/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
de_en/coreml/opus_mt_de_en_coreml_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9d38cc0ed7af5bf488ac2e0f07eebb273d7428570835d071ee9ac983a67914e
|
| 3 |
+
size 313623341
|
de_en/mlx/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
de_en/mlx/opus_mt_de_en_mlx_bf16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a55547ee440e87fcdd3a5d59a6461cfd0e4b60b8850a7c21ead47d3ab1ef2745
|
| 3 |
+
size 148918506
|
de_en/mlx/opus_mt_de_en_mlx_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:020f4e120e0cf69abdae9f2a0afd48a12ba7df53905bb82e37aabffeb1df58d7
|
| 3 |
+
size 135845120
|
de_en/tokenizer.json
ADDED
|
Binary file (2.36 MB). View file
|
|
|
de_en/vulkan/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
de_en/vulkan/opus_mt_de_en_vulkan_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6af8b91624b4c9abe9d74b6a05f9910bd0bd38c9242e3c07a57f83b23a487e33
|
| 3 |
+
size 129254740
|
de_en/xnnpack/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
de_en/xnnpack/opus_mt_de_en_xnnpack_fp32.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc38f6ee3706a3bb0853dc6be1e6956d6791cdfcbd29f1104c1e72903c237e7d
|
| 3 |
+
size 416786004
|
de_en/xnnpack/opus_mt_de_en_xnnpack_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:637859a0f3aeeb5b5f18ed66477f492579dd681d14ee7683d0169f312c42653a
|
| 3 |
+
size 106952020
|
en_de/coreml/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_de/coreml/opus_mt_en_de_coreml_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69d2015429da9d13abe190ff435467bd9fafe7ceb27bdd6995c51ed426ca267e
|
| 3 |
+
size 313623341
|
en_de/mlx/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_de/mlx/opus_mt_en_de_mlx_bf16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2043f502b1a76a80225b60d0c1660c0380398174f2432a4862cf701047b15f4d
|
| 3 |
+
size 148918506
|
en_de/mlx/opus_mt_en_de_mlx_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f81efa7c2d98906e52a049e2e8f7e4ddb60891448928ca0e65aafbf7bc4b9be9
|
| 3 |
+
size 135845120
|
en_de/tokenizer.json
ADDED
|
Binary file (2.36 MB). View file
|
|
|
en_de/vulkan/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_de/vulkan/opus_mt_en_de_vulkan_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd6ceadef0226c06b2a190b62abaf32b8c95414bff59df4838a66c3680a979d5
|
| 3 |
+
size 129254740
|
en_de/xnnpack/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_de/xnnpack/opus_mt_en_de_xnnpack_fp32.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f722e39388b5060134899e77e966edefcb9e150b1d1f71becfc3ec3f514c635f
|
| 3 |
+
size 416786004
|
en_de/xnnpack/opus_mt_en_de_xnnpack_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09e6a60ff021f41256a0f881aa2e5fb66067587ebd354721f37056a191062cbb
|
| 3 |
+
size 106952020
|
en_es/coreml/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_es/coreml/opus_mt_en_es_coreml_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dbb45583caa55aa154075c9000ddec49f0d0d273fe3906fea835a6f6f195981
|
| 3 |
+
size 334847755
|
en_es/mlx/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_es/mlx/opus_mt_en_es_mlx_bf16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01a90618dc9044ad8af4b87411542eb744c077a335d65ef6bb1f7c3a0d1ffed1
|
| 3 |
+
size 155997906
|
en_es/mlx/opus_mt_en_es_mlx_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6b75da51d10e52fb9440571c19010aaa71a4fc5fbdddc5bb1d26965a2171d2b
|
| 3 |
+
size 146512512
|
en_es/tokenizer.json
ADDED
|
Binary file (2.67 MB). View file
|
|
|
en_es/vulkan/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_es/vulkan/opus_mt_en_es_vulkan_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1090c247d3e2e2fd6a148d4933f8802a0e621ed5bc82aae21bb567d271205364
|
| 3 |
+
size 136403108
|
en_es/xnnpack/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_es/xnnpack/opus_mt_en_es_xnnpack_fp32.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81bb8d13a5bd08c3b55fe8f1b7ae30cb829b5502f62f1346574c6341c8cbb935
|
| 3 |
+
size 445076004
|
en_es/xnnpack/opus_mt_en_es_xnnpack_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf4dfab113cfb421c61b3576ad43e03440e8dd3bdb51f5a675a828ca214e3fff
|
| 3 |
+
size 114100388
|
en_fr/coreml/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_fr/coreml/opus_mt_en_fr_coreml_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:268b212402567bc52e23efedf4146eda2ef686e5c2ed7077eba26731ced4d222
|
| 3 |
+
size 317969715
|
en_fr/mlx/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_fr/mlx/opus_mt_en_fr_mlx_bf16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea9d5f65a8169c4f8bda6e442a150bff7ca31bba20d99fd697f500a2a254a8ec
|
| 3 |
+
size 150368244
|
en_fr/mlx/opus_mt_en_fr_mlx_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19499664133a66fa343eb2a37d8ac7ee4484be8b786faedeaf0141ecae5c0be0
|
| 3 |
+
size 138029568
|
en_fr/tokenizer.json
ADDED
|
Binary file (2.38 MB). View file
|
|
|
en_fr/vulkan/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
en_fr/vulkan/opus_mt_en_fr_vulkan_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb6174fd6c60f01974b6c7a6d9ec5843141b9054d9806c178183e9d89e7db982
|
| 3 |
+
size 130718568
|
en_fr/xnnpack/config.json
ADDED
|
Binary file (10.6 kB). View file
|
|
|
en_fr/xnnpack/opus_mt_en_fr_xnnpack_fp32.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7338e93648ea0f64a545afb2bcfaedbc6688047301a8e2a160210c5d04e7023
|
| 3 |
+
size 422579304
|
en_fr/xnnpack/opus_mt_en_fr_xnnpack_int8.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6939b1e8d086e74345c8d4e6df5104029669b60b95d5e0630310affc5a5292ad
|
| 3 |
+
size 108415848
|
es_en/coreml/config.json
ADDED
|
Binary file (5.45 kB). View file
|
|
|
es_en/coreml/opus_mt_es_en_coreml_fp16.pte
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c7b851436f2f0514bbe1ba80495de40c9afb228dca7fdc075b65d18261b28d0
|
| 3 |
+
size 334847755
|