YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Bart-finetuned (LoRA Adapter)

This repository contains a fine-tuned BART model using LoRA adapters.

Files

  • adapter_config.json โ†’ LoRA configuration
  • adapter_model.safetensors โ†’ LoRA weights
  • .gitattributes โ†’ Git LFS tracking

Usage

You can load this adapter with PEFT like this:

from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from peft import PeftModel

base_model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-base")
tokenizer = AutoTokenizer.from_pretrained("facebook/bart-base")

model = PeftModel.from_pretrained(base_model, "rav39439/Bart-finetuned")
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support