§
    ‚Štj-
  ã                   ó„   — 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d
S )zRegNet model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzfacebook/regnet-y-040)Ú
checkpointc                   óÚ   — e Zd ZU dZdZddgZdZeed<   dZ	eed<   d	Z
ee         eed
f         z  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dS )ÚRegNetConfigaî  
    groups_width (`int`, *optional*, defaults to 64):
        Width of group for each stage.
    layer_type (`str`, *optional*, defaults to `"y"`):
        The layer to use, it can be either `"x" or `"y"`. An `x` layer is a ResNet's BottleNeck layer with
        `reduction` fixed to `1`. While a `y` layer is a `x` but with squeeze and excitation. Please refer to the
        paper for a detailed explanation of how these layers were constructed.
    downsample_in_first_stage (`bool`, *optional*, defaults to `False`):
        If `True`, the first stage will downsample the inputs using a `stride` of 2.

    Example:
    ```python
    >>> from transformers import RegNetConfig, RegNetModel

    >>> # Initializing a RegNet regnet-y-40 style configuration
    >>> configuration = RegNetConfig()
    >>> # Initializing a model from the regnet-y-40 style configuration
    >>> model = RegNetModel(configuration)
    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```
    ÚregnetÚxÚyr   Únum_channelsé    Úembedding_size)é€   éÀ   i   i@  .Úhidden_sizes)é   é   é   r   Údepthsé@   Úgroups_widthÚ
layer_typeÚreluÚ
hidden_actTÚdownsample_in_first_stagec                 ó†   — | j         | j        vr2t          d| j         › dd                     | j        ¦  «        › �¦  «        ‚dS )zOPart of `@strict`-powered validation. Validates the architecture of the config.zlayer_type=z is not one of ú,N)r   Úlayer_typesÚ
ValueErrorÚjoin)Úselfs    úm/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/regnet/configuration_regnet.pyÚvalidate_architecturez"RegNetConfig.validate_architecture<   sK   € àŒ? $Ô"2Ð2Ð2ÝÐg¨4¬?ÐgÐgÈ3Ï8Ê8ÐTXÔTdÑKeÔKeÐgÐgÑhÔhÐhð 3Ð2ó    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   r   ÚintÚ__annotations__r   r   ÚlistÚtupler   r   r   Ústrr   r   Úboolr$   © r%   r#   r	   r	      sç   € € € € € € ðð ð. €JØ˜�*€Kà€L�#ÐÐÑØ€N�CÐÐÑØ0E€L�$�s”)˜e C¨ HœoÑ-ÐEÐEÑEØ*7€FˆD�ŒI˜˜c 3˜hœÑ'Ð7Ð7Ñ7Ø€L�#ÐÐÑØ€J�ÐÐÑØ€J�ÐÐÑØ&*Ð˜tÐ*Ð*Ñ*ðið ið ið ið ir%   r	   N)	r)   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r1   r%   r#   ú<module>r6      sª   ðð !Ð  à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð2Ð3Ñ3Ô3Øð'ið 'ið 'ið 'ið 'iÐ#ñ 'iô 'iñ „ñ 4Ô3ð'iðT Ð
€€€r%   