ó
    >:j‚  ã                   óX   • S SK JrJr  S SKJr  S SKJr  S SKJr  \ " S S\5      5       r	g)é    )Ú	dataclassÚfield)ÚLiteral)ÚPromptLearningConfig)ÚPeftTypec                   óŽ   ^ • \ rS rSr% Sr\" SSS0S9r\S   S-  \S'   \" SSS	0S9r	\
\S
'   \" SSS0S9r\\S'   U 4S jrSrU =r$ )ÚPrefixTuningConfigé   a¥  
This is the configuration class to store the configuration of a [`PrefixEncoder`].

Args:
    init_weights (`Optional[str]`): If not set, weights are initialized at random, if set to "zero"
        the weights are initialized so that the activations will be a no-op (zero).
    encoder_hidden_size (`int`): The hidden size of the prompt encoder.
    prefix_projection (`bool`): Whether to project the prefix embeddings.
NÚhelpz‹If not set, weights are initialized at random, if set to "zero" the weights are initialized so that the activations will be a no-op (zero).)ÚdefaultÚmetadataÚzeroÚinit_weightszThe hidden size of the encoderÚencoder_hidden_sizeFz$Whether to project the prefix tokensÚprefix_projectionc                 óL   >• [         TU ]  5         [        R                  U l        g )N)ÚsuperÚ__post_init__r   ÚPREFIX_TUNINGÚ	peft_type)ÚselfÚ	__class__s    €Ú]/home/mande/repo/quber/.venv/lib/python3.13/site-packages/peft/tuners/prefix_tuning/config.pyr   Ú PrefixTuningConfig.__post_init__2   s   ø€ Ü‰ÑÔÜ!×/Ñ/ˆ�ó    )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   Ú__annotations__r   Úintr   Úboolr   Ú__static_attributes__Ú__classcell__)r   s   @r   r	   r	      s   ø‡ ññ ,1Øàð Vð
ñ,€L�'˜&‘/ DÑ(ó ñ  %ØØÐ:Ð;ñ Ð˜ó ñ $ØØÐ@ÐAñÐ�tó ÷
0ó 0r   r	   N)
Údataclassesr   r   Útypingr   Úpeft.configr   Ú
peft.utilsr   r	   © r   r   Ú<module>r+      s/   ð÷ )Ý å ,Ý ð ô0Ð-ó 0ó ñ0r   