How to use Changahou/Llama8B_mathinstruct_SFT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/home/chenjh2/disk_chenjh/models/models/Llama-3-8b-Instruct") model = PeftModel.from_pretrained(base_model, "Changahou/Llama8B_mathinstruct_SFT")
The community tab is the place to discuss and collaborate with the HF community!