How to use CreatorPhan/lora_scratch with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/mnt/d/VTS/anhpn46/vietcuna-3b") model = PeftModel.from_pretrained(base_model, "CreatorPhan/lora_scratch")
The community tab is the place to discuss and collaborate with the HF community!