+
    œ°³jùI  ã                   óÜ  € R t ^ RIt^ RIt^ RIHt ^RIHt ^RIHtH	t	 ^RI
Ht ^RIHtHtHtHtHtHt ^RIHt ^RIHt ^R	IHtHtHtHt ]P8                  ! ]4      t]! . 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R(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7N4      t]P@                  ! ]4       ]! ]]4      t!R
 R lt"R8R R llt# ! R R4      t$RR.t%R# )9zAutoFeatureExtractor class.N)ÚOrderedDict)ÚPreTrainedConfig)Úget_class_from_dynamic_moduleÚresolve_trust_remote_code)ÚFeatureExtractionMixin)ÚCONFIG_NAMEÚFEATURE_EXTRACTOR_NAMEÚPROCESSOR_NAMEÚcached_fileÚloggingÚsafe_load_json_file)Ú_LazyAutoMapping)ÚFEATURE_EXTRACTOR_MAPPING_NAMES)ÚCONFIG_MAPPING_NAMESÚ
AutoConfigÚmodel_type_to_module_nameÚ!replace_list_option_in_docstringsc                ó$   € V ^8„  d   QhR\         /# )é   Ú
class_name)Ústr)Úformats   "Úq/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/auto/feature_extraction_auto.pyÚ__annotate__r   U   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ÚFEATURE_EXTRACTOR_MAPPINGÚ_extra_contentÚvaluesÚhasattr)r   Úmodule_nameÚ
extractorsÚmoduleÚ	extractorÚmain_modules   &     r   Ú!feature_extractor_class_from_namer-   U   sÅ   € Ü#B×#HÒ#HÖ#JÑˆØÖ#Ü3°KÓ@ˆKä×,Ò,¨q°°Ð->Ð@UÓVˆFðÜ˜vÓ2Ò2ñ $Kô /×=Ñ=×DÑDÖFˆ	Ü�9˜j¨$Ó/°:Ö=ØÒñ Gô ×)Ò)¨.Ó9€KÜˆ{×'Ò'Ü�{Ó/Ð/áøô "ô Úðús   Á	
CÃCÃCc                ó0  € V ^8„  d   QhR\         \        P                  ,          R\         \        P                  ,          R,          R\        R\        \         \         3,          R,          R\        \         ,          R,          R\         R,          R\        /# )	r   Úpretrained_model_name_or_pathÚ	cache_dirNÚforce_downloadÚproxiesÚtokenÚrevisionÚlocal_files_only)r   ÚosÚPathLikeÚboolÚdict)r   s   "r   r   r   m   sˆ   € ÷ k(ñ k(Ü#&¬¯©Õ#4ðk(ä”R—[‘[Õ  4Õ'ðk(ô ðk(ô ”#”s�(�^˜dÕ"ð	k(ô
 ”#�:˜Õðk(ô �D�jðk(ô ñk(r   c                ó4  € \        V \        VVVVVVRRR7
      p\        V \        VVVVVVRRR7
      p	V	'       g    V'       g   \        P	                  R4       / # Rp
Ve   \        V4      pRV9   d
   VR,          p
V	e   V
f   \        V	4      p
T
;'       g    / # )ae
  
Loads the feature extractor configuration from a pretrained model feature extractor configuration.

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

        - a string, the *model id* of a pretrained model configuration hosted inside a model repo on
          huggingface.co.
        - a path to a *directory* containing a configuration file saved using the
          [`~FeatureExtractionMixin.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 configuration 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 configuration 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.
    local_files_only (`bool`, *optional*, defaults to `False`):
        If `True`, will only try to load the feature extractor configuration from local files.

<Tip>

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

</Tip>

Returns:
    `Dict`: The configuration of the feature extractor.

Examples:

```python
# Download configuration from huggingface.co and cache.
feature_extractor_config = get_feature_extractor_config("facebook/wav2vec2-base-960h")
# This model does not have a feature extractor config so the result will be an empty dict.
feature_extractor_config = get_feature_extractor_config("FacebookAI/xlm-roberta-base")

# Save a pretrained feature extractor locally and you can reload its config
from transformers import AutoFeatureExtractor

feature_extractor = AutoFeatureExtractor.from_pretrained("facebook/wav2vec2-base-960h")
feature_extractor.save_pretrained("feature-extractor-test")
feature_extractor_config = get_feature_extractor_config("feature-extractor-test")
```F)	Úfilenamer0   r1   r2   r3   r4   r5   Ú _raise_exceptions_for_gated_repoÚ%_raise_exceptions_for_missing_entriesz:Could not locate the feature extractor configuration file.NÚfeature_extractor)r
   r	   r   ÚloggerÚinfor   )r/   r0   r1   r2   r3   r4   r5   ÚkwargsÚresolved_processor_fileÚresolved_feature_extractor_fileÚfeature_extractor_dictÚprocessor_dicts   &&&&&&&,    r   Úget_feature_extractor_configrF   m   sÆ   € ôD *Ø%ÜØØ%ØØØØ)Ø).Ø.3ôÐô '2Ø%Ü'ØØ%ØØØØ)Ø).Ø.3ô'Ð#÷ +×3JÜ�‰ÐPÔQØˆ	ð
 "ÐØÒ*Ü,Ð-DÓEˆØ .Ô0Ø%3Ð4GÕ%HÐ"à&Ò2Ð7MÒ7UÜ!4Ð5TÓ!UÐØ!×'Ð' RÐ'r   c                   ód   a € ] tR t^Ût o RtR t]]! ]4      R 4       4       t	]
RR l4       tRtV tR# )ÚAutoFeatureExtractora  
This is a generic feature extractor class that will be instantiated as one of the feature extractor classes of the
library when created with the [`AutoFeatureExtractor.from_pretrained`] class method.

This class cannot be instantiated directly using `__init__()` (throws an error).
c                ó   € \        R 4      h)z‹AutoFeatureExtractor is designed to be instantiated using the `AutoFeatureExtractor.from_pretrained(pretrained_model_name_or_path)` method.)ÚOSError)Úselfs   &r   Ú__init__ÚAutoFeatureExtractor.__init__ã   s   € Üðfó
ð 	
r   c                ó*  € VP                  RR4      pVP                  RR4      pRVR&   \        P                  ! V3/ VB w  rVVP                  RR4      pRpRVP                  R/ 4      9   d   VR,          R,          pVfw   Vfs   \	        V\
        4      '       g   \        P                  ! V3RV/VB p\        VRR4      p\        VR4      '       d%   RVP                  9   d   VP                  R,          pVe   \        V4      pVRJp	VRJ;'       g    \        V4      \        9   p
T
;'       d?    T;'       g    \        \        V4      ,          P                  P                  R	4      '       * pV	'       d0   R
V9   d   VP!                  R
4      ^ ,          pMRp\#        WAW©V4      pV	'       dR   V'       dJ   V'       gB   \%        W�3/ VB pVP                  RR4      pVP'                  4        VP                  ! V3/ VB # Ve   VP                  ! V3/ VB # \        V4      \        9   d*   \        \        V4      ,          pVP                  ! V3/ VB # \)        RV R\*         R\,         R\,         RRP/                  R \0         4       4       2
4      h)a
  
Instantiate one of the feature extractor classes of the library from a pretrained model vocabulary.

The feature extractor 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), or when it's
missing, by falling back to using pattern matching on `pretrained_model_name_or_path`:

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 feature extractor file saved using the
          [`~feature_extraction_utils.FeatureExtractionMixin.save_pretrained`] method, e.g.,
          `./my_model_directory/`.
        - a path to a saved feature extractor JSON *file*, e.g.,
          `./my_model_directory/preprocessor_config.json`.
    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 AutoFeatureExtractor

>>> # Download feature extractor from huggingface.co and cache.
>>> feature_extractor = AutoFeatureExtractor.from_pretrained("facebook/wav2vec2-base-960h")

>>> # If feature extractor files are in a directory (e.g. feature extractor was saved using *save_pretrained('./test/saved_model/')*)
>>> # feature_extractor = AutoFeatureExtractor.from_pretrained("./test/saved_model/")
```ÚconfigNÚtrust_remote_codeTÚ
_from_autoÚfeature_extractor_typerH   Úauto_mapztransformers.z--Úcode_revisionz"Unrecognized feature extractor in z4. Should have a `feature_extractor_type` key in its z of z3, or one of the following `model_type` keys in its z: z, c              3   ó$   "  € T F  qx € K  	  R # 5i)N© )Ú.0Úcs   & r   Ú	<genexpr>Ú7AutoFeatureExtractor.from_pretrained.<locals>.<genexpr>f  s   é € Ð@lÑLkÀqÄÓLkùs   ‚)Úpopr   Úget_feature_extractor_dictÚgetÚ
isinstancer   r   Úfrom_pretrainedr"   r'   rS   r-   Útyper$   Ú
__module__Ú
startswithÚsplitr   r   Úregister_for_auto_classÚ
ValueErrorr   r   Újoinr   )Úclsr/   rA   rO   rP   Úconfig_dictÚ_Úfeature_extractor_classÚfeature_extractor_auto_mapÚhas_remote_codeÚhas_local_codeÚexplicit_local_codeÚupstream_repos   &&,          r   r_   Ú$AutoFeatureExtractor.from_pretrainedé   s¥  € ðL —‘˜H dÓ+ˆØ"ŸJ™JÐ':¸DÓAÐØ#ˆˆ|Ñä/×JÒJÐKhÑsÐlrÑs‰ˆØ"-§/¡/Ð2JÈDÓ"QÐØ%)Ð"Ø! [§_¡_°ZÀÓ%DÔDØ)4°ZÕ)@ÐAWÕ)XÐ&ð #Ò*Ð/IÒ/QÜ˜fÔ&6×7Ò7Ü#×3Ò3Ø1ñØEVðØZ`ñ�ô '.¨fÐ6NÐPTÓ&UÐ#Ü�v˜z×*Ò*Ð/EÈÏÉÔ/XØ-3¯_©_Ð=SÕ-TÐ*à"Ò.Ü&GÐH_Ó&`Ð#à4¸DÐ@ˆØ0¸Ð<×iÐiÄÀVÃÔPiÑ@iˆØ,÷ 1ð 1Ø#×NÐNÔ'@ÄÀfÃÕ'Nß
‰*—Z‘Z Ó0ô21Ð÷ ØÐ1Ô1Ø :× @Ñ @ÀÓ FÀqÕ I‘à $�Ü 9Ø!À.Ðcpó!Ð÷ ×0×9LÜ&CØ*ñ'ØMSñ'Ð#ð —
‘
˜?¨DÓ1ˆAØ#×;Ñ;Ô=Ø*×:Ò:Ð;XÑcÐ\bÑcÐcØ$Ò0Ø*×:Ò:Ð;XÑcÐ\bÑcÐcä�&‹\Ô6Ô6Ü&?ÄÀVÃÕ&MÐ#Ø*×:Ò:Ð;XÑcÐ\bÑcÐcäØ0Ð1NÐ0Oð P3Ü3IÐ2JÈ$Ì{Èmð \(Ü(3 }°B°t·y±yÑ@lÕLkÓ@lÓ7lÐ6mðoó
ð 	
r   c                ó4   € \         P                  WVR7       R# )a   
Register a new feature extractor for this class.

Args:
    config_class ([`PreTrainedConfig`]):
        The configuration corresponding to the model to register.
    feature_extractor_class ([`FeatureExtractorMixin`]): The feature extractor to register.
)Úexist_okN)r$   Úregister)Úconfig_classrj   rr   s   &&&r   rs   ÚAutoFeatureExtractor.registeri  s   € ô 	"×*Ñ*¨<Ð[cÐ*Ödr   rV   N)F)r   ra   Ú__qualname__Ú__firstlineno__Ú__doc__rL   Úclassmethodr   r   r_   Ústaticmethodrs   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   rH   rH   Û   sK   ø‡ € ñò
ð Ù&Ð'FÓGñ|
ó Hó ð|
ð| ó	eó ö	er   rH   r$   )Úaudioflamingo3ÚWhisperFeatureExtractor)ÚcanaryÚParakeetFeatureExtractor)ÚcsmÚEncodecFeatureExtractor)zdata2vec-audioÚWav2Vec2FeatureExtractor)Úglmasrr   )Úgranite_speech5_ctcÚGraniteSpeech5FeatureExtractor)Úgranite_speech5_encoderr‡   )Úgranite_speech_plusÚGraniteSpeechFeatureExtractor)Úhiggs_audio_v2_tokenizerÚDacFeatureExtractor)Úhubertr„   )Úinkling_mm_modelÚInklingFeatureExtractor)Úlasr_ctcÚLasrFeatureExtractor)Úlasr_encoderr‘   )Úmimirƒ   )Ú	moonshiner„   )Úmoshirƒ   )Úmusicgenrƒ   )Únemotron3_5_asrÚ$NemotronAsrStreamingFeatureExtractor)Únemotron_asr_streaming_encoderr˜   )Úparakeet_ctcr�   )Úparakeet_encoderr�   )Úparakeet_rnntr�   )Úparakeet_tdtr�   )Úpe_audio_videoÚPeAudioFeatureExtractor)Úqwen2_5_omnir   )Úqwen2_audior   )Úqwen3_omni_moer   )Úseamless_m4t_v2ÚSeamlessM4TFeatureExtractor)Úsewr„   )zsew-dr„   )Ú	unispeechr„   )zunispeech-satr„   )Ú	vibevoiceÚ*VibeVoiceAcousticTokenizerFeatureExtractor)Úvibevoice_asrr¨   )Úvoxtralr   )zwav2vec2-bertr„   )zwav2vec2-conformerr„   )Úwavlmr„   )ÚxcodecrŒ   )NFNNNF)&rx   r    r6   Úcollectionsr   Úconfiguration_utilsr   Údynamic_module_utilsr   r   Úfeature_extraction_utilsr   Úutilsr   r   r	   r
   r   r   Úauto_factoryr   Úauto_mappingsr   Úconfiguration_autor   r   r   r   Ú
get_loggerr   r?   Ú'MISSING_FEATURE_EXTRACTOR_MAPPING_NAMESÚupdater$   r-   rF   rH   Ú__all__rV   r   r   Ú<module>r¹      s8  ðñ "ã Û 	Ý #õ 4ß \Ý >ß s× sÝ *Ý :÷ó ð 
×	Ò	˜HÓ	%€á*5ð(Ø5ð(à.ð(ð 	+ð(ð 	7ð	(ð
 	.ð(ð 	Bð(ð 	Fð(ð 	Að(ð 	<ð(ð 	/ð(ð 	8ð(ð 	-ð(ð 	1ð(ð 	,ð(ð 	2ð(ð  	-ð!(ð" 	0ð#(ð$ 	Dð%(ð& 	Sð'(ð( 	5ð)(ð* 	9ð+(ð, 	6ð-(ð. 	5ð/(ð0 	6ð1(ð2 	4ð3(ð4 	3ð5(ð6 	6ð7(ð8 	;ð9(ð: 	,ð;(ð< 	.ð=(ð> 	2ð?(ð@ 	6ðA(ðB 	DðC(ðD 	HðE(ðF 	/ðG(ðH 	6ðI(ðJ 	;ðK(ðL 	.ðM(ðN 	*ðO(ó*+Ð 'ðX  × &Ò &Ð'NÔ OÙ,Ð-AÐCbÓcÐ õ÷0k(÷\Xeñ Xeðv 'Ð(>Ð
?‚r   