Ë
    ÜÓ^jô	  ã                   ój   — d Z ddlmZ ddlmZ ddlmZ  ed¬«      e G d„ d	e«      «       «       Zd	gZy
)zViT model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzgoogle/vit-base-patch16-224)Ú
checkpointc                   óR  ‡ — e Zd ZU dZdZdZeed<   dZe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z  ed<   dZeed<   dZeed<   dZeee   z  eeef   z  ed<   dZeee   z  eeef   z  ed<   dZeed<   dZeed<   dZeed<   dZedz  ed<   dZeed<   ˆ fd „Zˆ xZS )!Ú	ViTConfiga3  
    encoder_stride (`int`, *optional*, defaults to 16):
        Factor to increase the spatial resolution by in the decoder head for masked image modeling.
    pooler_output_size (`int`, *optional*):
        Dimensionality of the pooler layer. If None, defaults to `hidden_size`.
    pooler_act (`str`, *optional*, defaults to `"tanh"`):
        The activation function to be used by the pooler.

    Example:

    ```python
    >>> from transformers import ViTConfig, ViTModel

    >>> # Initializing a ViT vit-base-patch16-224 style configuration
    >>> configuration = ViTConfig()

    >>> # Initializing a model (with random weights) from the vit-base-patch16-224 style configuration
    >>> model = ViTModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úviti   Úhidden_sizeé   Únum_hidden_layersÚnum_attention_headsi   Úintermediate_sizeÚgeluÚ
hidden_actg        Úhidden_dropout_probÚattention_probs_dropout_probg{®Gáz”?Úinitializer_rangegê-�™—q=Úlayer_norm_epséà   Ú
image_sizeé   Ú
patch_sizer   Únum_channelsTÚqkv_biasÚencoder_strideNÚpooler_output_sizeÚtanhÚ
pooler_actc                 óv   •— | j                   r| j                   n| j                  | _         t        ‰| �  di |¤Ž y )N© )r   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €út/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/vit/configuration_vit.pyr#   zViTConfig.__post_init__C   s2   ø€ Ø=A×=TÒ=T $×"9Ò"9ÐZ^×ZjÑZjˆÔÜ‰ÑÑ' Ó'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   r   r   Ústrr   Úfloatr   r   r   r   ÚlistÚtupler   r   r   Úboolr   r   r   r#   Ú__classcell__)r&   s   @r'   r	   r	      sö   ø… ñð. €Jà€K�ÓØÐ�sÓØ!Ð˜Ó!Ø!Ð�sÓ!Ø€J�ÓØ'*Ð˜ ™Ó*Ø03Ð  %¨#¡+Ó3Ø#Ð�uÓ#Ø!€N�EÓ!Ø47€J��d˜3‘i‘ %¨¨S¨¡/Ñ1Ó7Ø46€J��d˜3‘i‘ %¨¨S¨¡/Ñ1Ó6Ø€L�#ÓØ€HˆdÓØ€N�CÓØ%)Ð˜˜d™
Ó)Ø€J�Ó÷(ð (r(   r	   N)	r,   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r!   r(   r'   ú<module>r:      sG   ðñ å .å 3Ý #ñ Ð8Ô9Øô-(Ð ó -(ó ó :ð-(ð` ˆ-�r(   