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