+
    œ°³j„  ã                   ó˜   € ^ RI t^ RIHt ^RIHt ^RIHt ^RIH	t	 ^RI
Ht ^RIHtHt ]	! RR	7      ] ! R
 R]4      4       4       tR.tR# )é    N)Ústrict)ÚPreTrainedConfig)ÚRopeParameters)Úauto_docstring)Úinterval)ÚCONFIG_MAPPINGÚ
AutoConfigzneuphonic/neucodec)Ú
checkpointc                   ó(  a a€ ] tR t^t oRtRtR.tRtRt^t	^t
^tRtRt]! RRR	7      ! R
R7      tRtRtRtRtRtRt^@tR]/t^0tRtRtRtRtRtRtRt V 3R lt!R t"]#V3R lR l4       t$]#V3R lR l4       t%]#V3R lR l4       t&V3R lt'Rt(Vt)V ;t*# ) ÚNeuCodecConfigaq  
downsampling_ratios (`list[int]`, *optional*, defaults to `[2, 2, 4, 4, 5]`):
    Ratios for downsampling in the encoder.
semantic_model_config (`Union[Dict, Wav2Vec2BertConfig]`, *optional*):
    An instance of the configuration object for the semantic (Wav2Vec2BertConfig) model.
quantization_dim (`int`, *optional*, defaults to 2048):
    Dimension for the vector quantization codebook.
quantization_levels (`list[int]`, *optional*, defaults to `[4, 4, 4, 4, 4, 4, 4, 4]`):
    Levels for the vector quantization codebook.
input_sampling_rate (`int`, *optional*, defaults to 16000):
    Sampling rate, in hertz (Hz), of the encoder's input audio waveform.
output_sampling_rate (`int`, *optional*, defaults to 24000):
    Sampling rate, in hertz (Hz), of the decoder's output audio waveform.

Example:

```python
>>> from transformers import NeuCodecConfig, NeuCodecModel

>>> # Initializing configuration
>>> configuration = NeuCodecConfig()

>>> # Initializing a model (with random weights) from the configuration
>>> model = NeuCodecModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```ÚneucodecÚpast_key_valuesi   i   Úsilug        g      ð?)ÚminÚmaxg{®Gáz”?)Údefaultg�íµ ÷Æ°>NFÚsemantic_model_configgš™™™™™¹?i   i€>  iÀ]  c                ó  <€ \        V P                  \        4      '       d^   V P                  P                  R R4      V P                  R &   \        V P                  R ,          ,          ! R/ V P                  B V n        M'V P                  f   \        R,          ! ^R7      V n        V P
                  f#   V P                  V P                  ,          V n        V P                  f   V P                  V n        \        SV `(  ! R/ VB  R# )Ú
model_typezwav2vec2-bertN)Únum_hidden_layers© )Ú
isinstancer   ÚdictÚgetr   Úhead_dimÚhidden_sizeÚnum_attention_headsÚnum_key_value_headsÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€Út/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/neucodec/configuration_neucodec.pyr    ÚNeuCodecConfig.__post_init__[   sÔ   ø€ Ü�d×0Ñ0´$×7Ò7Ø7;×7QÑ7Q×7UÑ7UÐVbÐdsÓ7tˆD×&Ñ& |Ñ4Ü)7¸×8RÑ8RÐS_Õ8`Ö)añ *Ø×,Ñ,ñ*ˆDÕ&ð ×'Ñ'Ò/Ü)7¸Ö)HÐ[]Ô)^ˆDÔ&Ø�=‰=Ò Ø ×,Ñ,°×0HÑ0HÕHˆDŒMØ×#Ñ#Ò+Ø'+×'?Ñ'?ˆDÔ$ä‰ÒÑ' Ô'ó    c                ó–   € V P                   V P                  ,          ^ 8w  d'   \        RV P                    RV P                   R24      hR# )zOPart of `@strict`-powered validation. Validates the architecture of the config.zThe hidden size (z6) is not a multiple of the number of attention heads (z).N)r   r   Ú
ValueError©r!   s   &r$   Úvalidate_architectureÚ$NeuCodecConfig.validate_architecturej   sS   € à×Ñ˜d×6Ñ6Õ6¸!Ô;ÜØ# D×$4Ñ$4Ð#5ð 6Ø×2Ñ2Ð3°2ð7óð ñ <r&   c                ó    <€ V ^8„  d   QhRS[ /# ©é   Úreturn©Úint)ÚformatÚ__classdict__s   "€r$   Ú__annotate__ÚNeuCodecConfig.__annotate__s   s   ø€ ÷ cñ c™Cñ cr&   c                óp   € \        V P                  V P                  ,          V P                  ,          4      # )N)r1   Úencoder_hop_lengthÚoutput_sampling_rateÚinput_sampling_rater)   s   &r$   Ú
hop_lengthÚNeuCodecConfig.hop_lengthr   s+   € ô �4×*Ñ*¨T×-FÑ-FÕFÈ×IaÑIaÕaÓbÐbr&   c                ó    <€ V ^8„  d   QhRS[ /# r-   r0   )r2   r3   s   "€r$   r4   r5   y   s   ø€ ÷ #ñ #‘sñ #r&   c                ó(   € V P                   ^,          # )é   )r:   r)   s   &r$   Ún_fftÚNeuCodecConfig.n_fftx   s   € à�‰ Õ"Ð"r&   c                ó    <€ V ^8„  d   QhRS[ /# r-   r0   )r2   r3   s   "€r$   r4   r5   }   s   ø€ ÷ 6ñ 6¡Cñ 6r&   c                óT   € \        \        P                  ! V P                  4      4      # )zhHop length, in samples at `input_sampling_rate`, between successive codes (i.e. the encoder frame rate).)r1   ÚnpÚprodÚdownsampling_ratiosr)   s   &r$   r7   Ú!NeuCodecConfig.encoder_hop_length|   s   € ô ”2—7’7˜4×3Ñ3Ó4Ó5Ð5r&   c                óþ  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ ;R&   S[;R&   S[;R	&   S[ R
,          ;R&   S[;R&   S[S[,          R
,          ;R&   S[;R&   S[ S[,          R
,          ;R&   S[ ;R&   S[ ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[S[,          R
,          ;R&   S[;R&   S[ ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[ ;R&   S[ ;R&   # )r.   r   Úintermediate_sizer   r   r   Ú
hidden_actÚmax_position_embeddingsÚinitializer_rangeÚrms_norm_epsNÚpad_token_idÚtie_word_embeddingsÚrope_parametersÚattention_biasÚattention_dropoutr   Úencoder_hidden_size.rE   r   Úactivation_dropoutÚquantization_dimÚquantization_levelsr9   r8   )	r1   ÚstrÚfloatÚboolr   r   ÚlistÚtupler   )r2   r3   s   "€r$   r4   r5      s¢  ø‡ ‚ ñD ÑñE ñF Ñ!ñG ñH ÑñI ñJ Ñ!ñK ñL Ñ!ñM ñN ÑñO ñP !Ñ'ñQ ñR ÑGñS ñT ÑñU ñV ˜•*Ñ#ñW ñX Ñ%ñY ñZ $¡dÕ*¨TÕ1Ñ8ñ[ ñ\ Ñ ñ] ñ^ ™U•{ TÕ)Ñ/ñ_ ñ` Ñña ñf Ñ!ñg ñh ™c�¡U©3°¨8¥_Õ4ÑFñi ñj  Ñ"2Õ2°TÕ9Ñ@ñk ñl Ñ#ñm ñn Ñ ño ñp ™c�¡U©3°¨8¥_Õ4ÑOñq ñr Ñ%ñs ñt Ñ&òu r&   )r   r   r   )r.   r.   r>   r>   é   )r>   r>   r>   r>   r>   r>   r>   r>   )+Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Úkeys_to_ignore_at_inferencer   rH   r   r   r   rI   rJ   r   rK   rL   rM   rN   rO   rP   rQ   r   r	   Úsub_configsrR   rE   r   rS   rT   rU   r9   r8   r    r*   Úpropertyr:   r?   r7   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r3   s   @@r$   r   r      s  ù‡ € ñð: €JØ#4Ð"5ÐØ€KØ!ÐØÐØ!ÐØ!ÐØ€JØ#'ÐÙ'¨C°SÕ9À$ÔGÐØ€LØ#€LØ %ÐØ48€OØ €NØ,/ÐØ€HØ*¨JÐ7€Kà!ÐØ7FÐØ<@ÐØ #ÐØ ÐØ7OÐØ%ÐØ &Ðõ(òð ÷có ðcð
 ÷#ó ð#ð ÷6ó ð6÷} … r&   r   )ÚnumpyrC   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úmodeling_rope_utilsr   Úutilsr   Úutils.type_validatorsr   Úautor   r	   r   Ú__all__r   r&   r$   Ú<module>rp      sT   ðó* Ý .å 3Ý 1Ý #Ý -ß -ñ Ð/Ô0Øô^6Ð%ó ^6ó ó 1ð^6ðB Ð
‚r&   