How to use azherali/CodeGenDetect-Unixcoder_Lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/unixcoder-base") model = PeftModel.from_pretrained(base_model, "azherali/CodeGenDetect-Unixcoder_Lora")
The community tab is the place to discuss and collaborate with the HF community!