Instructions to use EricPeter/en-to-lg-nllb-cc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use EricPeter/en-to-lg-nllb-cc with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("EricPeter/msc-baseline-marian") model = PeftModel.from_pretrained(base_model, "EricPeter/en-to-lg-nllb-cc") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from EricPeter/en-to-lg-nllb-cc: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/EricPeter/en-to-lg-nllb-cc/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://EricPeter/en-to-lg-nllb-cc/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/EricPeter/en-to-lg-nllb-cc/resolve/main/special_tokens_map.json
416 Bytes
| { | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |