+
    œ°³j4  ã                   ó  € R t ^ RIHt ^RIHt ^RIHtHt ]P                  ! ]	4      t
]! RR7      ] ! R R]4      4       4       t]! RR7      ] ! R R	]4      4       4       t]! RR7      ] ! R
 R]4      4       4       t. ROtR# )zCLAP model configuration)Ústrict)ÚPreTrainedConfig)Úauto_docstringÚloggingzlaion/clap-htsat-fused)Ú
checkpointc                   ó|   a € ] tR t^t o RtRtRtRtRt^t	^t
RtRtRtRtR	t^tR
tRtRt^t^ t^tRtV 3R ltRtV tR# )ÚClapTextConfigac  
Examples:

```python
>>> from transformers import ClapTextConfig, ClapTextModel

>>> # Initializing a CLAP text configuration
>>> configuration = ClapTextConfig()

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

>>> # Accessing the model configuration
>>> configuration = model.config
```Úclap_text_modelÚtext_configiYÄ  é   i   Úgeluçš™™™™™¹?i  ç      ð?gê-�™—q=é   Úreluc                óP  <€ V ^8„  d   Qh/ 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&   S[ ;R&   S[ R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[;R&   # )é   Ú
vocab_sizeÚhidden_sizeÚnum_hidden_layersÚnum_attention_headsÚintermediate_sizeÚ
hidden_actÚhidden_dropout_probÚattention_probs_dropout_probÚmax_position_embeddingsÚtype_vocab_sizeÚinitializer_factorÚlayer_norm_epsÚprojection_dimNÚpad_token_idÚbos_token_idÚeos_token_idÚprojection_hidden_act)ÚintÚstrÚfloatÚlist)ÚformatÚ__classdict__s   "€Úl/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/clap/configuration_clap.pyÚ__annotate__ÚClapTextConfig.__annotate__   s  ø‡ ‚ ñ, Ññ- ñ. Ññ/ ñ0 Ññ1 ñ2 Ñ!ñ3 ñ4 Ñ!ñ5 ñ6 Ññ7 ñ8 ¡�Ñ*ñ9 ñ: #(©#¥+Ñ3ñ; ñ< !Ñ&ñ= ñ> Ññ? ñ@ Ñ#ñA ñB Ñ!ñC ñD ÑñE ñF ˜•*Ñ ñG ñH ˜•*Ñ ñI ñJ ™™S�	•/ DÕ(Ñ,ñK ñL Ñ'òM ó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
model_typeÚbase_config_keyr   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r)   s   @r*   r   r      s{   ø‡ € ñð  #€JØ#€Oà€JØ€KØÐØ!ÐØ!ÐØ€JØ'*ÐØ03Ð Ø#&ÐØ€OØ #ÐØ!€NØ€NØ €LØ €LØ+,€LØ!'Ð÷M ƒ r-   r   c                   ó¤   a € ] tR t^Bt o RtRtRt^t^@tRt	Rt
^tRtRtRtRtRtRtR	tR
tRt^tRt^`tRtRtRtRtRt^t^tRtRt Rt!V 3R lt"Rt#V t$R# )ÚClapAudioConfiga^  
window_size (`int`, *optional*, defaults to 8):
    Image size of the spectrogram
spec_size (`int`, *optional*, defaults to 256):
    Desired input size of the spectrogram that the model supports. It can be different from the output of the
    `ClapFeatureExtractor`, in which case the input features will be resized. Corresponds to the `image_size`
    of the audio models.
patch_stride (`list`, *optional*, defaults to `[4, 4]`):
    Patch stride for the audio spectrogram
num_classes (`int`, *optional*, defaults to 527):
    Number of classes used for the head training
enable_fusion (`bool`, *optional*, defaults to `False`):
    Whether or not to enable patch fusion. This is the main contribution of the authors, and should give the
    best results.
fusion_type (`[type]`, *optional*):
    Fusion type used for the patch fusion.
patch_embed_input_channels (`int`, *optional*, defaults to 1):
    Number of channels used for the input spectrogram
flatten_patch_embeds (`bool`, *optional*, defaults to `True`):
    Whether or not to flatten the patch embeddings
patch_embeds_hidden_size (`int`, *optional*, defaults to 96):
    Hidden size of the patch embeddings. It is used as the number of output channels.
enable_patch_layer_norm (`bool`, *optional*, defaults to `True`):
    Whether or not to enable layer normalization for the patch embeddings
aff_block_r (`int`, *optional*, defaults to 4):
    downsize_ratio used in the AudioFF block

Example:

```python
>>> from transformers import ClapAudioConfig, ClapAudioModel

>>> # Initializing a ClapAudioConfig with laion/clap-htsat-fused style configuration
>>> configuration = ClapAudioConfig()

>>> # Initializing a ClapAudioModel (with random weights) from the laion/clap-htsat-fused style configuration
>>> model = ClapAudioModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```Úclap_audio_modelÚaudio_configé   r   i  r   r   Fr   NTg        g      @r   gñhãˆµøä>r   c                óŽ  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   S[ S[S[ ,          ,          S[S[ S[ 3,          ,          ;R&   S[ S[S[ ,          ,          S[S[ R3,          ,          ;R&   S[ ;R&   S[ ;R	&   S[ ;R
&   S[S[ ,          S[S[ R3,          ,          ;R&   S[S[ ,          S[S[ R3,          ,          ;R&   S[;R&   S[S[ ,          ;R&   S[R,          ;R&   S[ ;R&   S[;R&   S[ ;R&   S[;R&   S[S[ ,          ;R&   S[S[ ,          ;R&   S[;R&   S[;R&   S[ ;R&   S[ ;R&   S[;R&   S[;R&   S[;R&   # )r   Úwindow_sizeÚnum_mel_binsÚ	spec_sizer   Ú
patch_size.Úpatch_strideÚnum_classesr   r   Údepthsr   Úenable_fusionr   NÚfusion_typeÚpatch_embed_input_channelsÚflatten_patch_embedsÚpatch_embeds_hidden_sizeÚenable_patch_layer_normÚdrop_path_rater   Úqkv_biasÚ	mlp_ratioÚaff_block_rr   r#   r   r   )r$   r%   r'   ÚtupleÚboolr&   )r(   r)   s   "€r*   r+   ÚClapAudioConfig.__annotate__B   sö  ø‡ ‚ ñ` Ñña ñb Ññc ñd Ññe ñf Ññg ñh ‘d™3•i•¡%©©S¨¥/Õ1Ñ5ñi ñj ™™S�	•/¡E©#¨s¨(¥OÕ3Ñ<ñk ñl Ññm ñn Ñño ñp Ññq ñr ‘�I™™c 3˜h�Õ'Ñ6ñs ñt ™c�¡U©3°¨8¥_Õ4ÑEñu ñv Ññw ñx ¡�Ñ*ñy ñz �t•Ñ"ñ{ ñ| !$Ñ'ñ} ñ~ Ñ%ñ ñ@ "Ñ&ñA ñB "Ñ(ñC ñD ™C•KÑ%ñE ñF #(©#¥+Ñ3ñG ñH ÑñI ñJ ÑñK ñL ÑñM ñN ÑñO ñP Ñ'ñQ ñR Ñ ñS ñT Ñ#òU r-   r.   )é   rT   )r   r   é   r   )rT   é   é   é    )%r/   r0   r1   r2   r3   r4   r5   r@   rA   rB   r   rC   rD   rE   r   r   rF   r   rG   r   rH   rI   rJ   rK   rL   rM   r   rN   rO   rP   r   r#   r   r   r6   r7   r8   r9   s   @r*   r;   r;   B   s°   ø‡ € ñ(ðT $€JØ$€Oà€KØ€LØ€IØ€JØ45€JØ6<€LØ€KØ€KØ€NØ*6€FØ7EÐØ€MØ'*ÐØ"€KØ&'ÐØ!%ÐØ$&ÐØ$(ÐØ"%€NØ03Ð Ø€HØ€IØ€KØÐØ!'ÐØ €NØ #Ð÷U ƒ r-   r;   c                   ój   a a€ ] tR t^�t oRtRtR]R]/tRt	Rt
RtRtRtRtV 3R	 ltV3R
 ltRtVtV ;t# )Ú
ClapConfigaî  
Example:

```python
>>> from transformers import ClapConfig, ClapModel

>>> # Initializing a ClapConfig with laion-ai/base style configuration
>>> configuration = ClapConfig()

>>> # Initializing a ClapModel (with random weights) from the laion-ai/base style configuration
>>> model = ClapModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config

>>> # We can also initialize a ClapConfig from a ClapTextConfig and a ClapAudioConfig
>>> from transformers import ClapTextConfig, ClapAudioConfig

>>> # Initializing a ClapText and ClapAudioConfig configuration
>>> config_text = ClapTextConfig()
>>> config_audio = ClapAudioConfig()

>>> config = ClapConfig(text_config=config_text, audio_config=config_audio)
```Úclapr
   r=   Nr   r   r   c                óh  <€ V P                   f&   \        4       V n         \        P                  R4       M:\	        V P                   \
        4      '       d   \        R/ V P                   B V n         V P                  f&   \        4       V n        \        P                  R4       M:\	        V P                  \
        4      '       d   \        R/ V P                  B V n        V P                  V P                   n        V P                  V P                  n        V P                  V P                   n	        V P                  V P                  n	        V P                   P                  V n
        V P                   P                  \        V P                  P                  4      ,           V n        \        SV `<  ! R/ VB  R # )NzO`text_config` is `None`. initializing the `ClapTextConfig` with default values.zQ`audio_config` is `None`. initializing the `ClapAudioConfig` with default values.r.   )r
   r   ÚloggerÚinfoÚ
isinstanceÚdictr=   r;   r   r#   r   r   ÚlenrF   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s   &,€r*   rc   ÚClapConfig.__post_init__µ   s;  ø€ Ø×ÑÒ#Ü-Ó/ˆDÔÜ�K‰KÐiÕjÜ˜×(Ñ(¬$×/Ò/Ü-ÑA°×0@Ñ0@ÑAˆDÔà×ÑÒ$Ü /Ó 1ˆDÔÜ�K‰KÐkÕlÜ˜×)Ñ)¬4×0Ò0Ü /Ñ D°$×2CÑ2CÑ DˆDÔà*.×*=Ñ*=ˆ×ÑÔ'Ø+/×+>Ñ+>ˆ×ÑÔ(à15×1KÑ1Kˆ×ÑÔ.Ø26×2LÑ2Lˆ×ÑÔ/Ø×+Ñ+×7Ñ7ˆÔØ!%×!1Ñ!1×!CÑ!CÄcÈ$×J[ÑJ[×JbÑJbÓFcÕ!cˆÔÜ‰ÒÑ' Ô'r-   c                óž   <€ V ^8„  d   Qh/ S[ S[,          R,          ;R&   S[ S[,          R,          ;R&   S[;R&   S[;R&   S[;R&   S[;R&   # )r   Nr
   r=   Úlogit_scale_init_valuer   r#   r   )r`   r   r&   r$   r%   )r(   r)   s   "€r*   r+   ÚClapConfig.__annotate__�   ss   ø‡ ‚ ñ> Ñ(Õ(¨4Õ/Ñ6ñ? ñ@ Ñ)Õ)¨DÕ0Ñ7ñA ñB "Ñ,ñC ñD ÑñE ñF Ñ'ñG ñH Ñ#òI r-   )r=   r   r   r
   g$I’$I’,@)r/   r0   r1   r2   r3   r4   r   r;   Úsub_configsr
   r=   ri   r   r#   r   rc   r6   r7   r8   Ú__classcell__)rf   r)   s   @@r*   rZ   rZ   �   sM   ù‡ € ñð2 €JØ  .°.À/ÐR€Kà26€KØ37€LØ$,ÐØ€NØ!'ÐØ #Ðõ(÷M … r-   rZ   N)r;   rZ   r   )r3   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r   Ú
get_loggerr/   r]   r   r;   rZ   Ú__all__r.   r-   r*   Ú<module>rr      s°   ðñ å .å 3ß ,ð 
×	Ò	˜HÓ	%€ñ Ð3Ô4Øô$(Ð%ó $(ó ó 5ð$(ñN Ð3Ô4ØôH$Ð&ó H$ó ó 5ðH$ñV Ð3Ô4Øô8(Ð!ó 8(ó ó 5ð8(òv >‚r-   