Instructions to use dlaima/bart-lora-highlightsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dlaima/bart-lora-highlightsum with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-cnn") model = PeftModel.from_pretrained(base_model, "dlaima/bart-lora-highlightsum") - Transformers
How to use dlaima/bart-lora-highlightsum with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dlaima/bart-lora-highlightsum", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!