How to use chengpingan/ExpandR_LLM with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Models/llama3-8b-instruct") model = PeftModel.from_pretrained(base_model, "chengpingan/ExpandR_LLM")
The community tab is the place to discuss and collaborate with the HF community!