ó
    ˆŽ¡j@¾  ã                   óÊ   • S SK JrJrJrJr  S SKJr  SSKJrJ	r	J
r
JrJrJrJrJrJrJr  SSKJr  SSKJrJr  \R.                  " \5      rSSS	S
.rSr " S S\5      r\rSS/rg)é    )Ú	TokenizerÚdecodersÚpre_tokenizersÚ
processors)ÚBPEé   )
ÚENCODE_KWARGS_DOCSTRINGÚ
AddedTokenÚBatchEncodingÚEncodedInputÚPaddingStrategyÚPreTokenizedInputÚ
TensorTypeÚ	TextInputÚTextInputPairÚTruncationStrategy)ÚTokenizersBackend)Úadd_end_docstringsÚloggingz
vocab.jsonz
merges.txtztokenizer.json)Ú
vocab_fileÚmerges_fileÚtokenizer_filea<  
            add_special_tokens (`bool`, *optional*, defaults to `True`):
                Whether or not to encode the sequences with the special tokens relative to their model.
            padding (`bool`, `str` or [`~tokenization_utils_base.PaddingStrategy`], *optional*, defaults to `False`):
                Activates and controls padding. Accepts the following values:

                - `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single
                  sequence if provided).
                - `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum
                  acceptable input length for the model if that argument is not provided.
                - `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different
                  lengths).
            truncation (`bool`, `str` or [`~tokenization_utils_base.TruncationStrategy`], *optional*, defaults to `False`):
                Activates and controls truncation. Accepts the following values:

                - `True` or `'longest_first'`: Truncate to a maximum length specified with the argument `max_length` or
                  to the maximum acceptable input length for the model if that argument is not provided. This will
                  truncate token by token, removing a token from the longest sequence in the pair if a pair of
                  sequences (or a batch of pairs) is provided.
                - `'only_first'`: Truncate to a maximum length specified with the argument `max_length` or to the
                  maximum acceptable input length for the model if that argument is not provided. This will only
                  truncate the first sequence of a pair if a pair of sequences (or a batch of pairs) is provided.
                - `'only_second'`: Truncate to a maximum length specified with the argument `max_length` or to the
                  maximum acceptable input length for the model if that argument is not provided. This will only
                  truncate the second sequence of a pair if a pair of sequences (or a batch of pairs) is provided.
                - `False` or `'do_not_truncate'` (default): No truncation (i.e., can output batch with sequence lengths
                  greater than the model maximum admissible input size).
            max_length (`int`, *optional*):
                Controls the maximum length to use by one of the truncation/padding parameters. If left unset or set to
                `None`, this will use the predefined model maximum length if a maximum length is required by one of the
                truncation/padding parameters. If the model has no specific maximum input length (like XLNet)
                truncation/padding to a maximum length will be deactivated.
            stride (`int`, *optional*, defaults to 0):
                If set to a number along with `max_length`, the overflowing tokens returned when
                `return_overflowing_tokens=True` will contain some tokens from the end of the truncated sequence
                returned to provide some overlap between truncated and overflowing sequences. The value of this
                argument defines the number of overlapping tokens.
            is_split_into_words (`bool`, *optional*, defaults to `False`):
                Whether or not the input is already pretokenized (e.g. split into words). Set this to `True` if you are
                passing pretokenized inputs to avoid additional tokenization.
            pad_to_multiple_of (`int`, *optional*):
                If set will pad the sequence to a multiple of the provided value. This is especially useful to enable
                the use of Tensor Cores on NVIDIA hardware with compute capability `>= 7.5` (Volta).
            return_tensors (`str` or [`~tokenization_utils_base.TensorType`], *optional*):
                If set, will return tensors instead of list of python integers. Acceptable values are:

                - `'pt'`: Return PyTorch `torch.Tensor` objects.
                - `'np'`: Return Numpy `np.ndarray` objects.
c            ,       ó–  ^ • \ rS rSrSr\r/ SQr\r	                 S6S\
\\
\4   -  \\\
\4      -  S-  S\
\\
   -  S-  4U 4S	 jjjrS
 r\" \\5                         S7S\\-  \\   -  \\   -  S\\\   -  S-  S\\\      \\\\         -  S-  S\\   \\\      -  S-  S\S\\
-  \-  S\\
-  \-  S-  S\S-  S\S\S\S-  S\
S-  S\
\-  S-  S\S-  S\S-  S\S\S\S\S\S \4*S! jj5       r\" \\5                        S8S"\\   \\   -  \\   -  S#\S-  S\\\\         S-  S\\   \\\      -  S-  S\S\\
-  \-  S\\
-  \-  S-  S\S-  S\S\S-  S\
S-  S\
\-  S-  S\S-  S\S-  S\S\S\S\S\S \4(S$ jj5       rS9S\
S%\
S-  S\S \\
   4S& jjr\" \\5                        S8S\\-  S\S-  S\\\      S-  S\\   S-  S\S\\
-  \-  S\\
-  \-  S-  S\S-  S\S\S-  S\
S-  S\
\-  S-  S\S-  S\S-  S\S\S\S\S\S \4(S' jj5       r SSSS\RB                  \RD                  SSSSSSSSSSSS4S"\\   \\   -  \\   -  S#\S-  S\\\\         S-  S\\\      S-  S\S(\S)\S\S-  S\S\S-  S\
S-  S\
S-  S\S-  S\S-  S\S\S\S\S\S \4(S* jjr#SSSS\RB                  \RD                  SSSSSSSSSSSS4S\\-  S\S-  S\\\      S-  S\\   S-  S\S(\S)\S\S-  S\S\S-  S\
S-  S\S-  S\S-  S\S-  S\S\S\S\S\S \4(S+ jjr$S\RB                  SSS4S,\\
\%4   \-  S\S-  S(\S\S-  S\
S-  S\S-  S \4S- jjr& S:S.\\   S/\\   S-  S \\   4S0 jjr' S:S.\\   S/\\   S-  S \\   4S1 jjr(S:S2\
S3\
S-  S \\
   4S4 jjr)S5r*U =r+$ );ÚMarkupLMTokenizeré[   a9  
Construct a MarkupLM tokenizer. Based on byte-level Byte-Pair-Encoding (BPE).

[`MarkupLMTokenizer`] can be used to turn HTML strings into to token-level `input_ids`, `attention_mask`,
`token_type_ids`, `xpath_tags_seq` and `xpath_tags_seq`. This tokenizer inherits from [`TokenizersBackend`] which
contains most of the main methods and ensures a `tokenizers` backend is always instantiated.

Users should refer to this superclass for more information regarding those methods.

Args:
    vocab (`str` or `dict[str, int]`, *optional*):
        Custom vocabulary dictionary. If not provided, the vocabulary is loaded from `vocab_file`.
    merges (`str` or `list[str]`, *optional*):
        Custom merges list. If not provided, merges are loaded from `merges_file`.
    errors (`str`, *optional*, defaults to `"replace"`):
        Paradigm to follow when decoding bytes to UTF-8. See
        [bytes.decode](https://docs.python.org/3/library/stdtypes.html#bytes.decode) for more information.
    bos_token (`str`, *optional*, defaults to `"<s>"`):
        The beginning of sequence token that was used during pretraining. Can be used a sequence classifier token.

        <Tip>

        When building a sequence using special tokens, this is not the token that is used for the beginning of
        sequence. The token used is the `cls_token`.

        </Tip>

    eos_token (`str`, *optional*, defaults to `"</s>"`):
        The end of sequence token.

        <Tip>

        When building a sequence using special tokens, this is not the token that is used for the end of sequence.
        The token used is the `sep_token`.

        </Tip>

    sep_token (`str`, *optional*, defaults to `"</s>"`):
        The separator token, which is used when building a sequence from multiple sequences, e.g. two sequences for
        sequence classification or for a text and a question for question answering. It is also used as the last
        token of a sequence built with special tokens.
    cls_token (`str`, *optional*, defaults to `"<s>"`):
        The classifier token which is used when doing sequence classification (classification of the whole sequence
        instead of per-token classification). It is the first token of the sequence when built with special tokens.
    unk_token (`str`, *optional*, defaults to `"<unk>"`):
        The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
        token instead.
    pad_token (`str`, *optional*, defaults to `"<pad>"`):
        The token used for padding, for example when batching sequences of different lengths.
    mask_token (`str`, *optional*, defaults to `"<mask>"`):
        The token used for masking values. This is the token used when training this model with masked language
        modeling. This is the token which the model will try to predict.
    add_prefix_space (`bool`, *optional*, defaults to `False`):
        Whether or not to add an initial space to the input. This allows to treat the leading word just as any
        other word. (RoBERTa tokenizer detect beginning of words by the preceding space).
)Ú	input_idsÚtoken_type_idsÚattention_maskNFTÚvocabÚmergesc                 óš  >• [        U[        5      (       a  [        USSS9OUn[        U[        5      (       a  [        USSS9OUn[        U[        5      (       a  [        USSS9OUn[        U[        5      (       a  [        USSS9OUn[        U	[        5      (       a  [        U	SSS9OU	n	[        U
[        5      (       a  [        U
SSS9OU
n
[        U[        5      (       a  [        USSS9OUnUc9  [        U
5      S[        U	5      S[        U5      S[        U5      S[        U5      S0nU=(       d    / n[        [	        UUS S	S	SS
95      n[
        R                  " US9Ul        [        R                  " 5       Ul	        X l
        X0l        UU l        [        TU ]8  " S0 SU_SU_SU_SU_SU	_SU_SU_SU
_SU_SU_SU_SU_SU_SU_SU_SU_UD6  [        U5      n[        U5      nU R                  nU R                   n["        R$                  " U SU 3U SU SU 3UU4UU4/S9U R                  l        Xl        XÐl        Xàl        Xðl        [1        U R(                  5      U l        U R2                  S-   U l        U R4                  /U R*                  -  U l        U R.                  /U R*                  -  U l        UU l        UU l        g ) NF)ÚlstripÚrstripTr   é   é   r   é   Ú )r   r    ÚdropoutÚcontinuing_subword_prefixÚend_of_word_suffixÚfuse_unk)Úadd_prefix_spaceÚ	tags_dictÚerrorsÚ	bos_tokenÚ	eos_tokenÚ	unk_tokenÚ	sep_tokenÚ	cls_tokenÚ	pad_tokenÚ
mask_tokenr,   Útrim_offsetsÚ	max_depthÚ	max_widthÚ	pad_widthÚpad_token_labelÚonly_label_first_subwordz $A z $B )ÚsingleÚpairÚspecial_tokens© )Ú
isinstanceÚstrr
   r   r   r   Ú	ByteLevelÚpre_tokenizerr   ÚdecoderÚ_vocabÚ_mergesÚ
_tokenizerÚsuperÚ__init__Úcls_token_idÚsep_token_idr   ÚTemplateProcessingÚpost_processorr-   r7   r8   r9   ÚlenÚ
unk_tag_idÚ
pad_tag_idÚpad_xpath_tags_seqÚpad_xpath_subs_seqr:   r;   )Úselfr-   r   r    r.   r/   r0   r2   r3   r1   r4   r5   r,   r7   r8   r9   r:   r;   r6   ÚkwargsÚ	tokenizerÚsep_token_strÚcls_token_strrJ   rK   Ú	__class__s                            €ÚÀC:\Users\johnn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\transformers/models/markuplm/tokenization_markuplm.pyrI   ÚMarkupLMTokenizer.__init__™   s  ø€ ô, JTÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	ÜISÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	ÜISÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	ÜISÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	ÜISÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	ÜISÐT]Ô_b×IcÑIc”J˜y°¸uÒEÐirˆ	äJTÐU_Ôad×JeÑJe”Z 
°4ÀÒFÐkuˆ
à‰=ä�I“ Ü�I“ Ü�I“ Ü�I“ Ü�J“ ðˆEð —˜2ˆÜÜØØØØ*,Ø#%Øñó	
ˆ	ô #1×":Ò":ÐL\Ñ"]ˆ	ÔÜ$×.Ò.Ó0ˆ	ÔØŒØŒØ#ˆŒÜ‰Òò 	
Ùð	
áð	
ñ  ð	
ñ  ð		
ñ
  ð	
ñ  ð	
ñ  ð	
ñ  ð	
ñ "ð	
ñ .ð	
ñ &ð	
ñ  ð	
ñ  ð	
ñ  ð	
ñ ,ð	
ñ  &>Øò#	
ô& ˜I›ˆÜ˜I›ˆØ×(Ñ(ˆØ×(Ñ(ˆÜ)3×)FÒ)FØ#�_ D¨¨Ð8Ø!�? $ } o°T¸-¸ÐIà Ð-Ø Ð-ðñ*
ˆ�‰Ô&ð #Œð #ŒØ"ŒØ"ŒÜ˜dŸn™nÓ-ˆŒØŸ/™/¨AÑ-ˆŒØ#'§?¡?Ð"3°d·n±nÑ"DˆÔØ#'§>¡>Ð"2°T·^±^Ñ"CˆÔØ.ˆÔØ(@ˆÕ%ó    c                 óŒ  • / n/ nUR                  S5      nU H¹  nUR                  5       (       d  M  UR                  5       R                  S5      nUS   n[        U5      S:X  a  SO[        US   SS 5      nUR	                  U R
                  R                  XpR                  5      5        UR	                  [        U R                  U5      5        M»     USU R                   nUSU R                   nX R                  /U R                  [        U5      -
  -  -  nX0R                  /U R                  [        U5      -
  -  -  nX#4$ )z´
Given the xpath expression of one particular node (like "/html/body/div/li[1]/div/span[2]"), return a list of
tag IDs and corresponding subscripts, taking into account max depth.
Ú/Ú[r   r$   Néÿÿÿÿ)ÚsplitÚstriprN   ÚintÚappendr-   ÚgetrO   Úminr8   r7   rP   r9   )	rS   ÚxpathÚxpath_tags_listÚxpath_subs_listÚxpath_unitsÚunitÚ	name_subsÚtag_nameÚsubs	            rY   Úget_xpath_seqÚMarkupLMTokenizer.get_xpath_seqý   s   € ð
 ˆØˆà—k‘k #Ó&ˆÛˆDØ—:‘:—<‘<ÙØŸ
™
›×*Ñ*¨3Ó/ˆIØ  ‘|ˆHÜ˜9“~¨Ó*‘!´°I¸a±LÀÀ"Ð4EÓ0FˆCØ×"Ñ" 4§>¡>×#5Ñ#5°hÇÁÓ#PÔQØ×"Ñ"¤3 t§~¡~°sÓ#;Ö<ñ  ð *Ð*:¨D¯N©NÐ;ˆØ)Ð*:¨D¯N©NÐ;ˆØŸO™OÐ,°·±ÄÀ_ÓAUÑ0UÑVÑVˆØŸN™NÐ+¨t¯~©~ÄÀOÓ@TÑ/TÑUÑUˆàÐ/Ð/r[   r   ÚtextÚ	text_pairÚxpathsÚnode_labelsÚadd_special_tokensÚpaddingÚ
truncationÚ
max_lengthÚstrideÚis_split_into_wordsÚpad_to_multiple_ofÚpadding_sideÚreturn_tensorsÚreturn_token_type_idsÚreturn_attention_maskÚreturn_overflowing_tokensÚreturn_special_tokens_maskÚreturn_offsets_mappingÚreturn_lengthÚverboseÚreturnc                 ó^  • Sn[        U[        5      (       a  [        U5      nUb   [        U[        5      (       a  [        U5      nUGcˆ  U
(       Gd€  Uc  UOUn[        U[        5      (       a  [        U5      nUn[        U[        5      (       a  UR	                  5       nO«[        U[        5      (       a–  U(       aU  [        US   [        5      (       a=  [        S U 5       5      nU(       a!  U Vs/ s H  nUR	                  5       PM     nnO=UnO:U(       a3  [        US   [        5      (       a  U Vs/ s H  n[        U5      PM     nnUc  UnOUn[        U[        5      (       aE  U(       a>  [        US   [        [        45      (       a   U Vs/ s H  nU/[        U5      -  PM     nnO$[        US5      (       a  [        U5      OSnU/U-  nS nUbU  U" U5      (       d  [        S5      e[        U[        [        45      (       d  [        S5      e[        U[        [        45      nOe[        U[        [        45      (       d  [        S5      e[        U[        [        45      =(       a"    U=(       a    [        US   [        [        45      nUc  UOUnUc   S	5       eU(       aU  [        U5      [        U5      :X  d   S
5       e[        UU5       H%  u  n n![        U 5      [        U!5      :X  a  M    S5       e   O[        U5      [        U5      :X  d   S5       eU(       a°  Ub<  [        U5      [        U5      :w  a$  [        S[        U5       S[        U5       S35      eUb  [        [        X5      5      OUn"[        USL5      n#U R                  " S$0 SU"_SU#_SU_SU_SU_SU_SU_SU_SU	_SU_SU_SU_SU_SU_SU_SU_SU_S U_S!U_UD6$ U R                  " S$0 S"U_S#U_SU_SU_SU_SU_SU_SU_SU	_SU_SU_SU_SU_SU_SU_SU_SU_S U_S!U_UD6$ s  snf s  snf s  snf )%a  
Main method to tokenize and prepare for the model one or several sequence(s) or one or several pair(s) of
sequences with nodes, xpaths and optional labels.

Args:
    text (`str`, `list[str]`, `list[list[str]]`):
        The sequence or batch of sequences to be encoded. Each sequence can be a string, a list of strings
        (words of a single example or questions of a batch of examples) or a list of list of strings (batch of
        words).
    text_pair (`list[str]`, `list[list[str]]`):
        The sequence or batch of sequences to be encoded. Each sequence should be a list of strings
        (pretokenized string).
    xpaths (`list[list[int]]`, `list[list[list[int]]]`):
        Node-level xpaths. Each bounding box should be normalized to be on a 0-1000 scale.
    node_labels (`list[int]`, `list[list[int]]`, *optional*):
        Node-level integer labels (for token classification tasks).
    is_split_into_words (`bool`, *optional*):
        Set to `True` if the inputs are already provided as pretokenized word lists.
ú/document/nodeNr   c              3   ó,   #   • U  H
  nS U;   v •  M     g7f)Ú Nr?   )Ú.0Úentrys     rY   Ú	<genexpr>Ú-MarkupLMTokenizer.__call__.<locals>.<genexpr>T  s   é € Ð(PÂ<¸%¨°®Â<ùs   ‚Ú__len__c                 óP  • [        U [        5      (       a  g[        U [        [        45      (       au  [	        U 5      S:X  a  g[        U S   [        5      (       a  g[        U S   [        [        45      (       a.  [	        U S   5      S:H  =(       d    [        U S   S   [        5      $ g)NTr   F)r@   rA   ÚlistÚtuplerN   )Úts    rY   Ú_is_valid_text_inputÚ8MarkupLMTokenizer.__call__.<locals>._is_valid_text_inputg  sƒ   € Ü˜!œS×!Ñ!ØÜ˜!œd¤E˜]×+Ñ+Ü�q“6˜Q“;ØÜ˜a ™d¤C×(Ñ(ØÜ˜a ™d¤T¬5 M×2Ñ2Ü˜q ™t›9¨™>×E¬Z¸¸!¹¸Q¹ÄÓ-EÐEØr[   zStext input must of type `str` (single example) or `list[str]` (batch of examples). zwNodes must be of type `list[str]` (single pretokenized example), or `list[list[str]]` (batch of pretokenized examples).z%You must provide corresponding xpathszAYou must provide nodes and xpaths for an equal amount of examplesz2You must provide as many nodes as there are xpathszbatch length of `text`: z- does not match batch length of `text_pair`: Ú.Úbatch_text_or_text_pairsÚis_pairrr   rs   rt   ru   rv   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   rp   rq   r?   )r@   r�   r�   rA   r`   ÚanyrN   ÚhasattrÚ
ValueErrorÚzipÚboolÚbatch_encode_plusÚencode_plus)$rS   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   rT   Úplaceholder_xpathÚnodes_sourceÚprocessed_nodesÚrequires_splitrŠ   ÚsampleÚlengthr’   Ú
is_batchedÚnodesÚnodes_exampleÚxpaths_exampler•   r–   s$                                       rY   Ú__call__ÚMarkupLMTokenizer.__call__  só  € ðZ -Ðä�dœE×"Ñ"Ü˜“:ˆDØÑ ¤Z°	¼5×%AÑ%AÜ˜Y›ˆIàŠ>×"5Ø#,Ñ#4™4¸)ˆLÜ˜,¬×.Ñ.Ü# LÓ1�Ø*ˆOä˜,¬×,Ñ,Ø".×"4Ñ"4Ó"6‘Ü˜L¬$×/Ñ/Þ¤J¨|¸A©Ä×$DÑ$DÜ%(Ñ(PÁ<Ó(PÓ%P�NÞ%ÙFRÓ*SÂl¸U¨5¯;©;®=Ál˜Ð*S˜à*6™Þ!¤j°¸a±Ä%×&HÑ&HÙBNÓ&OÂ,¸¤t¨F¦|Á,�OÐ&OàÑ Ø&‘à+�	ä˜/¬4×0Ñ0¶_ÌÐTcÐdeÑTfÔimÔotÐhu×IvÑIvÙJYÓZÊ/ÀÐ,Ð-´°F³Ô;É/�ÐZ�ä18¸È)×1TÑ1Tœ˜_Ô-ÐZ[�Ø+Ð,¨vÑ5�ò
	ð Ñ á'¨×-Ñ-Ü Ð!vÓwÐwÜ˜i¬$´¨×7Ñ7Ü ðMóð ô $ D¬4´¨-Ó8‰Jô ˜d¤T¬5 M×2Ñ2Ü ðMóð ô $ D¬4´¨-Ó8×h¸T×hÄjÐQUÐVWÑQXÔ[_ÔafÐZgÓFhˆJà!Ñ)‘¨yˆØÑ!ÐJÐ#JÓJÐ!ÞÜ�u“:¤ V£Ó,ÐqÐ.qÓqÐ,Ü14°U¸FÖ1CÑ-�˜~Ü˜=Ó)¬S°Ó-@Õ@ÐvÐBvÓvÐ@ò 2Dô �u“:¤ V£Ó,ÐbÐ.bÓbÐ,æØÑ$¬¨T«´c¸)³nÓ)DÜ Ø.¬s°4«y¨kð :Ü˜I›Ð' qð*óð ð FOÑEZ¤t¬C°Ó,@Ô'AÐ`dÐ$Ü˜9¨DÐ0Ó1ˆGØ×)Ò)ò Ù)Aðáðñ ðñ (ð	ñ
 $6ðñ  ðñ &ðñ &ðñ ðñ $6ðñ *ðñ  .ðñ '<ðñ '<ðñ +Dðñ  ,Fð!ñ" (>ð#ñ$ ,ð%ñ&  Øñ)ð ð. ×#Ò#ò Ùðá#ðñ ðñ (ð	ñ
 $6ðñ  ðñ &ðñ &ðñ ðñ $6ðñ *ðñ  .ðñ '<ðñ '<ðñ +Dðñ  ,Fð!ñ" (>ð#ñ$ ,ð%ñ&  Øñ)ð ùòq +Tùò 'Pùò [s   Ã2P Ä5P%ÆP*r•   r–   c           	      óÒ   • U R                   " SUUUU
US.UD6u  nnnnU R                  " S0 SU_SU_SU_SU_SU_SU_SU_S	U_S
U	_SU
_SU_SU_SU_SU_SU_SU_SU_SU_SU_UD6$ )N©ru   rv   rw   rz   rƒ   r•   r–   rr   rs   rt   Úpadding_strategyÚtruncation_strategyrw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   r?   )Ú"_get_padding_truncation_strategiesÚ_batch_encode_plus)rS   r•   r–   rr   rs   rt   ru   rv   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   rT   r¬   r­   s                          rY   rœ   Ú#MarkupLMTokenizer.batch_encode_plusÅ  s  € ð2 EI×DkÒDkð E
ØØ!Ø!Ø1ØñE
ð ñE
ÑAÐÐ-¨z¸6ð ×&Ò&ò 
Ù%=ð
áð
ñ ð
ñ $ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ '@ð
ñ  (Bð!
ñ" $:ð#
ñ$ (ð%
ñ& Øñ)
ð 	
r[   r=   c                 ó|   • U(       a  X4/OU/nU R                   R                  " U4USS.UD6nUS   R                  $ )NF©rt   Úis_pretokenizedr   )rG   Úencode_batchÚtokens)rS   rp   r=   rt   rT   Úbatched_inputÚ	encodingss          rY   ÚtokenizeÚMarkupLMTokenizer.tokenizeþ  sM   € Þ*.˜$˜™°T°FˆØ—O‘O×0Ò0Øð
Ø.@ÐRWñ
Ø[añ
ˆ	ð ˜‰|×"Ñ"Ð"r[   c           	      óÒ   • U R                   " SUUUU
US.UD6u  nnnnU R                  " S0 SU_SU_SU_SU_SU_SU_SU_S	U_S
U	_SU
_SU_SU_SU_SU_SU_SU_SU_SU_SU_UD6$ )a"  
Tokenize and prepare for the model a sequence or a pair of sequences. .. warning:: This method is deprecated,
`__call__` should be used instead.

Args:
    text (`str`, `list[str]`, `list[list[str]]`):
        The first sequence to be encoded. This can be a string, a list of strings or a list of list of strings.
    text_pair (`list[str]` or `list[int]`, *optional*):
        Optional second sequence to be encoded. This can be a list of strings (words of a single example) or a
        list of list of strings (words of a batch of examples).
r«   rp   rr   rq   rs   rt   r¬   r­   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   r?   )r®   Ú_encode_plus)rS   rp   rq   rr   rs   rt   ru   rv   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   rT   r¬   r­   s                          rY   r�   ÚMarkupLMTokenizer.encode_plus  s  € ðJ EI×DkÒDkð E
ØØ!Ø!Ø1ØñE
ð ñE
ÑAÐÐ-¨z¸6ð × Ò ò 
Ùð
áð
ñ  ð
ñ $ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ '@ð
ñ  (Bð!
ñ" $:ð#
ñ$ (ð%
ñ& Øñ)
ð 	
r[   r¬   r­   c                 óÜ	  • [        U[        5      (       d  [        S[        U5       S35      eU R	                  UUUU	U
US9  U(       a”  / nU H‰  u  nn[        U[
        5      (       a  [        U5      n[        U[        5      (       a  U/n[        U[
        5      (       a  [        U5      n[        U[        5      (       a  U/nUR                  UU45        M‹     UnOV/ nU HL  n[        U[
        5      (       a  [        U5      n[        U[        5      (       a  U/nUR                  U5        MN     UnU R                  R                  UUSS9nU Vs/ s H  nU R                  UUUUUUb  SOUUUS9PM      nn0 nUS   S    H.  nU VVVs/ s H  u  nnUU     H  nUPM     M     nnnnUUU'   M0     U VVVs/ s H  u  nnU  H  nUPM     M     n nnnU(       a4  / n![        U5       H  u  n"u  n#nU!U"/[        U#S   5      -  -  n!M      U!US	'   US    H  n$U R                  U$UU5        M     / n%/ n&[        [        US   5      5       GHd  n'U(       a	  US	   U'   n(OU'n(/ n)/ n*[        US   U'   U U'   R                   U U'   R"                  5       H÷  u  n+n,n-U-b…  U(       a>  U,S:X  a8  U)R                  U R$                  5        U*R                  U R&                  5        MO  U R)                  UU(   U-   5      u  n.n/U)R+                  U./5        U*R+                  U//5        M�  U+U R,                  U R.                  U R0                  4;   a8  U)R                  U R$                  5        U*R                  U R&                  5        Mî  [3        S
5      e   U%R                  U)5        U&R                  U*5        GMg     U%US'   U&US'   UGb  / n0[        [        US   5      5       Hà  n'U(       a	  US	   U'   n(OU'n(/ n1[        US   U'   US   U'   U U'   R"                  5       HŽ  u  n+n2n-U-bi  U R4                  (       a?  U2S   S:X  a  U1R                  UU(   U-   5        M=  U1R                  U R6                  5        MZ  U1R                  UU(   U-   5        Ms  U1R                  U R6                  5        M�     U0R                  U15        Mâ     U0US'   U(       d  US	 [9        UU US9$ s  snf s  snnnf s  snnnf )Nz/batch_text_or_text_pairs has to be a list (got Ú))r¬   r­   rw   rx   rz   r{   Tr²   )Úencodingr}   r~   r   r€   r�   r‚   rƒ   r   r   Úoverflow_to_sample_mappingzId not recognizedÚxpath_tags_seqÚxpath_subs_seqÚoffset_mappingÚlabels)Útensor_type)r@   r�   Ú	TypeErrorÚtypeÚset_truncation_and_paddingr�   rA   rc   rG   r´   Ú_convert_encodingÚ	enumeraterN   Ú&_eventual_warn_about_too_long_sequenceÚrangerš   Úsequence_idsÚword_idsrQ   rR   rn   ÚextendrJ   rK   Úpad_token_idr™   r;   r:   r   )3rS   r•   r–   rr   rs   rt   r¬   r­   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   Úprocessed_inputsrp   rq   r·   r¿   Útokens_and_encodingsÚsanitized_tokensÚkeyÚitemÚ_ÚeÚstackÚsanitized_encodingsrÀ   ÚiÚtoksr   rÁ   rÂ   Úbatch_indexÚoriginal_indexÚxpath_tags_seq_exampleÚxpath_subs_seq_exampleÚidÚsequence_idÚword_idrg   rh   rÄ   Úlabels_exampleÚoffsets3                                                      rY   r¯   Ú$MarkupLMTokenizer._batch_encode_plusK  sb  € ô, Ð2´D×9Ñ9ÜÐMÌdÐSkÓNlÐMmÐmnÐoÓpÐpð 	×'Ñ'Ø-Ø 3Ø!ØØ1Ø%ð 	(ñ 	
ö Ø!ÐÛ#;‘��iÜ˜d¤E×*Ñ*Ü ›:�DÜ˜d¤C×(Ñ(Ø ˜6�DÜ˜i¬×/Ñ/Ü $ Y£�IÜ˜i¬×-Ñ-Ø!* �IØ ×'Ñ'¨¨yÐ(9Ö:ñ $<ð (8Ñ$à!ÐÛ0�Ü˜d¤E×*Ñ*Ü ›:�DÜ˜d¤C×(Ñ(Ø ˜6�DØ ×'Ñ'¨Ö-ñ 1ð (8Ð$à—O‘O×0Ñ0Ø$Ø1Ø ð 1ð 
ˆ	ñ, &ó 
ò &�ð ×"Ñ"Ø!Ø&;Ø&;Ø*CØ+EàÑ*ñ (,à+Ø+Øð #ó ñ &ð 	ð  
ð, ÐØ'¨Ñ*¨1Ô-ˆCÙ&:ÕNÒ&:™7˜4 ÀDÈÅI¸q“QÁI‘QÑ&:ˆEÒNØ$)Ð˜SÓ!ñ .ñ 1EÕSÒ0D¡W Q¨ÌdÈ›qÉd™qÑ0DÐÒSö %Ø)+Ð&Ü )Ð*>Ö ?‘�‘9�D˜!Ø*¨q¨c´C¸¸[Ñ8IÓ4JÑ.JÑJÒ*ñ !@à=WÐÐ9Ñ:à)¨+Ô6ˆIØ×7Ñ7¸	À:ÈwÖWñ 7ð ˆØˆÜ ¤Ð%5°kÑ%BÓ!C×DˆKÞ(Ø!1Ð2NÑ!OÐP[Ñ!\‘à!,�Ø%'Ð"Ø%'Ð"Ü,/Ø  Ñ-¨kÑ:Ø# KÑ0×=Ñ=Ø# KÑ0×9Ñ9ö-Ñ(��K ð
 Ñ&Þ ;°!Ó#3Ø.×5Ñ5°d×6MÑ6MÔNØ.×5Ñ5°d×6MÑ6MÖNà;?×;MÑ;MÈfÐUcÑNdÐelÑNmÓ;nÑ8˜¨Ø.×5Ñ5°Ð6GÔHØ.×5Ñ5°Ð6GÖHà˜d×/Ñ/°×1BÑ1BÀD×DUÑDUÐVÓVØ.×5Ñ5°d×6MÑ6MÔNØ.×5Ñ5°d×6MÑ6MÖNä(Ð)<Ó=Ð=ñ%-ð& ×!Ñ!Ð"8Ô9Ø×!Ñ!Ð"8×9ñ7 Eð: .<ÐÐ)Ñ*Ø-;ÐÐ)Ñ*ð Ò"ØˆFÜ$¤SÐ)9¸+Ñ)FÓ%GÖH�Þ,Ø%5Ð6RÑ%SÐT_Ñ%`‘Nà%0�NØ!#�Ü+.Ø$ [Ñ1°+Ñ>Ø$Ð%5Ñ6°{ÑCØ'¨Ñ4×=Ñ=ö,Ñ'�B˜ ð
 Ñ*Ø×8×8Ø% a™y¨A›~à .× 5Ñ 5°kÀ.Ñ6QÐRYÑ6ZÖ [à .× 5Ñ 5°d×6JÑ6JÖ Kà*×1Ñ1°+¸nÑ2MÈgÑ2VÖWà&×-Ñ-¨d×.BÑ.BÖCñ,ð  —‘˜nÖ-ñ-  Ið0 *0Ð˜XÑ&æ)Ø$Ð%5Ð6äÐ-Ð/BÐP^Ñ_Ð_ùòU 
ùô0 OùäSs   Å%SÆS 
Æ;S'c                 ó¬  • Sn[        U[        5      (       a  [        U5      nUb   [        U[        5      (       a  [        U5      nUc  UOUnUn[        U[        5      (       a  UR	                  5       nO6[        U[        5      (       a!  U(       a  [        US   [        5      (       a  UnUc  UnOUnUc$  [        US5      (       a  [        U5      OSnU/U-  nU(       a  X4/OU/nU/nUb  U/OS nU R                  " U40 S[        US L5      _SU_SU_SU_SU_S	U_S
U_SU	_SU
_SU_SU_SU_SU_SU_SU_SU_SU_SU_UD6nUcn  U(       dg  [        UR                  5        VVs0 s H5  u  nnU[        U5      S:”  a  [        US   [        5      (       a  US   OU_M7     snnUR                  5      nU R                  US   UU5        U$ s  snnf )Nr†   r   r�   r–   rr   rs   rt   r¬   r­   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   r   )r@   r�   r�   rA   r`   r˜   rN   r¯   r›   r   Úitemsr·   rË   )rS   rp   rq   rr   rs   rt   r¬   r­   rw   rx   rz   r{   r|   r}   r~   r   r€   r�   r‚   rƒ   rT   rž   Únodes_singler    r£   r¶   Úbatched_xpathsÚbatched_node_labelsÚbatched_outputrÔ   Úvalues                                  rY   r»   ÚMarkupLMTokenizer._encode_plusú  s[  € ð. -Ðä�dœE×"Ñ"Ü˜“:ˆDØÑ ¤Z°	¼5×%AÑ%AÜ˜Y›ˆIà(Ñ0‘t°iˆØ&ˆä�l¤C×(Ñ(Ø*×0Ñ0Ó2‰OÜ˜¤d×+Ñ+¶ÄÈLÐYZÉOÔ]`×AaÑAaØ*ˆOàÑØ"‰Dà'ˆIà‰>Ü-4°_Ài×-PÑ-P”S˜Ô)ÐVWˆFØ'Ð(¨6Ñ1ˆFö 09˜$Ð*Ñ+¸t¸fˆØ ˜ˆØ/:Ñ/F˜{™mÈDÐØ×0Ò0Øò
ä˜¨$Ð.Ô/ð
ñ "ð
ñ ,ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ '@ð
ñ  (Bð!
ñ" $:ð#
ñ$ (ð%
ñ& Øñ)
ˆð2 Ñ!Ö*CÜ*ð '5×&:Ñ&:Ô&<ôâ&<™
˜˜Uð ¤S¨£Z°!£^¼
À5ÈÁ8ÌT×8RÑ8R˜˜qšÐX]Ò]Ù&<òð ×(Ñ(óˆNð 	×3Ñ3°NÀ;Ñ4OÐQ[Ð]dÔeàÐùós   Å)<G
Úencoded_inputsc                 ó  • Uc  SU R                   ;   nXR                   S      nU[        R                  :X  a  [        U5      nUb  Ub  X$-  S:w  a
  X$-  S-   U-  nU[        R                  :g  =(       a    [        U5      U:g  nU(       a  SU;  a  S/[        U5      -  US'   U(       Ga×  U[        U5      -
  n	Ub  UOU R
                  nUS:X  aÊ  U(       a  US   S/U	-  -   US'   SU;   a  US   U R                  /U	-  -   US'   SU;   a  US   U R                  /U	-  -   US'   SU;   a  US   U R                  /U	-  -   US'   SU;   a  US   U R                  /U	-  -   US'   S	U;   a  US	   S/U	-  -   US	'   XpR                  /U	-  -   XR                   S   '   U$ US
:X  aË  U(       a  S/U	-  US   -   US'   SU;   a  U R                  /U	-  US   -   US'   SU;   a  U R                  /U	-  US   -   US'   SU;   a  U R                  /U	-  US   -   US'   SU;   a  U R                  /U	-  US   -   US'   S	U;   a  S/U	-  US	   -   US	'   U R                  /U	-  U-   XR                   S   '   U$ [        S[        U5      -   5      eU$ )ap  
Args:
Pad encoded inputs (on left/right and up to predefined length or max length in the batch)
    encoded_inputs:
        Dictionary of tokenized inputs (`list[int]`) or batch of tokenized inputs (`list[list[int]]`).
    max_length: maximum length of the returned list and optionally padding length (see below).
        Will truncate by taking into account the special tokens.
    padding_strategy: PaddingStrategy to use for padding.
        - PaddingStrategy.LONGEST Pad to the longest sequence in the batch
        - PaddingStrategy.MAX_LENGTH: Pad to the max length (default)
        - PaddingStrategy.DO_NOT_PAD: Do not pad
        The tokenizer padding sides are defined in self.padding_side:
            - 'left': pads on the left of the sequences
            - 'right': pads on the right of the sequences
    pad_to_multiple_of: (optional) Integer if set will pad the sequence to a multiple of the provided value.
        This is especially useful to enable the use of Tensor Core on NVIDIA hardware with compute capability
        `>= 7.5` (Volta).
    padding_side:
        The side on which the model should have padding applied. Should be selected between ['right', 'left'].
        Default value is picked from the class attribute of the same name.
    return_attention_mask:
        (optional) Set to False to avoid returning attention mask (default: set to model specifics)
r   r   r$   Úrightr   rÁ   rÂ   rÄ   Úspecial_tokens_maskÚleftzInvalid padding strategy:)Úmodel_input_namesr   ÚLONGESTrN   Ú
DO_NOT_PADr{   Úpad_token_type_idrQ   rR   r:   rÐ   r™   rA   )
rS   rî   rw   r¬   rz   r{   r~   Úrequired_inputÚneeds_to_be_paddedÚ
differences
             rY   Ú_padÚMarkupLMTokenizer._padV  s…  € ðB !Ñ(Ø$4¸×8NÑ8NÑ$NÐ!à'×(>Ñ(>¸qÑ(AÑBˆàœ×6Ñ6Ó6Ü˜^Ó,ˆJàÑ!Ð&8Ñ&DÈ*ÑJiÐmnÓJnØ%Ñ;¸qÑ@ÐDVÑVˆJà-´×1KÑ1KÑK×qÔPSÐTbÓPcÐgqÑPqÐö !Ð%5¸^Ó%KØ01¨s´S¸Ó5HÑ/HˆNÐ+Ñ,çØ#¤c¨.Ó&9Ñ9ˆJØ+7Ñ+C™<È×IZÑIZˆLØ˜wÓ&Þ(Ø7EÐFVÑ7WÐ[\ÐZ]Ð`jÑZjÑ7j�NÐ#3Ñ4Ø# ~Ó5à&Ð'7Ñ8¸D×<RÑ<RÐ;SÐV`Ñ;`Ñ`ð #Ð#3Ñ4ð $ ~Ó5à&Ð'7Ñ8¸D×<SÑ<SÐ;TÐWaÑ;aÑað #Ð#3Ñ4ð $ ~Ó5à&Ð'7Ñ8¸D×<SÑ<SÐ;TÐWaÑ;aÑað #Ð#3Ñ4ð ˜~Ó-Ø/=¸hÑ/GÈ4×K_ÑK_ÐJ`ÐcmÑJmÑ/m�N 8Ñ,Ø(¨NÓ:Ø<JÐK`Ñ<aÐefÐdgÐjtÑdtÑ<t�NÐ#8Ñ9Ø<J×N_ÑN_ÐM`ÐcmÑMmÑ<m�×5Ñ5°aÑ8Ñ9ð0 Ðð/  Ó'Þ(Ø89°s¸ZÑ7GÈ.ÐYiÑJjÑ7j�NÐ#3Ñ4Ø# ~Ó5Ø8<×8NÑ8NÐ7OÐR\Ñ7\Ð_mØ(ñ`ñ 8�NÐ#3Ñ4ð $ ~Ó5Ø8<×8OÑ8OÐ7PÐS]Ñ7]Ð`nØ(ñañ 8�NÐ#3Ñ4ð $ ~Ó5Ø8<×8OÑ8OÐ7PÐS]Ñ7]Ð`nØ(ñañ 8�NÐ#3Ñ4ð ˜~Ó-Ø04×0DÑ0DÐ/EÈ
Ñ/RÐUcÐdlÑUmÑ/m�N 8Ñ,Ø(¨NÓ:Ø=>¸CÀ*Ñ<LÈ~Ð^sÑOtÑ<t�NÐ#8Ñ9Ø=A×=NÑ=NÐ<OÐR\Ñ<\Ð_mÑ<m�×5Ñ5°aÑ8Ñ9ð Ðô !Ð!<¼sÀ<Ó?PÑ!PÓQÐQàÐr[   Útoken_ids_0Útoken_ids_1c                 ó’   • Uc  U R                   /U-   U R                  /-   $ U R                   /nU R                  /nX1-   U-   U-   U-   $ )a4  
Build model inputs from a sequence or a pair of sequence for sequence classification tasks by concatenating and
adding special tokens. A RoBERTa sequence has the following format:
- single sequence: `<s> X </s>`
- pair of sequences: `<s> A </s></s> B </s>`

Args:
    token_ids_0 (`list[int]`):
        List of IDs to which the special tokens will be added.
    token_ids_1 (`list[int]`, *optional*):
        Optional second list of IDs for sequence pairs.
Returns:
    `list[int]`: List of [input IDs](../glossary#input-ids) with the appropriate special tokens.
)rJ   rK   )rS   rü   rý   ÚclsÚseps        rY   Ú build_inputs_with_special_tokensÚ2MarkupLMTokenizer.build_inputs_with_special_tokens¸  s`   € ð" ÑØ×%Ñ%Ð&¨Ñ4¸×8IÑ8IÐ7JÑJÐJØ× Ñ Ð!ˆØ× Ñ Ð!ˆØÑ  3Ñ&¨Ñ4°sÑ:Ð:r[   c                 ó˜   • U R                   /nU R                  /nUc  [        XA-   U-   5      S/-  $ [        XA-   U-   U-   U-   5      S/-  $ )a{  
Create a mask from the two sequences passed to be used in a sequence-pair classification task. RoBERTa does not
make use of token type ids, therefore a list of zeros is returned.

Args:
    token_ids_0 (`list[int]`):
        List of IDs.
    token_ids_1 (`list[int]`, *optional*):
        Optional second list of IDs for sequence pairs.
Returns:
    `list[int]`: List of zeros.
r   )rK   rJ   rN   )rS   rü   rý   r   rÿ   s        rY   Ú$create_token_type_ids_from_sequencesÚ6MarkupLMTokenizer.create_token_type_ids_from_sequencesÏ  sd   € ð × Ñ Ð!ˆØ× Ñ Ð!ˆàÑÜ�sÑ(¨3Ñ.Ó/°1°#Ñ5Ð5Ü�3Ñ$ sÑ*¨[Ñ8¸3Ñ>Ó?À1À#ÑEÐEr[   Úsave_directoryÚfilename_prefixc                 ó^   • U R                   R                  R                  XS9n[        U5      $ )N)Úname)rG   ÚmodelÚsaver�   )rS   r  r  Úfiless       rY   Úsave_vocabularyÚ!MarkupLMTokenizer.save_vocabularyå  s)   € Ø—‘×%Ñ%×*Ñ*¨>Ð*ÐPˆÜ�U‹|Ðr[   )rF   rG   rE   r7   r8   r;   rP   r:   r9   rR   rQ   r-   rO   )NNÚreplaceú<s>ú</s>r  r  z<unk>z<pad>z<mask>Fé2   iè  ié  iœÿÿÿTF)NNNTFNNr   FNNNNNFFFFT)NNNTFNNr   NNNNNFFFFT)NF)N),Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚVOCAB_FILES_NAMESÚvocab_files_namesró   r   r
  rA   Údictrb   r�   r�   ÚfloatrI   rn   r   r	   Ú0MARKUPLM_ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRINGr   r   r›   r   r   r   r   r¨   r   rœ   r¸   r�   rõ   ÚDO_NOT_TRUNCATEr¯   r»   r   rú   r  r  r  Ú__static_attributes__Ú__classcell__)rX   s   @rY   r   r   [   sã	  ø† ñ7ðr *ÐÚIÐØ€Eð
 HLØ)-ØØØØØØØØØØØØØØ!%Øñ'bAð �T˜#˜s˜(‘^Ñ# d¨5°°e°Ñ+<Ñ&=Ñ=ÀÑDðbAð �d˜3‘i‘ $Ñ&÷	bAð bAòH0ñ2 Ð/Ð1aÓbð IMØAEØ:>Ø#'Ø05Ø=AØ!%ØØ$)Ø)-Ø#'Ø26Ø-1Ø-1Ø*/Ø+0Ø',Ø#Øñ+làÐ+Ñ+¨d°9©oÑ=ÀÐEVÑ@WÑWðlð % tÐ,=Ñ'>Ñ>ÀÑEðlð �T˜#‘Y‘ $ t¨D°©I¡Ñ"7Ñ7¸$Ñ>ð	lð
 ˜#‘Y  d¨3¡i¡Ñ0°4Ñ7ðlð !ðlð ˜‘˜oÑ-ðlð ˜3‘JÐ!3Ñ3°dÑ:ðlð ˜$‘Jðlð ðlð "ðlð   $™Jðlð ˜D‘jðlð ˜jÑ(¨4Ñ/ðlð  $ d™{ðlð   $ d™{ð!lð" $(ð#lð$ %)ð%lð& !%ð'lð( ð)lð* ð+lð. 
ô/ló cðlñ\ Ð/Ð1aÓbð  $Ø/3Ø:>Ø#'Ø05Ø=AØ!%ØØ)-Ø#'Ø26Ø-1Ø-1Ø*/Ø+0Ø',Ø#Øñ)6
à"& y¡/°D¸Ñ4GÑ"GÈ$ÐO`ÑJaÑ"að6
ð ˜‘ð6
ð �T˜$˜s™)‘_Ñ%¨Ñ,ð	6
ð
 ˜#‘Y  d¨3¡i¡Ñ0°4Ñ7ð6
ð !ð6
ð ˜‘˜oÑ-ð6
ð ˜3‘JÐ!3Ñ3°dÑ:ð6
ð ˜$‘Jð6
ð ð6
ð   $™Jð6
ð ˜D‘jð6
ð ˜jÑ(¨4Ñ/ð6
ð  $ d™{ð6
ð  $ d™{ð6
ð  $(ð!6
ð" %)ð#6
ð$ !%ð%6
ð& ð'6
ð( ð)6
ð, 
ô-6
ó cð6
ñp#˜Sð #¨¨d©
ð #Ètð #ÐjnÐorÑjsõ #ñ Ð/Ð1aÓbð /3Ø)-Ø(,Ø#'Ø05Ø=AØ!%ØØ)-Ø#'Ø26Ø-1Ø-1Ø*/Ø+0Ø',Ø#Øñ)B
àÐ+Ñ+ðB
ð % tÑ+ðB
ð �T˜#‘Y‘ $Ñ&ð	B
ð
 ˜#‘Y Ñ%ðB
ð !ðB
ð ˜‘˜oÑ-ðB
ð ˜3‘JÐ!3Ñ3°dÑ:ðB
ð ˜$‘JðB
ð ðB
ð   $™JðB
ð ˜D‘jðB
ð ˜jÑ(¨4Ñ/ðB
ð  $ d™{ðB
ð  $ d™{ðB
ð  $(ð!B
ð" %)ð#B
ð$ !%ð%B
ð& ð'B
ð( ð)B
ð, 
ô-B
ó cðB
ðN  $Ø/3Ø.2Ø#'Ø,;×,FÑ,FØ2D×2TÑ2TØ!%ØØ)-Ø#'Ø%)Ø-1Ø-1Ø*/Ø+0Ø',Ø#Øñ)m`à"& y¡/°D¸Ñ4GÑ"GÈ$ÐO`ÑJaÑ"aðm`ð ˜‘ðm`ð �T˜$˜s™)‘_Ñ%¨Ñ,ð	m`ð
 ˜$˜s™)‘_ tÑ+ðm`ð !ðm`ð *ðm`ð 0ðm`ð ˜$‘Jðm`ð ðm`ð   $™Jðm`ð ˜D‘jðm`ð ˜d™
ðm`ð  $ d™{ðm`ð  $ d™{ðm`ð  $(ð!m`ð" %)ð#m`ð$ !%ð%m`ð& ð'm`ð( ð)m`ð* 
õ+m`ðd /3Ø)-Ø(,Ø#'Ø,;×,FÑ,FØ2D×2TÑ2TØ!%ØØ)-Ø#'Ø&*Ø-1Ø-1Ø*/Ø+0Ø',Ø#Øñ)ZàÐ+Ñ+ðZð % tÑ+ðZð �T˜#‘Y‘ $Ñ&ð	Zð
 ˜#‘Y Ñ%ðZð !ðZð *ðZð 0ðZð ˜$‘JðZð ðZð   $™JðZð ˜D‘jðZð ˜t™ðZð  $ d™{ðZð  $ d™{ðZð  $(ð!Zð" %)ð#Zð$ !%ð%Zð& ð'Zð( ð)Zð, 
õ-Zð~ "&Ø,;×,FÑ,FØ)-Ø#'Ø-1ñ`à˜S ,Ð.Ñ/°-Ñ?ð`ð ˜$‘Jð`ð *ð	`ð
   $™Jð`ð ˜D‘jð`ð  $ d™{ð`ð 
õ`ðF GKñ;Ø ™9ð;Ø37¸±9¸tÑ3Cð;à	ˆc‰õ;ð0 GKñFØ ™9ðFØ37¸±9¸tÑ3CðFà	ˆc‰õFñ,¨cð ÀCÈ$ÁJð ÐZ_Ð`cÑZd÷ ó r[   r   ÚMarkupLMTokenizerFastN)Ú
tokenizersr   r   r   r   Útokenizers.modelsr   Útokenization_utils_baser	   r
   r   r   r   r   r   r   r   r   Útokenization_utils_tokenizersr   Úutilsr   r   Ú
get_loggerr  Úloggerr  r  r   r   Ú__all__r?   r[   rY   Ú<module>r)     sv   ð÷  GÓ FÝ !÷÷ ÷ õ ?ß 0ð 
×	Ò	˜HÓ	%€à#/ÀÐ`pÑqÐ ð04Ð 0ôfLÐ)ô Lð^ *Ð ð Ð 7Ð
8�r[   