+
    œ°³j‘  ã                   ór   € ^ RI t ^ RIt^ RIHtHtHtHtHt ^ RIH	t	 ^RI
Ht RRRR/t ! R	 R
]4      tR
.tR# )é    N)Ú	TokenizerÚdecodersÚnormalizersÚpre_tokenizersÚ
processors)ÚUnigram)ÚTokenizersBackendÚ
vocab_filezspiece.modelÚtokenizer_fileztokenizer.jsonc                   ór   a a€ ] tR t^!t oRt]tRR.t]t	R
V 3R llt
R tR tRV3R lV 3R llltR	tVtV ;t# )ÚLasrTokenizeraP  
Construct a LASR tokenizer (backed by HuggingFace's *tokenizers* library). Based on
[Unigram](https://huggingface.co/docs/tokenizers/python/latest/components.html?highlight=unigram#models).

This tokenizer inherits from [`TokenizersBackend`] which contains most of the main methods. Users should
refer to this superclass for more information regarding those methods.

Args:
    vocab_file (`str`, *optional*):
        [SentencePiece](https://github.com/google/sentencepiece) file (generally has a *.spm* extension) that
        contains the vocabulary necessary to instantiate a tokenizer.
    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>

    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.
    extra_ids (`int`, *optional*, defaults to 100):
        Add a number of extra ids added to the vocabulary for use as sentinels. These tokens are accessible as
        "<extra_id_{%d}>" where "{%d}" is a number between 0 and extra_ids-1. These tokens can be retrieved by
        calling get_sentinel_tokens method and token ids can be by calling get_sentinel_token_ids method
    additional_special_tokens (`list[str]`, *optional*):
        Additional special tokens used by the tokenizer.
    vocab (`str`, `dict` or `list`, *optional*):
        Custom vocabulary dict. If not provided, a minimal vocabulary is created using the special tokens.
Ú	input_idsÚattention_maskc	                óž  <€ WPn         Ve…   V U
u. uF  p
R\        V
4      9   g   K  V
NK  	  pp
\        V4      ^8  d(   T\        V4       Uu. uF	  pRV R2NK  	  up,          pMJV^ 8”  d#   V\        V4      8w  d   \	        RV RV R24      hM \        V4       Uu. uF	  pRV R2NK  	  ppTpVe   Wpn        Mh\        V4      R3\        V4      R3\        V4      R3R.V n        \        V^,
          RR4       F$  pV P
                  P                  RV R2R34       K&  	  \        \        V P
                  ^RR	7      4      V n	        Ve&   \        P                  ! V4      V P                  n        \        P                  ! \        P                  ! 4       \        P                   ! RR
RR7      .4      V P                  n        \$        P                   ! RR
RR7      V P                  n        \(        SV `T  ! RRVRVRVRVRV/V	B  \,        P.                  ! RR.. RORV P0                  3.R7      V P                  n        R # u up
i u upi u upi )Nz
<extra_id_Ú>zBoth extra_ids (z!) and additional_special_tokens (zm) are provided to LasrTokenizer. In this case the additional_special_tokens must include the extra_ids tokensg        õ   â–�F)Úunk_idÚbyte_fallbackÚalwaysT)ÚreplacementÚprepend_schemeÚsplitÚ	eos_tokenÚ	unk_tokenÚ	pad_tokenÚ	extra_idsÚadditional_special_tokensú$Aú</s>)ÚsingleÚpairÚspecial_tokens)r   g       Àéÿÿÿÿ© )r   r   z$Br   )Ú
_extra_idsÚstrÚlenÚrangeÚ
ValueErrorÚ_vocab_scoresÚappendr   r   Ú
_tokenizerr   ÚPrecompiledÚ
normalizerr   ÚSequenceÚWhitespaceSplitÚ	MetaspaceÚpre_tokenizerr   ÚdecoderÚsuperÚ__init__r   ÚTemplateProcessingÚeos_token_idÚpost_processor)Úselfr   r   r   Ú_spm_precompiled_charsmapr   r   Úvocabr
   ÚkwargsÚxÚextra_tokensÚiÚ	__class__s   &&&&&&&&&,   €Úk/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/lasr/tokenization_lasr.pyr5   ÚLasrTokenizer.__init__J   s|  ø€ ð $Œð %Ò0Ù'@Ó[Ñ'@ !ÀLÔTWÐXYÓTZÑDZŸA˜AÑ'@ˆLÐ[Ü�<Ó  1Ô$Ø)ÌÈyÔIYÓ-ZÑIYÀA°
¸1¸#¸QÓ.?ÑIYÑ-ZÕZÑ)Ø˜Q” 9´°LÓ0AÔ#AÜ Ø& y kÐ1RÐSlÐRmð nð óð øô 8=¸YÔ7GÓHÑ7G°!˜j¨¨¨1Ó-Ñ7GˆLÐHØ(4Ð%ð ÒØ!&Õô �Y“ Ð%Ü�Y“ Ð%Ü�Y“ Ð%Øð	"ˆDÔô ˜9 q�=¨"¨bÖ1�Ø×"Ñ"×)Ñ)¨Z¸°s¸!Ð+<¸cÐ*BÖCñ 2ä#ÜØ×"Ñ"ØØ#ôó
ˆŒð %Ò0Ü)4×)@Ò)@ÐAZÓ)[ˆD�O‰OÔ&ä(6×(?Ò(?ä×.Ò.Ó0Ü×(Ò(°UÈ8Ð[_Ô`ðó)
ˆ�‰Ô%ô #+×"4Ò"4ÀÐW_ÐgkÔ"lˆ�‰Ôä‰Òñ 	
Øð	
àð	
ð  ð	
ð  ð		
ð
 '@ð	
ð ò	
ô *4×)FÒ)FØ˜&�>Ú-à˜×*Ñ*Ð+ðô*
ˆ�‰Ö&ùòk \ùâ-Zùò Is   �I §I ÁIÂI
c                óT   € \        \        \        R V P                  4      4      4      # )zQGet the list of sentinel tokens (extra_id tokens) from additional_special_tokens.c                 óF   € \        \        P                  ! R V 4      4      RJ# )z<extra_id_\d+>N)ÚboolÚreÚsearch)r=   s   &rA   Ú<lambda>Ú3LasrTokenizer.get_sentinel_tokens.<locals>.<lambda>š   s   € ¤¤b§i¢iÐ0AÀ1Ó&EÓ!FÈdÑ!Ró    )ÚlistÚsetÚfilterr   )r9   s   &rA   Úget_sentinel_tokensÚ!LasrTokenizer.get_sentinel_tokens—   s&   € äÜ”ÑRÐTX×TrÑTrÓsÓtó
ð 	
rJ   c                óh   € V P                  4        Uu. uF  qP                  V4      NK  	  up# u upi )z&Get the token IDs for sentinel tokens.)rN   Úconvert_tokens_to_ids)r9   Útokens   & rA   Úget_sentinel_token_idsÚ$LasrTokenizer.get_sentinel_token_ids�   s.   € à?C×?WÑ?WÔ?YÓZÑ?Y°e×*Ñ*¨5Ö1Ñ?YÑZÐZùÒZs   “/c          
      óf   <€ V ^8„  d   QhRS[ S[S[ ,          ,          RS[RS[R,          RS[RS[/# )é   Ú	token_idsÚskip_special_tokensÚclean_up_tokenization_spacesNÚgroup_tokensÚreturn)ÚintrK   rE   r&   )ÚformatÚ__classdict__s   "€rA   Ú__annotate__ÚLasrTokenizer.__annotate__¡   sI   ø€ ÷ 
ñ 
á™™c�•?ð
ñ "ð
ñ '+¨T¥kð	
ñ
 ð
ñ 
ñ
rJ   c           	     ó"  <€ \        V\        4      '       d   V.pV'       d,   \        P                  ! V4       Uu. uF  qf^ ,          NK  	  ppV Uu. uF  qwV P                  8w  g   K  VNK  	  pp\
        SV `  ! RRVRVRV/VB # u upi u upi )r   rW   rX   rY   r$   )Ú
isinstancer\   Ú	itertoolsÚgroupbyÚpad_token_idr4   Ú_decode)	r9   rW   rX   rY   rZ   r<   Útoken_grouprR   r@   s	   &&&&&,  €rA   rf   ÚLasrTokenizer._decode¡   s¦   ø€ ô �i¤×%Ò%Ø"˜ˆIßÜ;D×;LÒ;LÈYÔ;WÓXÑ;W¨K QŸ˜Ñ;WˆIÐXñ )2ÓP©	˜u¸d×>OÑ>OÑ5O—U�U©	ˆ	ÐPä‰wŠñ 
Øð
à 3ð
ð *Fð
ð ñ	
ð 	
ùò Yùò Qs   »BÁBÁ)B)r%   r,   r*   )r   z<unk>z<pad>Néd   NNN)FNT)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚVOCAB_FILES_NAMESÚvocab_files_namesÚmodel_input_namesr   Úmodelr5   rN   rS   rf   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r@   r^   s   @@rA   r   r   !   sE   ù‡ € ñ"ðH *ÐØ$Ð&6Ð7ÐØ€E÷K
òZ
ò[÷
÷ 
õ 
rJ   r   )rc   rF   Ú
tokenizersr   r   r   r   r   Útokenizers.modelsr   Útokenization_utils_tokenizersr	   ro   r   Ú__all__r$   rJ   rA   Ú<module>rz      sF   ðó* Û 	ç SÕ SÝ %å >ð " >Ð3CÐEUÐVÐ ôU
Ð%ô U
ðp Ð
‚rJ   