How to use FieldSu/fine-tune_student with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/media/HD1/hongxu/dis_student24/models--FieldSu--distil_student_24") model = PeftModel.from_pretrained(base_model, "FieldSu/fine-tune_student")
The community tab is the place to discuss and collaborate with the HF community!