How to use billwang37/WWang-Lab-OptimAI with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/scratch/billwang37/optim_ai/models/Qwen2.5-Math-7B") model = PeftModel.from_pretrained(base_model, "billwang37/WWang-Lab-OptimAI")
The community tab is the place to discuss and collaborate with the HF community!