+
    œ°³jÍF  ã                   óP  a € R t70 t R t^ RIt^ RIt^ RIHt ^ RIHt ^RIH	t	 ^RI
HtHt ^RIHt ^RIHt ^RIHt ^R	IHt ^R
IHtHtHtHtHt ^RIHt ^RIHt ^RIH t  ^RI!H"t"H#t#H$t$H%t% ^RI&H't' ^RI(H)t) ^RI*H+t+ ^RI,H-t- ]P\                  ! ]/4      t0]'       d   ]! 4       t ] ^ k M\]! . RNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9N4      t1] Pd                  ! ]14       ]! ]"] 4      t3R R lt4 ! R R4      t5RR.t6R# ):zAutoProcessor class.N)ÚOrderedDict)ÚTYPE_CHECKING)ÚPreTrainedConfig)Úget_class_from_dynamic_moduleÚresolve_trust_remote_code)ÚFeatureExtractionMixin)ÚImageProcessingMixin)ÚProcessorMixin)ÚTOKENIZER_CONFIG_FILE)ÚFEATURE_EXTRACTOR_NAMEÚPROCESSOR_NAMEÚVIDEO_PROCESSOR_NAMEÚcached_fileÚlogging)ÚBaseVideoProcessor)Ú_LazyAutoMapping)ÚPROCESSOR_MAPPING_NAMES)ÚCONFIG_MAPPING_NAMESÚ
AutoConfigÚmodel_type_to_module_nameÚ!replace_list_option_in_docstrings)ÚAutoFeatureExtractor)ÚAutoImageProcessor)ÚAutoTokenizer)ÚAutoVideoProcessorc                ó$   € V ^8„  d   QhR\         /# )é   Ú
class_name)Ústr)Úformats   "Úi/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/auto/processing_auto.pyÚ__annotate__r!   \   s   € ÷ ñ ¬#ñ ó    c                 ó²  € \         P                  ! 4        F>  w  rW9   g   K  \        V4      p\        P                  ! R V 2R4      p \        W04      u # 	  \        P                  P                  4        F  p\        VRR4      V 8X  g   K  Vu # 	  \        P                  ! R4      p\        WP4      '       d   \        WP4      # R#   \         d     K¿  i ; i)Ú.ztransformers.modelsÚ__name__NÚtransformers)r   Úitemsr   Ú	importlibÚimport_moduleÚgetattrÚAttributeErrorÚPROCESSOR_MAPPINGÚ_extra_contentÚvaluesÚhasattr)r   Úmodule_nameÚ
processorsÚmoduleÚ	processorÚmain_modules   &     r    Úprocessor_class_from_namer5   \   sÄ   € Ü#:×#@Ò#@Ö#BÑˆØÖ#Ü3°KÓ@ˆKä×,Ò,¨q°°Ð->Ð@UÓVˆFðÜ˜vÓ2Ò2ñ $Cô '×5Ñ5×<Ñ<Ö>ˆ	Ü�9˜j¨$Ó/°:Ö=ØÒñ ?ô ×)Ò)¨.Ó9€KÜˆ{×'Ò'Ü�{Ó/Ð/áøô "ô Úðús   Á	
CÃCÃCc                   ód   a € ] tR t^tt o RtR t]]! ]4      R 4       4       t	]
RR l4       tRtV tR# )ÚAutoProcessora  
This is a generic processor class that will be instantiated as one of the processor classes of the library when
created with the [`AutoProcessor.from_pretrained`] class method.

This class cannot be instantiated directly using `__init__()` (throws an error).
c                ó   € \        R 4      h)z}AutoProcessor is designed to be instantiated using the `AutoProcessor.from_pretrained(pretrained_model_name_or_path)` method.)ÚOSError)Úselfs   &r    Ú__init__ÚAutoProcessor.__init__|   s   € Üð_ó
ð 	
r"   c                óî	  € VP                  RR4      pVP                  RR4      pRVR&   RpRpRpV Uu/ uF  qˆV9   g   K  W‚V,          bK  	  p	pV	P                  RRRRR	R/4       \        V\        3/ V	B p
V
eR   \        P
                  ! V3/ VB w  r¼VP                  R
4      pRVP                  R/ 4      9   d   VR,          R,          pVEfB   \        V\        3/ V	B pVeS   \        P                  ! V3/ VB w  r¼VP                  R
R4      pRVP                  R/ 4      9   d   VR,          R,          pVfh   \        V\        3/ V	B pVeS   \        P                  ! V3/ VB w  r¼VP                  R
R4      pRVP                  R/ 4      9   d   VR,          R,          pVfl   \        V\        3/ V	B pVeW   VfS   \        P                  ! V3/ VB w  r¼VP                  R
R4      pRVP                  R/ 4      9   d   VR,          R,          pVfƒ   \        V\        3/ V	B pVen   \!        VRR7      ;_uu_ 4       p\"        P$                  ! V4      pRRR4       XP                  R
R4      pRVP                  R/ 4      9   d   VR,          R,          pVft    \'        V\(        4      '       g   \*        P,                  ! V3RV/VB p\/        VR
R4      p\1        VR4      '       d%   RVP2                  9   d   VP2                  R,          pVe   \7        V4      pVRJpVRJ;'       g    \9        V4      \:        9   pT;'       d?    T;'       g    \:        \9        V4      ,          P<                  P?                  R4      '       * pV'       g9   V'       d1   RV9   d   VPA                  R4      ^ ,          pMRp\C        WAVVV4      pV'       dT   V'       dL   V'       gD   \E        Wa3/ VB pVP                  RR4      pVPG                  4        VP,                  ! V3RV/VB # Ve   VP,                  ! V3RV/VB # \9        V4      \:        9   d(   \:        \9        V4      ,          P,                  ! V3/ VB # \H        \J        \L        \N        3 F  p VP,                  ! V3RV/VB u # 	  \5        RV R24      hu upi   + '       g   i     ELp; i  \4         d     ELÑi ; i  \P         d     Ke  i ; i)a›  
Instantiate one of the processor classes of the library from a pretrained model vocabulary.

The processor class to instantiate is selected based on the `model_type` property of the config object (either
passed as an argument or loaded from `pretrained_model_name_or_path` if possible):

List options

Params:
    pretrained_model_name_or_path (`str` or `os.PathLike`):
        This can be either:

        - a string, the *model id* of a pretrained feature_extractor hosted inside a model repo on
          huggingface.co.
        - a path to a *directory* containing a processor files saved using the `save_pretrained()` method,
          e.g., `./my_model_directory/`.
    cache_dir (`str` or `os.PathLike`, *optional*):
        Path to a directory in which a downloaded pretrained model feature extractor should be cached if the
        standard cache should not be used.
    force_download (`bool`, *optional*, defaults to `False`):
        Whether or not to force to (re-)download the feature extractor files and override the cached versions
        if they exist.
    proxies (`dict[str, str]`, *optional*):
        A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128',
        'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request.
    token (`str` or *bool*, *optional*):
        The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated
        when running `hf auth login` (stored in `~/.huggingface`).
    revision (`str`, *optional*, defaults to `"main"`):
        The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
        git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any
        identifier allowed by git.
    return_unused_kwargs (`bool`, *optional*, defaults to `False`):
        If `False`, then this function returns just the final feature extractor object. If `True`, then this
        functions returns a `Tuple(feature_extractor, unused_kwargs)` where *unused_kwargs* is a dictionary
        consisting of the key/value pairs whose keys are not feature extractor attributes: i.e., the part of
        `kwargs` which has not been used to update `feature_extractor` and is otherwise ignored.
    trust_remote_code (`bool`, *optional*, defaults to `False`):
        Whether or not to allow for custom models defined on the Hub in their own modeling files. This option
        should only be set to `True` for repositories you trust and in which you have read the code, as it will
        execute code present on the Hub on your local machine.
    kwargs (`dict[str, Any]`, *optional*):
        The values in kwargs of any keys which are feature extractor attributes will be used to override the
        loaded values. Behavior concerning key/value pairs whose keys are *not* feature extractor attributes is
        controlled by the `return_unused_kwargs` keyword parameter.

<Tip>

Passing `token=True` is required when you want to use a private model.

</Tip>

Examples:

```python
>>> from transformers import AutoProcessor

>>> # Download processor from huggingface.co and cache.
>>> processor = AutoProcessor.from_pretrained("facebook/wav2vec2-base-960h")

>>> # If processor files are in a directory (e.g. processor was saved using *save_pretrained('./test/saved_model/')*)
>>> # processor = AutoProcessor.from_pretrained("./test/saved_model/")
```ÚconfigNÚtrust_remote_codeTÚ
_from_autoÚ _raise_exceptions_for_gated_repoFÚ%_raise_exceptions_for_missing_entriesÚ'_raise_exceptions_for_connection_errorsÚprocessor_classr7   Úauto_mapzutf-8)Úencodingztransformers.z--Úcode_revisionz!Unrecognized processing class in zÓ. Can't instantiate a processor, a tokenizer, an image processor, a video processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes.)	Ú	cache_dirÚforce_downloadÚproxiesÚtokenÚrevisionÚlocal_files_onlyÚ	subfolderÚ	repo_typeÚ
user_agent))ÚpopÚupdater   r   r	   Úget_processor_dictÚgetr   r   Úget_image_processor_dictr   r   Úget_video_processor_dictr   Úget_feature_extractor_dictr
   ÚopenÚjsonÚloadÚ
isinstancer   r   Úfrom_pretrainedr*   r/   rE   Ú
ValueErrorr5   Útyper,   Ú
__module__Ú
startswithÚsplitr   r   Úregister_for_auto_classr   r   r   r   Ú	Exception)ÚclsÚpretrained_model_name_or_pathÚkwargsr>   r?   rD   Úprocessor_auto_mapÚ_hub_valid_kwargsÚkeyÚcached_file_kwargsÚprocessor_config_fileÚconfig_dictÚ_Úpreprocessor_config_fileÚtokenizer_config_fileÚreaderÚhas_remote_codeÚhas_local_codeÚexplicit_local_codeÚupstream_repoÚklasss   &&,                  r    r\   ÚAutoProcessor.from_pretrained‚   ss  € ðD —‘˜H dÓ+ˆØ"ŸJ™JÐ':¸DÓAÐØ#ˆˆ|ÑàˆØ!Ðð

Ðñ ;LÓ]Ñ:K°3ÐV\É}Ô.˜c¨#¥;Ò.Ñ:KÐÐ]à×!Ñ!à2°EØ7¸Ø9¸5ðô	
ô !,Ð,IÌ>Ñ pÐ]oÑ pÐØ Ò,Ü+×>Ò>Ð?\ÑgÐ`fÑg‰NˆKØ)Ÿo™oÐ.?Ó@ˆOØ +§/¡/°*¸bÓ"AÔAØ%0°Õ%<¸_Õ%MÐ"àÓ"ä'2Ø-Ô/Eñ(ØI[ñ(Ð$ð (Ò3Ü!5×!NÒ!NÐOlÑ!wÐpvÑ!w‘�Ø"-§/¡/Ð2CÀTÓ"J�Ø" k§o¡o°jÀ"Ó&EÔEØ)4°ZÕ)@ÀÕ)QÐ&ð (Ò/Ü+6Ø1Ô3Gñ,ØK]ñ,Ð(ð ,Ò7Ü%7×%PÒ%PØ5ñ&Ø9?ñ&‘N�Kð '2§o¡oÐ6GÈÓ&N�OØ&¨+¯/©/¸*ÀbÓ*IÔIØ-8¸Õ-DÀ_Õ-UÐ*à'Ò/Ü+6Ø1Ô3Iñ,ØM_ñ,Ð(ð ,Ò7¸OÒ<SÜ%;×%VÒ%VØ5ñ&Ø9?ñ&‘N�Kð '2§o¡oÐ6GÈÓ&N�OØ&¨+¯/©/¸*ÀbÓ*IÔIØ-8¸Õ-DÀ_Õ-UÐ*àÒ"ä$/Ø-Ô/Dñ%ØHZñ%Ð!ð %Ò0ÜÐ/¸'×BÕBÀfÜ"&§)¢)¨FÓ"3�K÷ Cð #.§/¡/Ð2CÀTÓ"J�Ø" k§o¡o°jÀ"Ó&EÔEØ)4°ZÕ)@ÀÕ)QÐ&àÒ"ðÜ! &Ô*:×;Ò;Ü'×7Ò7Ø5ñØIZðØ^dñ�Fô #*¨&Ð2CÀTÓ"J�Ü˜6 :×.Ò.°?ÀfÇoÁoÔ3UØ)/¯©¸Õ)IÐ&ð Ò&Ü7¸ÓHˆOà,°DÐ8ˆØ(°Ð4×YÐY¼¸V»ÔHYÑ8YˆØ,÷ 1ð 1Ø×>Ð>Ô0´°f³Õ>ß
‰*—Z‘Z Ó0ô21Ð÷ §/ØÐ)Ô)Ø 2× 8Ñ 8¸Ó >¸qÕ A‘à $�Ü 9Ø!À.ÐRaÐcpó!Ð÷ ×0×9LÜ;Ø"ñØEKñˆOð —
‘
˜?¨DÓ1ˆAØ×3Ñ3Ô5Ø"×2Ò2Ø-ñØARðØV\ñð ð Ò(Ø"×2Ò2Ø-ñØARðØV\ñð ô �&‹\Ô.Ô.Ü$¤T¨&£\Õ2×BÒBÐC`ÑkÐdjÑkÐkô $Ô%7Ô9KÔMaÓbˆEðØ×,Ò,Ø1ñØEVðØZ`ñò ñ cô Ø/Ð0MÐ/Nð Ogð gó
ð 	
ùòG ^÷x C×BÐBûô, ô ò ðûô\ ô Úðús<   ´R:ÁR:ÉR?ÊA2S ÒS%Ò?S	ÓS"Ó!S"Ó%S4Ó3S4c                ó4   € \         P                  WVR7       R# )zá
Register a new processor for this class.

Args:
    config_class ([`PreTrainedConfig`]):
        The configuration corresponding to the model to register.
    processor_class ([`ProcessorMixin`]): The processor to register.
)Úexist_okN)r,   Úregister)Úconfig_classrD   rx   s   &&&r    ry   ÚAutoProcessor.registera  s   € ô 	×"Ñ" <È8Ð"ÖTr"   © N)F)r%   r_   Ú__qualname__Ú__firstlineno__Ú__doc__r;   Úclassmethodr   r   r\   Ústaticmethodry   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r    r7   r7   t   sK   ø‡ € ñò
ð Ù&Ð'>Ó?ñ[
ó @ó ð[
ðz ó	Uó ö	Ur"   r7   r,   c                óp   € V ^8„  d   Qh/ ^ \         9   d"   \        \        \        R,          3,          ;R&   # )r   Nr   )Ú__conditional_annotations__r   r   )r   s   "r    r!   r!      s*   € × Ñ ÷D JÒIœ[¬¬c°D­j¨Õ9ÑIòE r"   )Úaimv2ÚCLIPProcessor)Údiffusion_gemmaÚGemma4Processor)ÚedgetamÚSam2Processor)Ú	glm4v_moeÚGlm4vProcessor)Úgranite_speech5_ctcÚGraniteSpeech5Processor)Úgranite_speech_plusÚGraniteSpeechProcessor)Úgroupvitrˆ   )ÚhubertÚWav2Vec2Processor)Úinkling_mm_modelÚInklingProcessor)Úlasr_ctcÚLasrProcessor)Úlasr_encoderr™   )Ú
metaclip_2rˆ   )Úmistral3ÚPixtralProcessor)zmm-grounding-dinoÚGroundingDinoProcessor)ÚmodernvbertÚIdefics3Processor)Ú	moonshiner•   )Úparakeet_ctcÚParakeetProcessor)Úparakeet_rnntr£   )Úparakeet_tdtr£   )Úqwen3_5ÚQwen3VLProcessor)Úqwen3_5_moer§   )Úqwen3_vl_moer§   )Ú	qwen4_expr§   )Úsam3_lite_textÚSam3Processor)Úsewr•   )zsew-dr•   )Út5gemma2ÚGemma3Processor)Út5gemma2_encoderr¯   )Ú	unispeechr•   )zunispeech-satr•   )ÚvipllavaÚLlavaProcessor)zwav2vec2-conformerr•   )Úwavlmr•   )8r†   r   r(   rY   Úcollectionsr   Útypingr   Úconfiguration_utilsr   Údynamic_module_utilsr   r   Úfeature_extraction_utilsr   Úimage_processing_utilsr   Úprocessing_utilsr	   Útokenization_pythonr
   Úutilsr   r   r   r   r   Úvideo_processing_utilsr   Úauto_factoryr   Úauto_mappingsr   Úconfiguration_autor   r   r   r   Úfeature_extraction_autor   Úimage_processing_autor   Útokenization_autor   Úvideo_processing_autor   Ú
get_loggerr%   ÚloggerÚMISSING_PROCESSOR_MAPPING_NAMESrR   r,   r5   r7   Ú__all__r!   )r†   s   @r    Ú<module>rÊ      s  øðö ã Û Ý #Ý  õ 4ß \Ý >Ý :Ý .Ý 8ß gÕ gÝ 8Ý *Ý 2÷ó õ :Ý 5Ý ,Ý 5ð 
×	Ò	˜HÓ	%€ßñ =H»MÐÔIá&1ð"	
Ø&ð"	
à2ð"	
ð )ð"	
ð ,ð	"	
ð
 ?ð"	
ð >ð"	
ð *ð"	
ð ,ð"	
ð 5ð"	
ð *ð"	
ð .ð"	
ð ,ð"	
ð -ð"	
ð <ð"	
ð 1ð"	
ð  /ð!"	
ð" 2ð#"	
ð$ 3ð%"	
ð& 2ð'"	
ð( ,ð)"	
ð* 0ð+"	
ð, 1ð-"	
ð. .ð/"	
ð0 0ð1"	
ð2 )ð3"	
ð4 +ð5"	
ð6 ,ð7"	
ð8 4ð9"	
ð: /ð;"	
ð< 3ð="	
ð> +ð?"	
ð@ 8ðA"	
ðB +ðC"	
ó$'Ð#ðJ ×"Ò"Ð#BÔCá$Ð%9Ð;RÓSÐ õ÷0wUñ wUðt  Ð
0‚r"   