Instructions to use Toadoum/eng_yor_unidirection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Toadoum/eng_yor_unidirection with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/nllb-200-3.3B") model = PeftModel.from_pretrained(base_model, "Toadoum/eng_yor_unidirection") - Transformers
How to use Toadoum/eng_yor_unidirection with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Toadoum/eng_yor_unidirection", dtype="auto") - Notebooks
- Google Colab
- Kaggle