+
    œ°³j	  ã                   ó~   € R t ^RIHtHtHt ^RIHtHtHt ^RI	H
t
  ! R R]RR7      t]
 ! R R	]4      4       tR	.tR
# )z%
Speech processor class for Wav2Vec2
)ÚProcessingKwargsÚProcessorMixinÚUnpack)Ú
AudioInputÚPreTokenizedInputÚ	TextInput)Úauto_docstringc                   ó   € ] tR t^t/ tRtR# )ÚWav2Vec2ProcessorKwargs© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú	_defaultsÚ__static_attributes__r   ó    Úq/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/wav2vec2/processing_wav2vec2.pyr
   r
      s   † Ø„Ir   r
   F)Útotalc                   óh   a a€ ] tR t^t oV 3R lt]RV3R lR ll4       tR t]R 4       t	Rt
VtV ;t# )ÚWav2Vec2Processorc                ó&   <€ \         SV `  W4       R # )N)ÚsuperÚ__init__)ÚselfÚfeature_extractorÚ	tokenizerÚ	__class__s   &&&€r   r   ÚWav2Vec2Processor.__init__   s   ø€ Ü‰ÑÐ*Ö6r   c                ó˜   <€ V ^8„  d   QhRS[ R,          RS[S[S[,          ,          S[,          S[,          R,          RS[S[,          /# )é   ÚaudioNÚtextÚkwargs)r   ÚstrÚlistr   r   r   r
   )ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚWav2Vec2Processor.__annotate__!   sL   ø€ ÷ ñ á˜DÕ ðñ ‘D™•I�o¡	Õ)Ñ,=Õ=ÀÕDðñ Ñ0Õ1ñ	r   c                ó.  € Vf   Vf   \        R4      hV P                  ! \        3RV P                  P                  /VB pVe   V P
                  ! V3/ VR,          B pVe   V P                  ! V3/ VR,          B pVf   X# Vf   X# XR,          XR&   V# )z’
Returns:
    This method returns the results of each `call` method. If both are used, the output is a dictionary containing the results of both.
zAYou need to specify either an `audio` or `text` input to process.Útokenizer_init_kwargsÚaudio_kwargsÚtext_kwargsÚ	input_idsÚlabels)Ú
ValueErrorÚ_merge_kwargsr
   r   Úinit_kwargsr   )r   r!   r"   r#   Úoutput_kwargsÚinputsÚ	encodingss   &&&,   r   Ú__call__ÚWav2Vec2Processor.__call__    s±   € ð Š=˜Tš\ÜÐ`ÓaÐaà×*Ò*Ü#ñ
à"&§.¡.×"<Ñ"<ð
ð ñ
ˆð ÒØ×+Ò+¨EÑS°]À>Õ5RÑSˆFØÒØŸš tÑL¨}¸]Õ/KÑLˆIàŠ<ØˆMØŠ]ØÐà(¨Õ5ˆF�8ÑØˆMr   c                óL  € VP                  RR4      pVP                  RR4      p\        V4      ^ 8”  d   V^ ,          pVR,          pVe!   V P                  P                  ! V.VO5/ VB pVe   V P                  P                  ! V3/ VB pVf   V# Vf   V# VR,          VR&   V# )a  
This method operates on batches of extracted features and/or tokenized text. It forwards all arguments to
[`Wav2Vec2FeatureExtractor.pad`] and/or [`PreTrainedTokenizer.pad`] depending on the input modality and returns their outputs. If both modalities are passed, [`Wav2Vec2FeatureExtractor.pad`] and [`PreTrainedTokenizer.pad`] are called.

Args:
    input_features:
        When the first argument is a dictionary containing a batch of tensors, or the `input_features` argument is present, it is passed to [`Wav2Vec2FeatureExtractor.pad`].
    labels:
        When the `label` argument is present, it is passed to [`PreTrainedTokenizer.pad`].

Returns:
    This method returns the results of each `pad` method. If both are used, the output is a dictionary containing the results of both.
Úinput_featuresNr/   :é   NNr.   )ÚpopÚlenr   Úpadr   )r   Úargsr#   r9   r/   s   &*,  r   r=   ÚWav2Vec2Processor.padA   s³   € ð  Ÿ™Ð$4°dÓ;ˆØ—‘˜H dÓ+ˆÜˆt‹9�qŒ=Ø! !�WˆNØ˜•8ˆDàÒ%Ø!×3Ñ3×7Ò7¸ÐXÈÒXÐQWÑXˆNØÒØ—^‘^×'Ò'¨Ñ9°&Ñ9ˆFàŠ>Ø!Ð!ØÒ#ØˆMà'-¨kÕ':ˆN˜8Ñ$Ø!Ð!r   c                óB   € V P                   P                  pVR .,           # )r/   )r   Úmodel_input_names)r   Úfeature_extractor_input_namess   & r   rA   Ú#Wav2Vec2Processor.model_input_namesb   s#   € ð )-×(>Ñ(>×(PÑ(PÐ%Ø,°¨zÕ9Ð9r   r   )NN)r   r   r   r   r   r   r6   r=   ÚpropertyrA   r   Ú__classdictcell__Ú__classcell__)r   r'   s   @@r   r   r      sC   ù‡ € õ7ð ÷ñ ó ðò@"ðB ñ:ó ÷:ð :r   r   N)Ú__doc__Úprocessing_utilsr   r   r   Útokenization_utils_baser   r   r   Úutilsr   r
   r   Ú__all__r   r   r   Ú<module>rL      sT   ðñ÷ IÑ Hß OÑ OÝ #ôÐ.°eõ ð ôJ:˜ó J:ó ðJ:ðZ Ð
‚r   