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")
How to use saivineetha/nllb_lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("saivineetha/nllb_lora", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!