Ë
    ÜÓ^jR
  ã                   ó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ViViT model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzgoogle/vivit-b-16x2-kinetics400)Ú
checkpointc                   óL  ‡ — e Zd ZU dZdZ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  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	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	d<   dZedz  e	d<   d Zee	d!<   ˆ fd"„Zˆ xZS )#ÚVivitConfiga�  
    num_frames (`int`, *optional*, defaults to 32):
        The number of frames in each video.
    tubelet_size (`list[int]`, *optional*, defaults to `[2, 16, 16]`):
        The size (resolution) of each tubelet.
    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 VivitConfig, VivitModel

    >>> # Initializing a ViViT google/vivit-b-16x2-kinetics400 style configuration
    >>> configuration = VivitConfig()

    >>> # Initializing a model (with random weights) from the google/vivit-b-16x2-kinetics400 style configuration
    >>> model = VivitModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úvivitéà   Ú
image_sizeé    Ú
num_frames)é   é   r   .Útubelet_sizer   Únum_channelsi   Úhidden_sizeé   Únum_hidden_layersÚnum_attention_headsi   Úintermediate_sizeÚ	gelu_fastÚ
hidden_actg        Úhidden_dropout_probÚattention_probs_dropout_probg{®Gáz”?Úinitializer_rangeg�íµ ÷Æ°>Úlayer_norm_epsTÚqkv_biasNÚ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     €úx/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/vivit/configuration_vivit.pyr%   zVivitConfig.__post_init__E   s2   ø€ Ø=A×=TÒ=T $×"9Ò"9ÐZ^×ZjÑZjˆÔÜ‰ÑÑ' Ó'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚlistÚtupleÚ__annotations__r   r   r   r   r   r   r   r   Ústrr   Úfloatr   r   r   r   Úboolr   r!   r%   Ú__classcell__)r(   s   @r)   r	   r	      sò   ø… ñð2 €Jà47€J��d˜3‘i‘ %¨¨S¨¡/Ñ1Ó7Ø€J�ÓØ0;€L�$�s‘)˜e C¨ H™oÑ-Ó;Ø€L�#ÓØ€K�ÓØÐ�sÓØ!Ð˜Ó!Ø!Ð�sÓ!Ø!€J�Ó!Ø'*Ð˜ ™Ó*Ø03Ð  %¨#¡+Ó3Ø#Ð�uÓ#Ø!€N�EÓ!Ø€HˆdÓØ%)Ð˜˜d™
Ó)Ø€J�Ó÷(ð (r*   r	   N)	r.   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r#   r*   r)   ú<module>r<      sG   ðñ  å .å 3Ý #ñ Ð<Ô=Øô/(Ð"ó /(ó ó >ð/(ðd ˆ/�r*   