AmerAlreyahi commited on
Commit
7abbf00
ยท
verified ยท
1 Parent(s): 2388880

Add OptimaMT ar-es

Browse files
Files changed (1) hide show
  1. README.md +7 -2
README.md CHANGED
@@ -15,14 +15,19 @@ tags:
15
 
16
  # OptimaMT ar โ†’ es (Arabic to Spanish)
17
 
18
- Drop-in copy of an ONNX export of [Helsinki-NLP/opus-mt-ar-es](https://huggingface.co/Helsinki-NLP/opus-mt-ar-es) at revision `da86e973e723` (same layout as the Xenova exports) with a lighter merged decoder: same weights, same tokens, less memory.
19
- Part of [OptimaMT](https://github.com/AmerAlreyahi/OptimaMT) (49 pairs, `OptimaMT/<src>-<tgt>`).
 
 
 
20
 
21
  | Memory after load | Linux | Windows | Identical tokens |
22
  |---|---:|---:|---|
23
  | `disable_quant_qdq = 1` | 526 โ†’ 281 MiB (-47 %) | 503 โ†’ 256 MiB (-49 %) | yes |
24
  | ONNX Runtime defaults | 281 โ†’ 220 MiB (-22 %) | 196 โ†’ 168 MiB (-14 %) | yes |
25
 
 
 
26
  ONNX Runtime 1.31.1, CPU, 4 threads (Linux; Windows in a VM). Interactive results: [OptimaMT/results](https://huggingface.co/spaces/OptimaMT/results) ยท
27
  method: [REPORT.md](https://github.com/AmerAlreyahi/OptimaMT/blob/main/REPORT.md).
28
 
 
15
 
16
  # OptimaMT ar โ†’ es (Arabic to Spanish)
17
 
18
+ Drop-in copy of an ONNX export of [Helsinki-NLP/opus-mt-ar-es](https://huggingface.co/Helsinki-NLP/opus-mt-ar-es) at revision `da86e973e723` (same layout as the Xenova exports) with a lighter merged decoder: ONNX Runtime's fast mode (`disable_quant_qdq = 1`, 2.3โ€“2.5ร— faster) at half the memory. Same weights, same tokens.
19
+ Part of [OptimaMT](https://github.com/AmerAlreyahi/OptimaMT): [all 49 pairs](https://huggingface.co/collections/OptimaMT/optimamt-lighter-opus-mt-onnx-models-6af228dc9cd91f015e56e869), named `OptimaMT/<src>-<tgt>`.
20
+
21
+ **Used in production:**
22
+ - [OpenCircle](https://github.com/AmerAlreyahi/OpenCircle), a desktop screen translator for Windows and Linux, ships these models since v0.1.4.
23
 
24
  | Memory after load | Linux | Windows | Identical tokens |
25
  |---|---:|---:|---|
26
  | `disable_quant_qdq = 1` | 526 โ†’ 281 MiB (-47 %) | 503 โ†’ 256 MiB (-49 %) | yes |
27
  | ONNX Runtime defaults | 281 โ†’ 220 MiB (-22 %) | 196 โ†’ 168 MiB (-14 %) | yes |
28
 
29
+ FLORES-200 devtest (1,012 sentences): the same translations as the original, BLEU 17.85, chrF 46.35 (greedy).
30
+
31
  ONNX Runtime 1.31.1, CPU, 4 threads (Linux; Windows in a VM). Interactive results: [OptimaMT/results](https://huggingface.co/spaces/OptimaMT/results) ยท
32
  method: [REPORT.md](https://github.com/AmerAlreyahi/OptimaMT/blob/main/REPORT.md).
33