Instructions to use OptimaMT/it-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OptimaMT/it-fr with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('translation', 'OptimaMT/it-fr');
Download generation_config.json from OptimaMT/it-fr: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/OptimaMT/it-fr/resolve/main/generation_config.json
- Command line
-
hf download hf://OptimaMT/it-fr/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/OptimaMT/it-fr/resolve/main/generation_config.json
293 Bytes
| { | |
| "bad_words_ids": [ | |
| [ | |
| 59350 | |
| ] | |
| ], | |
| "bos_token_id": 0, | |
| "decoder_start_token_id": 59350, | |
| "eos_token_id": 0, | |
| "forced_eos_token_id": 0, | |
| "max_length": 512, | |
| "num_beams": 6, | |
| "pad_token_id": 59350, | |
| "renormalize_logits": true, | |
| "transformers_version": "4.34.0.dev0" | |
| } | |