Ë
    ÛÓ^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CvT model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzmicrosoft/cvt-13)Ú
checkpointc                   óÈ  — e Zd ZU dZdZ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   e
edf   z  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   e
edf   z  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   e
edf   z  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   e
edf   z  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   e
edf   z  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   e
edf   z  ed&<   d'Zeed(<   d)Z eed*<   y+),Ú	CvtConfiga9  
    patch_stride (`list[int]`, *optional*, defaults to `[4, 2, 2]`):
        The stride size of each encoder's patch embedding.
    patch_padding (`list[int]`, *optional*, defaults to `[2, 1, 1]`):
        The padding size of each encoder's patch embedding.
    depth (`list[int]`, *optional*, defaults to `[1, 2, 10]`):
        The number of layers in each encoder block.
    attention_drop_rate (`list[float]`, *optional*, defaults to `[0.0, 0.0, 0.0]`):
        The dropout ratio for the attention probabilities.
    drop_rate (`list[float]`, *optional*, defaults to `[0.0, 0.0, 0.0]`):
        The dropout ratio for the patch embeddings probabilities.
    cls_token (`list[bool]`, *optional*, defaults to `[False, False, True]`):
        Whether or not to add a classification token to the output of each of the last 3 stages.
    qkv_projection_method (`list[string]`, *optional*, defaults to ["dw_bn", "dw_bn", "dw_bn"]`):
        The projection method for query, key and value Default is depth-wise convolutions with batch norm. For
        Linear projection use "avg".
    kernel_qkv (`list[int]`, *optional*, defaults to `[3, 3, 3]`):
        The kernel size for query, key and value in attention layer
    padding_kv (`list[int]`, *optional*, defaults to `[1, 1, 1]`):
        The padding size for key and value in attention layer
    stride_kv (`list[int]`, *optional*, defaults to `[2, 2, 2]`):
        The stride size for key and value in attention layer
    padding_q (`list[int]`, *optional*, defaults to `[1, 1, 1]`):
        The padding size for query in attention layer
    stride_q (`list[int]`, *optional*, defaults to `[1, 1, 1]`):
        The stride size for query in attention layer

    Example:

    ```python
    >>> from transformers import CvtConfig, CvtModel

    >>> # Initializing a Cvt msft/cvt style configuration
    >>> configuration = CvtConfig()

    >>> # Initializing a model (with random weights) from the msft/cvt style configuration
    >>> model = CvtModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úcvtr   Únum_channels)é   r   r   .Úpatch_sizes)é   é   r   Úpatch_stride)r   é   r   Úpatch_padding)é@   éÀ   i€  Ú	embed_dim)r   r   é   Ú	num_heads)r   r   é
   Údepth)ç      @r   r   Ú	mlp_ratio)ç        r   r   Úattention_drop_rateÚ	drop_rate)r   r   gš™™™™™¹?Údrop_path_rate)TTTÚqkv_bias)FFTÚ	cls_token)Údw_bnr"   r"   Úqkv_projection_method)r   r   r   Ú
kernel_qkv)r   r   r   Ú
padding_kv)r   r   r   Ú	stride_kvÚ	padding_qÚstride_qg{®Gáz”?Úinitializer_rangegê-�™—q=Úlayer_norm_epsN)!Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   ÚlistÚtupler   r   r   r   r   r   Úfloatr   r   r   r    Úboolr!   r#   Ústrr$   r%   r&   r'   r(   r)   r*   © ó    út/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/cvt/configuration_cvt.pyr	   r	      s  … ñ(ðT €Jà€L�#ÓØ/8€K��c‘˜U 3¨ 8™_Ñ,Ó8Ø09€L�$�s‘)˜e C¨ H™oÑ-Ó9Ø1:€M�4˜‘9˜u S¨# X™Ñ.Ó:Ø-;€Iˆt�C‰y˜5  c ™?Ñ*Ó;Ø-6€Iˆt�C‰y˜5  c ™?Ñ*Ó6Ø)3€Eˆ4�‰9�u˜S #˜X‘Ñ&Ó3Ø1@€Iˆt�E‰{˜U 5¨# :Ñ.Ñ.Ó@Ø;JÐ˜˜e™ u¨U°C¨ZÑ'8Ñ8ÓJØ1@€Iˆt�E‰{˜U 5¨# :Ñ.Ñ.Ó@Ø6E€N�D˜‘K %¨¨s¨
Ñ"3Ñ3ÓEØ.@€Hˆd�4‰j˜5  s Ñ+Ñ+Ó@Ø/C€Iˆt�D‰z˜E $¨ )Ñ,Ñ,ÓCØ9TÐ˜4 ™9 u¨S°#¨X¡Ñ6ÓTØ.7€J��S‘	˜E # s (™OÑ+Ó7Ø.7€J��S‘	˜E # s (™OÑ+Ó7Ø-6€Iˆt�C‰y˜5  c ™?Ñ*Ó6Ø-6€Iˆt�C‰y˜5  c ™?Ñ*Ó6Ø,5€Hˆd�3‰i˜%  S ™/Ñ)Ó5Ø#Ð�uÓ#Ø!€N�EÔ!r8   r	   N)	r.   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r7   r8   r9   ú<module>r>      sJ   ðñ å .å 3Ý #ñ Ð-Ô.ØôA"Ð ó A"ó ó /ðA"ðH ˆ-�r8   