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