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: 288 Bytes
d41e954 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"bad_words_ids": [
[
57372
]
],
"bos_token_id": 0,
"decoder_start_token_id": 57372,
"eos_token_id": 0,
"forced_eos_token_id": 0,
"max_length": 512,
"num_beams": 4,
"pad_token_id": 57372,
"renormalize_logits": true,
"transformers_version": "4.33.2"
}
|