FLAN-T5-XL LoRA Modules
Collection
64 items • Updated
How to use lorahub/flan_t5_xl-wiqa_what_is_the_final_step_of_the_following_process with PEFT:
from peft import PeftModel
from transformers import AutoModelForSeq2SeqLM
base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-xl")
model = PeftModel.from_pretrained(base_model, "lorahub/flan_t5_xl-wiqa_what_is_the_final_step_of_the_following_process")