Instructions to use trymtv/bert_parliament_classifier_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
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") - Notebooks
- Google Colab
- Kaggle