Instructions to use ahmadmwali/opus_mt_trial2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ahmadmwali/opus_mt_trial2 with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("Helsinki-NLP/opus-mt-ha-en") model = PeftModel.from_pretrained(base_model, "ahmadmwali/opus_mt_trial2") - Notebooks
- Google Colab
- Kaggle
Ctrl+K