How to use trymtv/bert_parliament_classifier_large with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("NbAiLab/nb-bert-large") model = PeftModel.from_pretrained(base_model, "trymtv/bert_parliament_classifier_large")
The community tab is the place to discuss and collaborate with the HF community!