Instructions to use HackitzLabs/opus-mt-tl-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use HackitzLabs/opus-mt-tl-en with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'HackitzLabs/opus-mt-tl-en');
|
Download README.md from HackitzLabs/opus-mt-tl-en: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/HackitzLabs/opus-mt-tl-en/resolve/main/README.md
- Command line
-
hf download hf://HackitzLabs/opus-mt-tl-en/README.md
-
curl -L -o README.md https://huggingface.co/HackitzLabs/opus-mt-tl-en/resolve/main/README.md
1.09 kB
| license: apache-2.0 | |
| base_model: Helsinki-NLP/opus-mt-tl-en | |
| language: [tl, en] | |
| library_name: transformers.js | |
| pipeline_tag: translation | |
| tags: [onnx, translation, marian, opus-mt] | |
| # opus-mt-tl-en (ONNX, quantized) — Tagalog/Filipino → English | |
| ONNX conversion of [Helsinki-NLP/opus-mt-tl-en](https://huggingface.co/Helsinki-NLP/opus-mt-tl-en) for on-device use | |
| with [transformers.js](https://github.com/huggingface/transformers.js), as used by JustMail for Windows (HackitzLabs). | |
| **Changes from the original:** converted to ONNX and quantized (int8) for on-device use with transformers.js | |
| (converter: transformers.js v2.17.2 scripts). Weights are otherwise unmodified. No fine-tuning. | |
| ## Credit | |
| Original model: **OPUS-MT** by the Language Technology Research Group at the University of Helsinki | |
| (Jörg Tiedemann et al.), trained on [OPUS](https://opus.nlpl.eu/) data. Licensed under Apache 2.0. | |
| > Tiedemann, J. & Thottingal, S. (2020). *OPUS-MT — Building open translation services for the World.* EAMT 2020. | |
| ## Note | |
| Output is formal/textbook English. Treat it as a first draft. | |