chunk_content: config you prepared earlier to create a PeftModel:
  
  
  	Copied
    model = AutoModelForSeq2SeqLM.from_pretrained(model_name_or_path)
  + model = get_peft_model(model, peft_config)
  Pass all the relevant training objects to 🤗 Accelerate’s prepare which makes sure everything is ready for training:
  
  
  	Copied
  model, train_dataloader, eval_dataloader, test_dataloader, optimizer, lr_scheduler = accelerator.prepare(
      model, train_dataloader, eval_dataload