§
    ‚Štj´	  ã                   ó’   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  ed¬¦  «        e G d	„ d
ee¦  «        ¦   «         ¦   «         Z	d
gZ
dS )zConvNeXTV2 model configurationé    )Ústricté   )ÚBackboneConfigMixin)ÚPreTrainedConfig)Úauto_docstringzfacebook/convnextv2-tiny-1k-224)Ú
checkpointc                   óš  ‡ — e Zd ZU dZdZdZeed<   dZee	e         z  e
eef         z  ed<   dZeed<   dZe	e         e
ed	f         z  d
z  ed<   dZe	e         e
ed	f         z  d
z  ed<   dZeed<   dZeed<   dZeed<   dZeez  ed<   dZee	e         z  e
eef         z  ed<   d
Ze	e         d
z  ed<   d
Ze	e         d
z  ed<   ˆ fd„Zˆ xZS )ÚConvNextV2Configa+  
    num_stages (`int`, *optional*, defaults to 4):
        The number of stages in the model.

    Example:
    ```python
    >>> from transformers import ConvNeXTV2Config, ConvNextV2Model

    >>> # Initializing a ConvNeXTV2 convnextv2-tiny-1k-224 style configuration
    >>> configuration = ConvNeXTV2Config()

    >>> # Initializing a model (with random weights) from the convnextv2-tiny-1k-224 style configuration
    >>> model = ConvNextV2Model(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Ú
convnextv2r   Únum_channelsé   Ú
patch_sizeÚ
num_stages)é`   éÀ   i€  i   .NÚhidden_sizes)r   r   é	   r   ÚdepthsÚgeluÚ
hidden_actg{®Gáz”?Úinitializer_rangegê-�™—q=Úlayer_norm_epsg        Údrop_path_rateéà   Ú
image_sizeÚ_out_featuresÚ_out_indicesc                 ó(  •— dgd„ t          dt          | j        ¦  «        dz   ¦  «        D ¦   «         z   | _        |                      |                     dd ¦  «        |                     dd ¦  «        ¬¦  «          t          ¦   «         j        di |¤Ž d S )NÚstemc                 ó   — g | ]}d |› �‘ŒS )Ústage© )Ú.0Úidxs     úu/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/convnextv2/configuration_convnextv2.pyú
<listcomp>z2ConvNextV2Config.__post_init__.<locals>.<listcomp><   s   € Ð&_Ð&_Ð&_¸ }¨s } }Ð&_Ð&_Ð&_ó    é   Úout_indicesÚout_features)r)   r*   r"   )ÚrangeÚlenr   Ústage_namesÚ"set_output_features_output_indicesÚpopÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €r%   r1   zConvNextV2Config.__post_init__;   s    ø€ Ø"˜8Ð&_Ð&_ÅÀaÍÈTÌ[ÑIYÔIYÐ\]ÑI]Ñ@^Ô@^Ð&_Ñ&_Ô&_Ñ_ˆÔØ×/Ò/ØŸ
š
 =°$Ñ7Ô7ÀfÇjÂjÐQ_ÐaeÑFfÔFfð 	0ñ 	
ô 	
ð 	
ð 	�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'r'   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   ÚlistÚtupler   r   r   r   Ústrr   Úfloatr   r   r   r   r   r1   Ú__classcell__)r4   s   @r%   r
   r
      sx  ø€ € € € € € ðð ð$ €Jà€L�#ÐÐÑØ45€J��d˜3”i‘ %¨¨S¨¤/Ñ1Ð5Ð5Ñ5Ø€J�ÐÐÑØ7J€L�$�s”)˜e C¨ HœoÑ-°Ñ4ÐJÐJÑJØ1=€FˆD�ŒI˜˜c 3˜hœÑ'¨$Ñ.Ð=Ð=Ñ=Ø€J�ÐÐÑØ#Ð�uÐ#Ð#Ñ#Ø!€N�EÐ!Ð!Ñ!Ø"%€N�E˜C‘KÐ%Ð%Ñ%Ø47€J��d˜3”i‘ %¨¨S¨¤/Ñ1Ð7Ð7Ñ7Ø&*€M�4˜”9˜tÑ#Ð*Ð*Ñ*Ø%)€L�$�s”)˜dÑ"Ð)Ð)Ñ)ð(ð (ð (ð (ð (ð (ð (ð (ð (r'   r
   N)r8   Úhuggingface_hub.dataclassesr   Úbackbone_utilsr   Úconfiguration_utilsr   Úutilsr   r
   Ú__all__r"   r'   r%   ú<module>rF      s·   ðð %Ð $à .Ð .Ð .Ð .Ð .Ð .à 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð<Ð=Ñ=Ô=Øð'(ð '(ð '(ð '(ð '(Ð*Ð,<ñ '(ô '(ñ „ñ >Ô=ð'(ðT Ð
€€€r'   