Instructions to use OptimaMT/en-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/en-pt with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/en-pt');
Download tokenizer.json from OptimaMT/en-pt: direct link, hf CLI and curl.
- Browser
- Download file 6.12 MB
-
https://huggingface.co/OptimaMT/en-pt/resolve/main/tokenizer.json
- Command line
-
hf download hf://OptimaMT/en-pt/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/OptimaMT/en-pt/resolve/main/tokenizer.json
6.12 MB
File too large to display, you can check the raw version instead.