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