How to use mingyue0101/polycoder-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NinedayWang/PolyCoder-2.7B") model = PeftModel.from_pretrained(base_model, "mingyue0101/polycoder-model")
The community tab is the place to discuss and collaborate with the HF community!