Instructions to use OptimaMT/en-hi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/en-hi with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/en-hi');
Add OptimaMT en-hi
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ tags:
|
|
| 16 |
# OptimaMT en → hi (English to Hindi)
|
| 17 |
|
| 18 |
Drop-in copy of [Xenova/opus-mt-en-hi](https://huggingface.co/Xenova/opus-mt-en-hi) at revision `7aad72006a15` 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
|
| 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.
|
|
|
|
| 16 |
# OptimaMT en → hi (English to Hindi)
|
| 17 |
|
| 18 |
Drop-in copy of [Xenova/opus-mt-en-hi](https://huggingface.co/Xenova/opus-mt-en-hi) at revision `7aad72006a15` 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 51 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.
|