Instructions to use OptimaMT/en-de with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/en-de with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/en-de');
Download special_tokens_map.json from OptimaMT/en-de: direct link, hf CLI and curl.
- Browser
- Download file 74 Bytes
-
https://huggingface.co/OptimaMT/en-de/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://OptimaMT/en-de/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/OptimaMT/en-de/resolve/main/special_tokens_map.json
74 Bytes
| { | |
| "eos_token": "</s>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |