class_docstr: Test if the PeftModel behaves as expected. This includes:
  - test if the model has the expected methods
  
  We use parametrized.expand for debugging purposes to test each model individually.
code: def test_generate(
      self, test_name, model_id, config_cls, config_kwargs
  ):
      self._test_generate(model_id, config_cls, config_kwargs)
  
imports: import tempfile
  import unittest
  import torch
  from parameterized import parameterized
  from transformers import AutoModelForSeq2SeqLM, AutoModelForTokenClassification
  from peft import LoraConfig, TaskType, get_peft_model
  from .testing_common import PeftCommonTester, PeftTestConfigManager
label_desc: Use image node_id 11 for calling the PeftEncoderDecoderModelTester obj's underlying member method code with example usage: obj.test_generate(test_name, model_id, config_cls, config_kwargs) without return types