Instructions to use owenMills/bart-pas-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use owenMills/bart-pas-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("owenMills/bart-pas-model") model = PeftModel.from_pretrained(base_model, "owenMills/bart-pas-lora") - Notebooks
- Google Colab
- Kaggle