
    Z j/                     x    S SK Jr  SSKJr  SSKJr  SSKJr  SSKJ	r	  \" SS	9\ " S
 S\5      5       5       r
S/rg)    )strict   )%consolidate_backbone_kwargs_to_config)PreTrainedConfig)auto_docstring   )
AutoConfigz$PaddlePaddle/SLANet_plus_safetensors)
checkpointc                      ^  \ rS rSr% SrSrS\0rSr\	\
S'   Sr\	\
S'   S	r\	\
S
'   Sr\	\
S'   Sr\\-  S-  \
S'   Sr\\
S'   Sr\	\
S'   Sr\	\
S'   U 4S jrSrU =r$ )SLANetConfig   aa  
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_channels2   out_channels   hidden_sizei  max_text_lengthN	hardswish
hidden_act   csp_kernel_size   csp_num_blocksc           
      z   > [        SU R                  SS/ SQ/ SQSS.S.UD6u  U l        n[        TU ]  " S0 UD6  g )	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     ڀ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/slanet/configuration_slanet.pyr-   SLANetConfig.__post_init__>   sS    'L 
(
 00 * H+	#
(
 
(
$f 	''    )r   )__name__
__module____qualname____firstlineno____doc__
model_typer	   sub_configsr   int__annotations__r   r   r   r   dictr   r   strr   r   r-   __static_attributes____classcell__)r0   s   @r1   r   r      s      J$j1K"$C$L#KOS6:OT,,t3:!J!OSNC( (r3   r   N)huggingface_hub.dataclassesr   backbone_utilsr   configuration_utilsr   utilsr   autor	   r   __all__r+   r3   r1   <module>rG      sL   , / C 3 #  AB*(# *(  C*(Z 
r3   