§
    9²¸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d
S )z"Data2VecVision model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzfacebook/data2vec-vision-base)Ú
checkpointc                   ó8  — 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ed<   dZeed<   dZeed<   dZeez  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%eed/<   d0Z&eed1<   d2S )3ÚData2VecVisionConfigay  
    use_mask_token (`bool`, *optional*, defaults to `False`):
        Whether to use a mask token for masked image modeling.
    use_shared_relative_position_bias (`bool`, *optional*, defaults to `False`):
        Whether to use the same relative position embeddings across all self-attention layers of the Transformer.
    use_mean_pooling (`bool`, *optional*, defaults to `True`):
        Whether to mean pool the final hidden states of the patches instead of using the final hidden state of the
        CLS token, before applying the classification head.
    pool_scales (`tuple[int]`, *optional*, defaults to `[1, 2, 3, 6]`):
        Pooling scales used in Pooling Pyramid Module applied on the last feature map.
    use_auxiliary_head (`bool`, *optional*, defaults to `True`):
        Whether to use an auxiliary head during training.
    auxiliary_loss_weight (`float`, *optional*, defaults to 0.4):
        Weight of the cross-entropy loss of the auxiliary head.
    auxiliary_channels (`int`, *optional*, defaults to 256):
        Number of channels to use in the auxiliary head.
    auxiliary_num_convs (`int`, *optional*, defaults to 1):
        Number of convolutional layers to use in the auxiliary head.
    auxiliary_concat_input (`bool`, *optional*, defaults to `False`):
        Whether to concatenate the output of the auxiliary head with the input before the classification layer.

    Example:

    ```python
    >>> from transformers import Data2VecVisionConfig, Data2VecVisionModel

    >>> # Initializing a Data2VecVision data2vec_vision-base-patch16-224-in22k style configuration
    >>> configuration = Data2VecVisionConfig()

    >>> # Initializing a model (with random weights) from the data2vec_vision-base-patch16-224-in22k style configuration
    >>> model = Data2VecVisionModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```zdata2vec-visioni   Ú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_channelsFÚuse_mask_tokenÚ use_absolute_position_embeddingsÚuse_relative_position_biasÚ!use_shared_relative_position_biasgš™™™™™¹?Úlayer_scale_init_valueÚdrop_path_rateTÚuse_mean_pooling)r   é   é   é   .Úout_indices)é   é   r   é   Úpool_scalesÚuse_auxiliary_headgš™™™™™Ù?Úauxiliary_loss_weighté   Úauxiliary_channelsr%   Úauxiliary_num_convsÚauxiliary_concat_inputéÿ   Úsemantic_loss_ignore_indexN)'Ú__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   r   r    r$   r(   r)   r*   r,   r-   r.   r0   © ó    úŠ/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/transformers/models/data2vec/configuration_data2vec_vision.pyr	   r	      s=  € € € € € € ð"ð "ðH #€Jà€K�ÐÐÑØÐ�sÐÐÑØ!Ð˜Ð!Ð!Ñ!Ø!Ð�sÐ!Ð!Ñ!Ø€J�ÐÐÑØ'*Ð˜ ™Ð*Ð*Ñ*Ø03Ð  %¨#¡+Ð3Ð3Ñ3Ø#Ð�uÐ#Ð#Ñ#Ø!€N�EÐ!Ð!Ñ!Ø47€J��d˜3”i‘ %¨¨S¨¤/Ñ1Ð7Ð7Ñ7Ø46€J��d˜3”i‘ %¨¨S¨¤/Ñ1Ð6Ð6Ñ6Ø€L�#ÐÐÑØ €N�DÐ Ð Ñ Ø-2Ð$ dÐ2Ð2Ñ2Ø',Ð Ð,Ð,Ñ,Ø.3Ð% tÐ3Ð3Ñ3Ø$'Ð˜EÐ'Ð'Ñ'Ø"%€N�E˜C‘KÐ%Ð%Ñ%Ø!Ð�dÐ!Ð!Ñ!Ø/<€K��c”˜U 3¨ 8œ_Ñ,Ð<Ð<Ñ<Ø/;€K��c”˜U 3¨ 8œ_Ñ,Ð;Ð;Ñ;Ø#Ð˜Ð#Ð#Ñ#Ø#&Ð˜5Ð&Ð&Ñ&Ø!Ð˜Ð!Ð!Ñ!Ø Ð˜Ð Ð Ñ Ø#(Ð˜DÐ(Ð(Ñ(Ø&)Ð Ð)Ð)Ñ)Ð)Ð)r>   r	   N)	r4   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r=   r>   r?   ú<module>rD      sª   ðð )Ð (à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð:Ð;Ñ;Ô;ØðA*ð A*ð A*ð A*ð A*Ð+ñ A*ô A*ñ „ñ <Ô;ðA*ðH "Ð
"€€€r>   