Instructions to use Harcuracy/feranmi_translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Harcuracy/feranmi_translator with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Harcuracy/feranmi_translator") model = AutoModelForSeq2SeqLM.from_pretrained("Harcuracy/feranmi_translator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Harcuracy/feranmi_translator: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/Harcuracy/feranmi_translator/resolve/main/generation_config.json
- Command line
-
hf download hf://Harcuracy/feranmi_translator/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Harcuracy/feranmi_translator/resolve/main/generation_config.json
288 Bytes
| { | |
| "bad_words_ids": [ | |
| [ | |
| 64171 | |
| ] | |
| ], | |
| "bos_token_id": 0, | |
| "decoder_start_token_id": 64171, | |
| "eos_token_id": 0, | |
| "forced_eos_token_id": 0, | |
| "max_length": 512, | |
| "num_beams": 6, | |
| "pad_token_id": 64171, | |
| "renormalize_logits": true, | |
| "transformers_version": "4.46.3" | |
| } | |