+
    œ°³j{"  ã                   ól   € R t ^ RIHt ^RIHt ^RIHt ]! RR7      ] ! R R]4      4       4       tR.tR# )	zVITS model configuration)Ústrict)ÚPreTrainedConfig)Úauto_docstringzfacebook/mms-tts-eng)Ú
checkpointc                   óî   a € ] tR t^t o RtRt^&t^Àt^t^t	^t
RtRtRt^t^ÀtRtRtRtRtRtRtR	tRt^t^ tR
tRtRtRtRtRt^t ^t!^
t"Rt#^t$Rt%^t&Rt'^t(^t)^t*^t+^t,Rt-Rt.Rt/Rt0Rt1Rt2R t3V 3R lt4Rt5V t6R# )Ú
VitsConfigaÛ  
window_size (`int`, *optional*, defaults to 4):
    Window size for the relative positional embeddings in the attention layers of the Transformer encoder.
use_bias (`bool`, *optional*, defaults to `True`):
    Whether to use bias in the key, query, value projection layers in the Transformer encoder.
ffn_kernel_size (`int`, *optional*, defaults to 3):
    Kernel size of the 1D convolution layers used by the feed-forward network in the Transformer encoder.
flow_size (`int`, *optional*, defaults to 192):
    Dimensionality of the flow layers.
spectrogram_bins (`int`, *optional*, defaults to 513):
    Number of frequency bins in the target spectrogram.
use_stochastic_duration_prediction (`bool`, *optional*, defaults to `True`):
    Whether to use the stochastic duration prediction module or the regular duration predictor.
num_speakers (`int`, *optional*, defaults to 1):
    Number of speakers if this is a multi-speaker model.
speaker_embedding_size (`int`, *optional*, defaults to 0):
    Number of channels used by the speaker embeddings. Is zero for single-speaker models.
upsample_initial_channel (`int`, *optional*, defaults to 512):
    The number of input channels into the HiFi-GAN upsampling network.
upsample_rates (`tuple[int]` or `list[int]`, *optional*, defaults to `[8, 8, 2, 2]`):
    A tuple of integers defining the stride of each 1D convolutional layer in the HiFi-GAN upsampling network.
    The length of `upsample_rates` defines the number of convolutional layers and has to match the length of
    `upsample_kernel_sizes`.
upsample_kernel_sizes (`tuple[int]` or `list[int]`, *optional*, defaults to `[16, 16, 4, 4]`):
    A tuple of integers defining the kernel size of each 1D convolutional layer in the HiFi-GAN upsampling
    network. The length of `upsample_kernel_sizes` defines the number of convolutional layers and has to match
    the length of `upsample_rates`.
resblock_kernel_sizes (`tuple[int]` or `list[int]`, *optional*, defaults to `[3, 7, 11]`):
    A tuple of integers defining the kernel sizes of the 1D convolutional layers in the HiFi-GAN
    multi-receptive field fusion (MRF) module.
resblock_dilation_sizes (`tuple[tuple[int]]` or `list[list[int]]`, *optional*, defaults to `[[1, 3, 5], [1, 3, 5], [1, 3, 5]]`):
    A nested tuple of integers defining the dilation rates of the dilated 1D convolutional layers in the
    HiFi-GAN multi-receptive field fusion (MRF) module.
leaky_relu_slope (`float`, *optional*, defaults to 0.1):
    The angle of the negative slope used by the leaky ReLU activation.
depth_separable_channels (`int`, *optional*, defaults to 2):
    Number of channels to use in each depth-separable block.
depth_separable_num_layers (`int`, *optional*, defaults to 3):
    Number of convolutional layers to use in each depth-separable block.
duration_predictor_flow_bins (`int`, *optional*, defaults to 10):
    Number of channels to map using the unonstrained rational spline in the duration predictor model.
duration_predictor_tail_bound (`float`, *optional*, defaults to 5.0):
    Value of the tail bin boundary when computing the unconstrained rational spline in the duration predictor
    model.
duration_predictor_kernel_size (`int`, *optional*, defaults to 3):
    Kernel size of the 1D convolution layers used in the duration predictor model.
duration_predictor_dropout (`float`, *optional*, defaults to 0.5):
    The dropout ratio for the duration predictor model.
duration_predictor_num_flows (`int`, *optional*, defaults to 4):
    Number of flow stages used by the duration predictor model.
duration_predictor_filter_channels (`int`, *optional*, defaults to 256):
    Number of channels for the convolution layers used in the duration predictor model.
prior_encoder_num_flows (`int`, *optional*, defaults to 4):
    Number of flow stages used by the prior encoder flow model.
prior_encoder_num_wavenet_layers (`int`, *optional*, defaults to 4):
    Number of WaveNet layers used by the prior encoder flow model.
posterior_encoder_num_wavenet_layers (`int`, *optional*, defaults to 16):
    Number of WaveNet layers used by the posterior encoder model.
wavenet_kernel_size (`int`, *optional*, defaults to 5):
    Kernel size of the 1D convolution layers used in the WaveNet model.
wavenet_dilation_rate (`int`, *optional*, defaults to 1):
    Dilation rates of the dilated 1D convolutional layers used in the WaveNet model.
wavenet_dropout (`float`, *optional*, defaults to 0.0):
    The dropout ratio for the WaveNet layers.
speaking_rate (`float`, *optional*, defaults to 1.0):
    Speaking rate. Larger values give faster synthesised speech.
noise_scale (`float`, *optional*, defaults to 0.667):
    How random the speech prediction is. Larger values create more variation in the predicted speech.
noise_scale_duration (`float`, *optional*, defaults to 0.8):
    How random the duration prediction is. Larger values create more variation in the predicted durations.

Example:

```python
>>> from transformers import VitsModel, VitsConfig

>>> # Initializing a "facebook/mms-tts-eng" style configuration
>>> configuration = VitsConfig()

>>> # Initializing a model (with random weights) from the "facebook/mms-tts-eng" style configuration
>>> model = VitsModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```ÚvitsTi   gš™™™™™¹?i  Úrelug{®Gáz”?gñhãˆµøä>i   g      @g      à?é   g        g      ð?gòÒMbXå?gš™™™™™é?i€>  Nc                óÐ   € \        V P                  4      \        V P                  4      8w  d9   \        R\        V P                  4       R\        V P                  4       R24      hR# )zOPart of `@strict`-powered validation. Validates the architecture of the config.z'The length of `upsample_kernel_sizes` (z-) must match the length of `upsample_rates` (Ú)N)ÚlenÚupsample_kernel_sizesÚupsample_ratesÚ
ValueError)Úselfs   &Úl/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/vits/configuration_vits.pyÚvalidate_architectureÚ VitsConfig.validate_architectureŸ   se   € äˆt×)Ñ)Ó*¬c°$×2EÑ2EÓ.FÔFÜØ9¼#¸d×>XÑ>XÓ:YÐ9Zð [%Ü%(¨×)<Ñ)<Ó%=Ð$>¸aðAóð ñ Gó    c                ó`  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ ;R&   S[S[ ,          ;R&   S[ ;R	&   S[ ;R
&   S[ ;R&   S[;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[;R&   S[;R&   S[;R&   S[ ;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[S[,          ;R&   S[;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ ;R &   S[S[ ,          ;R!&   S[ ;R"&   S[ ;R#&   S[ ;R$&   S[ ;R%&   S[ ;R&&   S[ ;R'&   S[ ;R(&   S[S[ ,          ;R)&   S[S[ ,          ;R*&   S[;R+&   S[;R,&   S[ ;R-&   S[ R.,          ;R/&   # )0é   Ú
vocab_sizeÚhidden_sizeÚnum_hidden_layersÚnum_attention_headsÚwindow_sizeÚuse_biasÚffn_dimÚ	layerdropÚffn_kernel_sizeÚ	flow_sizeÚspectrogram_binsÚ
hidden_actÚhidden_dropoutÚattention_dropoutÚactivation_dropoutÚinitializer_rangeÚlayer_norm_epsÚ"use_stochastic_duration_predictionÚnum_speakersÚspeaker_embedding_sizeÚupsample_initial_channel.r   r   Úresblock_kernel_sizesÚresblock_dilation_sizesÚleaky_relu_slopeÚdepth_separable_channelsÚdepth_separable_num_layersÚduration_predictor_flow_binsÚduration_predictor_tail_boundÚduration_predictor_kernel_sizeÚduration_predictor_dropoutÚduration_predictor_num_flowsÚ"duration_predictor_filter_channelsÚprior_encoder_num_flowsÚ prior_encoder_num_wavenet_layersÚ$posterior_encoder_num_wavenet_layersÚwavenet_kernel_sizeÚwavenet_dilation_rateÚwavenet_dropoutÚspeaking_rateÚnoise_scaleÚnoise_scale_durationÚsampling_rateNÚpad_token_id)ÚintÚboolÚfloatÚstrÚlistÚtuple)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚVitsConfig.__annotate__   sÿ  ø‡ ‚ ñv Ññw ñx Ññy ñz Ññ{ ñ| Ñ ñ} ñ~ Ññ ñ@ ÑñA ñB ÑñC ñD ‘s�{Ñ ñE ñF ÑñG ñH ÑñI ñJ ÑñK ñL ÑñM ñN ™C•KÑ%ñO ñP ™s•{Ñ(ñQ ñR ¡�Ñ)ñS ñT Ñ#ñU ñV Ñ ñW ñX )-Ñ3ñY ñZ Ññ[ ñ\  Ñ#ñ] ñ^ "Ñ'ñ_ ñ` ™•I¡¡c¨3 h¥Õ/Ñ>ña ñb  ¡�9¡u©S°#¨X¥Õ6ÑGñc ñd  ¡�9¡u©S°#¨X¥Õ6ÑCñe ñf "¡E�\ÑMñg ñh Ñ!ñi ñj "Ñ%ñk ñl !$Ñ'ñm ñn #&Ñ*ño ñp $)Ñ.ñq ñr %(Ñ+ñs ñt !&©¥Ñ1ñu ñv #&Ñ)ñw ñx ),Ñ1ñy ñz !Ñ$ñ{ ñ| '*Ñ-ñ} ñ~ +.Ñ2ñ ñ@ Ñ ñA ñB Ñ"ñC ñD ™S•[Ñ&ñE ñF ™3•;Ñ$ñG ñH ÑñI ñJ  Ñ%ñK ñL ÑñM ñN ˜•*Ñ#òO r   © )é   rN   r   r   )é   rO   é   rP   )é   é   é   )©é   rQ   é   rT   rT   )7Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
model_typer   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r   r   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   r   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__)rJ   s   @r   r   r      s  ø‡ € ñTðl €Jà€JØ€KØÐØ ÐØ€KØ€HØ€GØ €IØ€OØ€IØÐØ€JØ"%€NØ%(ÐØ&)ÐØ#ÐØ €NØ/3Ð&Ø€LØ"#ÐØ$'ÐØ2>€NØ9GÐØ9CÐØ,MÐØ!ÐØ$%ÐØ&'ÐØ(*Ð Ø+.Ð!Ø*+Ð"Ø.1ÐØ()Ð Ø.1Ð&Ø#$ÐØ,-Ð$Ø02Ð(Ø ÐØ!"ÐØ#&€OØ!$€MØ€KØ"%ÐØ€MØ#€Lò÷S ƒ r   r   N)	r[   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r   Ú__all__rM   r   r   Ú<module>rd      sJ   ðñ å .å 3Ý #ñ Ð1Ô2ØôMÐ!ó Mó ó 3ðMð` ˆ.‚r   