chunk_content: <
  source
  >
  (
  config
  
  )
  
  
  Parameters 
  
  config (PrefixTuningConfig) — The configuration of the prefix encoder.
  
  
  
  The torch.nn model to encode the prefix.
  
  Example:
  
  
  	Copied
  >>> from peft import PrefixEncoder, PrefixTuningConfig
  
  >>> config = PrefixTuningConfig(
  ...     peft_type="PREFIX_TUNING",
  ...     task_type="SEQ_2_SEQ_LM",
  ...     num_virtual_tokens=20,
  ...     token_dim=768,
  ...     num_transformer_submodules=1,
  ...     num_attention_hea