Instructions to use OptimaMT/it-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/it-es with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/it-es');
Download tokenizer_config.json from OptimaMT/it-es: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/OptimaMT/it-es/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://OptimaMT/it-es/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/OptimaMT/it-es/resolve/main/tokenizer_config.json
280 Bytes
| { | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "</s>", | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "separate_vocabs": false, | |
| "source_lang": "it", | |
| "sp_model_kwargs": {}, | |
| "target_lang": "es", | |
| "tokenizer_class": "MarianTokenizer", | |
| "unk_token": "<unk>" | |
| } | |