How to use sidd272/distilbert-base-uncased-lora-AI_generated-classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "sidd272/distilbert-base-uncased-lora-AI_generated-classification")
The community tab is the place to discuss and collaborate with the HF community!