+
    œ°³j  ã                   óŒ   € 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R7      ] ! R R	]4      4       4       tR	.tR# )
zXcodec model configurationN)Ústrict)ÚPreTrainedConfig)Úauto_docstring)ÚCONFIG_MAPPINGÚ
AutoConfigzManel/X-Codec)Ú
checkpointc            
       óN  a a€ ] tR t^t oRtRtR]R]/tR^@R. RORRR	. ROR
R/t/ t	Rt
Rt^tR tR tR t^tRtRtRtRtRtV 3R l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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!# )!ÚXcodecConfigaù  
target_bandwidths (`List[float]`, *optional*, defaults to `[0.5, 1, 1.5, 2, 4]`):
    The range of different bandwidths (in kbps) the model can encode audio with.
channel_ratios (`List[float]`, *optional*, defaults to `[1, 1]`):
    Expansion factors for the number of output channels in each semantic block.
strides (`List[int]`, *optional*, defaults to `[1, 1]`):
    Strides for each semantic encoder block.
block_dilations (`List[int]`, *optional*, defaults to `[1, 1]`):
    Dilation factors for the residual units in semantic blocks.
unit_kernel_size (`int`, *optional*, defaults to 3):
    Kernel size inside each ResidualUnit in semantic blocks.
acoustic_model_config (`Union[Dict, DacConfig]`, *optional*):
    An instance of the configuration for the acoustic (DAC) model.
semantic_model_config (`Union[Dict, HubertConfig, WavLMConfig]`, *optional*):
    An instance of the configuration object for the semantic (HuBERT) model.

Example:

```python
>>> from transformers import XcodecModel, XcodecConfig

>>> # Initializing configuration
>>> configuration = XcodecConfig()

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

>>> # Accessing the model configuration
>>> configuration = model.config
```ÚxcodecÚacoustic_model_configÚsemantic_model_configÚencoder_hidden_sizeÚdownsampling_ratiosÚdecoder_hidden_sizeé   Úupsampling_ratiosÚhidden_sizeé   i€>  Ng{®Gáz”?c                ó„  <€ V P                   f#   \        R,          ! ^@. ROR. RORR7      V n         MŠ\        V P                   \        4      '       dk   V P                   P	                  RR4      V P                   R&   \        V P                   R,          ,          ! R/ / V P
                  CV P                   CB V n         V P                  f   \        R,          ! 4       V n        MŠ\        V P                  \        4      '       dk   V P                  P	                  RR4      V P                  R&   \        V P                  R,          ,          ! R/ / V P                  CV P                  CB V n        V P                  f7   V P                   P                  V P                  P                  ,           V n        \        SV `,  ! R/ VB  R # )	NÚdacr   r   )r   r   r   r   r   Ú
model_typeÚhubert©é   é   é   é   © )r   r   Ú
isinstanceÚdictÚgetÚ%_default_acoustic_model_config_kwargsr   Ú%_default_semantic_model_config_kwargsÚcodebook_dimr   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€Úp/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/xcodec/configuration_xcodec.pyr%   ÚXcodecConfig.__post_init__\   s}  ø€ Ø×%Ñ%Ò-Ü)7¸Ö)>Ø$&ò %1Ø$(Ú".Øô*ˆDÕ&ô ˜×2Ñ2´D×9Ò9Ø7;×7QÑ7Q×7UÑ7UÐVbÐdiÓ7jˆD×&Ñ& |Ñ4Ü)7¸×8RÑ8RÐS_Õ8`Ö)añ *Ø^�T×?Ñ?Ð^À4×C]ÑC]Ð^ñ*ˆDÔ&ð ×%Ñ%Ò-Ü)7¸Ö)AÓ)CˆDÕ&Ü˜×2Ñ2´D×9Ò9Ø7;×7QÑ7Q×7UÑ7UÐVbÐdlÓ7mˆD×&Ñ& |Ñ4Ü)7¸×8RÑ8RÐS_Õ8`Ö)añ *Ø^�T×?Ñ?Ð^À4×C]ÑC]Ð^ñ*ˆDÔ&ð ×ÑÒ$Ø $× :Ñ :× FÑ FÈ×IcÑIc×IoÑIoÕ oˆDÔä‰ÒÑ' Ô'ó    c                ó    <€ V ^8„  d   QhRS[ /# ©r   Úreturn©Úint)ÚformatÚ__classdict__s   "€r)   Ú__annotate__ÚXcodecConfig.__annotate__{   s   ø€ ÷ =ñ =™Cñ =r+   c                ód   € \         P                  ! V P                  V P                  ,          4      # ©N)ÚmathÚceilÚsample_rateÚ
hop_length©r&   s   &r)   Ú
frame_rateÚXcodecConfig.frame_ratez   s    € ä�yŠy˜×)Ñ)¨D¯O©OÕ;Ó<Ð<r+   c                ó    <€ V ^8„  d   QhRS[ /# r-   r/   )r1   r2   s   "€r)   r3   r4      s   ø€ ÷ 6ñ 6¡cñ 6r+   c                ó.   € V P                   P                  # r6   )r   r   r;   s   &r)   Úsemantic_hidden_sizeÚ!XcodecConfig.semantic_hidden_size~   s   € à×)Ñ)×5Ñ5Ð5r+   c                ó    <€ V ^8„  d   QhRS[ /# r-   r/   )r1   r2   s   "€r)   r3   r4   ƒ   s   ø€ ÷ Lñ L™Cñ Lr+   c                óh   € \        \        P                  ! V P                  P                  4      4      # r6   )r0   ÚnpÚprodr   r   r;   s   &r)   r:   ÚXcodecConfig.hop_length‚   s"   € ä”2—7’7˜4×5Ñ5×IÑIÓJÓKÐKr+   c                ó    <€ V ^8„  d   QhRS[ /# r-   r/   )r1   r2   s   "€r)   r3   r4   ‡   s   ø€ ÷ 8ñ 8¡ñ 8r+   c                ój   € \         P                  ! \         P                  ! V P                  4      4      # r6   )r7   r8   Úlog2Úcodebook_sizer;   s   &r)   Úcodebook_nbitsÚXcodecConfig.codebook_nbits†   s    € ä�yŠyœŸš 4×#5Ñ#5Ó6Ó7Ð7r+   c                ó    <€ V ^8„  d   QhRS[ /# r-   r/   )r1   r2   s   "€r)   r3   r4   ‹   s   ø€ ÷ _ñ _™Sñ _r+   c                ód   € V P                   P                  V P                  P                  ,           # r6   )r   r   r   r;   s   &r)   r   ÚXcodecConfig.hidden_sizeŠ   s%   € à×)Ñ)×5Ñ5¸×8RÑ8R×8^Ñ8^Õ^Ð^r+   c                ó    <€ V ^8„  d   QhRS[ /# r-   r/   )r1   r2   s   "€r)   r3   r4   �   s   ø€ ÷ añ a¡ñ ar+   c                óŒ   € \        R V P                  R,          ,          V P                  V P                  ,          ,          4      # )iè  éÿÿÿÿ)r0   Útarget_bandwidthsr<   rK   r;   s   &r)   Únum_quantizersÚXcodecConfig.num_quantizersŽ   s1   € ä�4˜$×0Ñ0°Õ4Õ4¸¿¹È4×K^ÑK^Õ9^Õ_Ó`Ð`r+   c                óä  <€ V ^8„  d   Qh/ S[ S[S[,          ,          S[S[S[,          R3,          ,          ;R&   S[;R&   S[;R&   S[ S[,          S[S[R3,          ,          ;R&   S[ S[,          S[S[R3,          ,          ;R&   S[ S[,          S[S[R3,          ,          ;R&   S[;R&   S[;R	&   S[R
,          ;R&   S[;R&   S[S[,          R
,          ;R&   S[S[,          R
,          ;R&   # )r   .rS   r9   Úkernel_sizeÚchannel_ratiosÚstridesÚblock_dilationsÚunit_kernel_sizerJ   Nr#   Úinitializer_ranger   r   )Úlistr0   ÚfloatÚtupler   r   )r1   r2   s   "€r)   r3   r4      s"  ø‡ ‚ ñj ™C¡%�KÕ(©5±±uµ¸cÐ1AÕ+BÕBÑXñk ñl Ññm ñn Ñño ñp ™•I¡¡c¨3 h¥Õ/Ñ8ñq ñr ‘#�Y™™s C˜x�Õ(Ñ1ñs ñt ™#•Y¡¡s¨C x¥Õ0Ñ9ñu ñv Ññw ñx Ññy ñz ˜•*Ñ#ñ{ ñ| Ñ#ñ} ñ~  Ñ"2Õ2°TÕ9Ñ@ñ ñ@  Ñ"2Õ2°TÕ9Ñ@òA r+   )r   r#   r   r   )g      à?é   g      ø?r   r   )r`   r`   )"Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Úsub_configsr!   r"   rS   r9   rW   rX   rY   rZ   r[   rJ   r#   r\   r   r   r%   Úpropertyr<   r@   r:   rK   r   rT   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r(   r2   s   @@r)   r	   r	      s  ù‡ € ñð> €Jð 	  Ø ð€Kð 	˜rð 	š|Ø˜tØš\Ø�sð-Ð)ð -/Ð)àEXÐØ€KØ€KØ28€NØ+1€GØ39€OØÐØ€MØ#€LØ#ÐØ<@ÐØ<@Ðõ(ð< ÷=ó ð=ð ÷6ó ð6ð ÷Ló ðLð ÷8ó ð8ð ÷_ó ð_ð ÷aó ða÷k … r+   r	   )re   r7   ÚnumpyrD   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   Úautor   r   r	   Ú__all__r   r+   r)   Ú<module>rr      sV   ðñ !ã ã Ý .å 3Ý #ß -ñ ˜?Ô+ØôtaÐ#ó taó ó ,ðtaðn Ð
‚r+   