Instructions to use HackitzLabs/opus-mt-en-tl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use HackitzLabs/opus-mt-en-tl with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'HackitzLabs/opus-mt-en-tl');
File size: 280 Bytes
d41e954 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | {
"clean_up_tokenization_spaces": true,
"eos_token": "</s>",
"model_max_length": 512,
"pad_token": "<pad>",
"separate_vocabs": false,
"source_lang": "en",
"sp_model_kwargs": {},
"target_lang": "tl",
"tokenizer_class": "MarianTokenizer",
"unk_token": "<unk>"
}
|