
    Z j                     d    S 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
)zMarkupLM model configuration    )strict   )PreTrainedConfig)auto_docstringzmicrosoft/markuplm-base)
checkpointc                      \ rS rSr% SrSrSr\\S'   Sr	\\S'   Sr
\\S	'   Sr\\S
'   Sr\\S'   Sr\\S'   Sr\\-  \S'   Sr\\-  \S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\S-  \S'   Sr\S-  \S'   Sr\\\   -  S-  \S'   Sr\\S '   S!r\\S"'   S#r\\S$'   S%r\\S&'   S'r\\S('   S)r\\S*'   S+r \!\S,'   Sr"\\-  S-  \S-'   S.r#g)/MarkupLMConfig   a  
max_xpath_tag_unit_embeddings (`int`, *optional*, defaults to 256):
    The maximum value that the xpath tag unit embedding might ever use. Typically set this to something large
    just in case (e.g., 256).
max_xpath_subs_unit_embeddings (`int`, *optional*, defaults to 1024):
    The maximum value that the xpath subscript unit embedding might ever use. Typically set this to something
    large just in case (e.g., 1024).
tag_pad_id (`int`, *optional*, defaults to 216):
    The id of the padding token in the xpath tags.
subs_pad_id (`int`, *optional*, defaults to 1001):
    The id of the padding token in the xpath subscripts.
xpath_unit_hidden_size (`int`, *optional*, defaults to 32):
    The hidden size of each unit in xpath.
max_depth (`int`, *optional*, defaults to 50):
    The maximum depth in xpath.

Examples:

```python
>>> from transformers import MarkupLMModel, MarkupLMConfig

>>> # Initializing a MarkupLM microsoft/markuplm-base style configuration
>>> configuration = MarkupLMConfig()

>>> # Initializing a model from the microsoft/markuplm-base style configuration
>>> model = MarkupLMModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```markuplmi: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bos_token_ideos_token_id   max_xpath_tag_unit_embeddingsi   max_xpath_subs_unit_embeddings   
tag_pad_idi  subs_pad_id    xpath_unit_hidden_size2   	max_depthT	use_cacheclassifier_dropout )$__name__
__module____qualname____firstlineno____doc__
model_typer   int__annotations__r   r   r   r   r   strr   floatr   r   r   r   r   r   r   r   listr   r    r"   r#   r%   r'   r(   boolr)   __static_attributes__r*       ڄ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/markuplm/configuration_markuplm.pyr	   r	      s%   > JJKs!!!s!J'**03 %#+3#&S&OS#u#!NE! L#*  L#* +,L#S	/D(,),!3,*."C.JK"$C$IsIt-1d*1r8   r	   N)	r/   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r*   r8   r9   <module>r>      sH    # . 3 # 4582% 82  682v 
r8   