
    i                     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LayoutLM model configuration    )strict   )PreTrainedConfig)auto_docstringzmicrosoft/layoutlm-base-uncased)
checkpointc                   <   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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d<   dZeed<   dZedz  ed<   dZeee   z  dz  ed<   dZedz  ed<   dZeed<   d Zeed!<   dZeed"<   y)#LayoutLMConfigad  
    max_2d_position_embeddings (`int`, *optional*, defaults to 1024):
        The maximum value that the 2D position embedding might ever used. Typically set this to something large
        just in case (e.g., 1024).

    Examples:

    ```python
    >>> from transformers import LayoutLMConfig, LayoutLMModel

    >>> # Initializing a LayoutLM configuration
    >>> configuration = LayoutLMConfig()

    >>> # Initializing a model (with random weights) from the configuration
    >>> model = LayoutLMModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```layoutlmi:w  
vocab_sizei   hidden_size   num_hidden_layersnum_attention_headsi   intermediate_sizegelu
hidden_actg?hidden_dropout_probattention_probs_dropout_probi   max_position_embeddings   type_vocab_sizeg{Gz?initializer_rangeg-q=layer_norm_epsr   Npad_token_ideos_token_idbos_token_idT	use_cachei   max_2d_position_embeddingstie_word_embeddings)__name__
__module____qualname____doc__
model_typer   int__annotations__r   r   r   r   r   strr   floatr   r   r   r   r   r   r   listr   r   boolr   r        /var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/transformers/models/layoutlm/configuration_layoutlm.pyr	   r	      s    ( JJKs!!!s!J'**03 %#+3#&S&OS#u#!NE! L#* +/L#S	/D(/#L#*#It&** $$r,   r	   N)	r#   huggingface_hub.dataclassesr    r   utilsr   r	   __all__r+   r,   r-   <module>r2      sH    # .   # <=(%% (%  >(%V 
r,   