§
    ‚Štj/  ã                   ó˜   — d dl mZ ddlm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 )é    )Ústricté   )Ú%consolidate_backbone_kwargs_to_config)ÚPreTrainedConfig)Úauto_docstringé   )Ú
AutoConfigz$PaddlePaddle/SLANet_plus_safetensors)Ú
checkpointc                   ó¬   ‡ — e Zd ZU dZdZdei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z  dz  e	d<   dZee	d<   dZee	d<   dZee	d<   ˆ fd„Zˆ xZS )ÚSLANetConfiga™  
    post_conv_out_channels (`int`, *optional*, defaults to 96):
        Number of output channels for the post-encoder convolution layer.
    out_channels (`int`, *optional*, defaults to 50):
        Vocabulary size for the table structure token prediction head, i.e., the number of distinct structure
        tokens the model can predict.
    hidden_size (`int`, *optional*, defaults to 256):
        Dimensionality of the hidden states in the attention GRU cell and the structure/location prediction heads.
    max_text_length (`int`, *optional*, defaults to 500):
        Maximum number of autoregressive decoding steps (tokens) for the structure and location decoder.
    csp_kernel_size (`int`, *optional*, defaults to 5):
        The kernel size of the Cross Stage Partial (CSP) layer.
    csp_num_blocks (`int`, *optional*, defaults to 1):
        Number of blocks within the Cross Stage Partial (CSP) layer.
    ÚslanetÚbackbone_configé`   Úpost_conv_out_channelsé2   Úout_channelsé   Úhidden_sizeiô  Úmax_text_lengthNÚ	hardswishÚ
hidden_acté   Úcsp_kernel_sizeé   Úcsp_num_blocksc           
      ó†   •— t          d| j        ddg d¢g d¢ddœdœ|¤Ž\  | _        } t          ¦   «         j        di |¤Ž d S )	NÚpp_lcnetr   )Ústage2Ústage3Ústage4Ústage5)r   r   é   r   é   )ÚscaleÚout_featuresÚout_indicesÚdivisor)r   Údefault_config_typeÚdefault_config_kwargs© )r   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úm/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/slanet/configuration_slanet.pyr,   zSLANetConfig.__post_init__>   s|   ø€ Ý'Lð 
(
Ø Ô0Ø *àØ HÐ HÐ HØ+˜|˜|Øð	#ð #ð
(
ð 
(
ð ð
(
ð 
(
Ñ$ˆÔ˜fð 	�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer	   Úsub_configsr   ÚintÚ__annotations__r   r   r   r   Údictr   r   Ústrr   r   r,   Ú__classcell__)r/   s   @r0   r   r      sá   ø€ € € € € € ðð ð  €Jà$ jÐ1€KØ"$Ð˜CÐ$Ð$Ñ$Ø€L�#ÐÐÑØ€K�ÐÐÑØ€O�SÐÐÑØ6:€O�TÐ,Ñ,¨tÑ3Ð:Ð:Ñ:à!€J�Ð!Ð!Ñ!Ø€O�SÐÐÑØ€N�CÐÐÑð(ð (ð (ð (ð (ð (ð (ð (ð (r1   r   N)Úhuggingface_hub.dataclassesr   Úbackbone_utilsr   Úconfiguration_utilsr   Úutilsr   Úautor	   r   Ú__all__r*   r1   r0   ú<module>rC      sÁ   ðð, /Ð .Ð .Ð .Ð .Ð .à CÐ CÐ CÐ CÐ CÐ CØ 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #Ø Ð Ð Ð Ð Ð ð €ÐAÐBÑBÔBØð*(ð *(ð *(ð *(ð *(Ð#ñ *(ô *(ñ „ñ CÔBð*(ðZ Ð
€€€r1   