Instructions to use projecte-aina/aina-translator-en-ca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Fairseq
How to use projecte-aina/aina-translator-en-ca with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "projecte-aina/aina-translator-en-ca" ) - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_source_bos": false, | |
| "add_source_eos": true, | |
| "bos_token": "<s>", | |
| "decoder_start_token": "</s>", | |
| "eos_token": "</s>", | |
| "layer_norm_epsilon": null, | |
| "multi_query_attention": false, | |
| "unk_token": "<unk>" | |
| } | |