+
    œ°³j»  ã                   ó    € ^ RI Ht ^RIHt ^RIHt ]! RR7      ] ! R R]4      4       4       t]! RR7      ] ! R R	]4      4       4       tR	.tR
# )é    )Ústrict)ÚPreTrainedConfig)Úauto_docstringz&PaddlePaddle/SLANeXt_wired_safetensors)Ú
checkpointc                   óx   a € ] tR t^t o RtRtRtRt^t^t	^t
Rt^tRtRtRtR	tR
tR
tR
t^tRtRtV 3R ltRtV tR# )ÚSLANeXtVisionConfigaŠ  
output_channels (`int`, *optional*, defaults to 256):
    Dimensionality of the output channels in the Patch Encoder.
use_abs_pos (`bool`, *optional*, defaults to `True`):
    Whether to use absolute position embedding.
use_rel_pos (`bool`, *optional*, defaults to `True`):
    Whether to use relative position embedding.
window_size (`int`, *optional*, defaults to 14):
    Window size for relative position.
global_attn_indexes (`list[int]`, *optional*, defaults to `[2, 5, 8, 11]`):
    The indexes of the global attention layers.
mlp_dim (`int`, *optional*, defaults to 3072):
    The dimensionality of the MLP layer in the Transformer encoder.
Úvision_configi   é   é   Úgelug�íµ ÷Æ°>g        g»½×Ùß|Û=Ti   c                óp  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ S[S[ ,          ,          S[S[ S[ 3,          ,          ;R&   S[;R&   S[;R	&   S[S[ ,          ;R
&   S[;R&   S[;R&   S[;R&   S[;R&   S[ ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[ ;R&   # )é   Úhidden_sizeÚoutput_channelsÚnum_hidden_layersÚnum_attention_headsÚnum_channelsÚ
image_sizeÚ
patch_sizeÚ
hidden_actÚlayer_norm_epsÚattention_dropoutÚinitializer_rangeÚqkv_biasÚuse_abs_posÚuse_rel_posÚwindow_size.Úglobal_attn_indexesÚmlp_dim)ÚintÚlistÚtupleÚstrÚfloatÚbool)ÚformatÚ__classdict__s   "€Úr/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/slanext/configuration_slanext.pyÚ__annotate__Ú SLANeXtVisionConfig.__annotate__   s  ø‡ ‚ ñ& Ññ' ñ( Ññ) ñ* Ññ+ ñ, Ñ!ñ- ñ. Ññ/ ñ0 Ññ1 ñ2 ‘d™3•i•¡%©©S¨¥/Õ1Ñ6ñ3 ñ4 Ññ5 ñ6 Ñ!ñ7 ñ8 ™s•{Ñ(ñ9 ñ: Ñ$ñ; ñ< Ññ= ñ> Ññ? ñ@ ÑñA ñB ÑñC ñD ™c�¡U©3°¨8¥_Õ4ÑDñE ñF ÑòG ó    © N)r   é   é   é   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úbase_config_keyr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__)r'   s   @r(   r   r      ss   ø‡ € ñð &€OØ€KØ€OØÐØ!ÐØ€LØ€JØ46€JØ€JØ!€NØ%(ÐØ$ÐØ€HØ€KØ€KØ€KØ7DÐØ€G÷G ƒ r+   r   c                   óf   a a€ ] tR t^Bt oRtRtR]/tRtRt	Rt
^2tRtRtV 3R ltV3R	 ltR
tVtV ;t# )ÚSLANeXtConfigaž  
vision_config (`dict` or [`SLANeXtVisionConfig`], *optional*):
    Configuration for the vision encoder. If `None`, a default [`SLANeXtVisionConfig`] is used.
post_conv_in_channels (`int`, *optional*, defaults to 256):
    Number of input channels for the post-encoder convolution layer.
post_conv_out_channels (`int`, *optional*, defaults to 512):
    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 512):
    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.
Úslanextr	   Nr
   r   iô  c                óØ   <€ V P                   f   \        4       V n         M:\        V P                   \        4      '       d   \        R/ V P                   B V n         \        SV `  ! R/ VB  R # )Nr,   )r	   r   Ú
isinstanceÚdictÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€r(   r@   ÚSLANeXtConfig.__post_init___   sS   ø€ Ø×ÑÒ%Ü!4Ó!6ˆDÕÜ˜×*Ñ*¬D×1Ò1Ü!4Ñ!J°t×7IÑ7IÑ!JˆDÔÜ‰ÒÑ' Ô'r+   c                ó€   <€ V ^8„  d   Qh/ S[ S[,          R,          ;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[;R&   # )r   Nr	   Úpost_conv_in_channelsÚpost_conv_out_channelsÚout_channelsr   Úmax_text_length)r>   r   r    )r&   r'   s   "€r(   r)   ÚSLANeXtConfig.__annotate__B   s^   ø‡ ‚ ñ, Ñ-Õ-°Õ4Ñ;ñ- ñ. Ñ$ñ/ ñ0  Ñ%ñ1 ñ2 Ññ3 ñ4 Ññ5 ñ6 Ñò7 r+   )r	   )r0   r1   r2   r3   r4   Ú
model_typer   Úsub_configsr	   rF   rG   rH   r   rI   r@   r6   r7   r8   Ú__classcell__)rC   r'   s   @@r(   r:   r:   B   sH   ù‡ € ñð  €JØ"Ð$7Ð8€Kà7;€MØ!$ÐØ"%ÐØ€LØ€KØ€Oõ(÷; … r+   r:   N)	Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r   r:   Ú__all__r,   r+   r(   Ú<module>rR      sr   ðõ, /å 3Ý #ñ ÐCÔDØô!Ð*ó !ó ó Eð!ñH ÐCÔDØô (Ð$ó  (ó ó Eð (ðF Ð
‚r+   