+
    œ°³j(  ã                   óâ   € ^ RI Ht ^RIHt ^RIHt ^RIHtHt ^RI	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.tR# )é    )Ústrict)ÚPreTrainedConfig)ÚRopeParameters)Úauto_docstringÚlogging)Ú
AutoConfigzsesame/csm-1b)Ú
checkpointc                   ó°   a a€ ] tR t^t oRtRtRtR.tRR/tRt	^ t
RtR	tR
tRt^t^t^tRt^!tRtRtRtRt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## )ÚCsmDepthDecoderConfigaÅ  
backbone_hidden_size (`int`, *optional*, defaults to 2048):
    Dimension of the hidden representations of the backbone model used with this depth decoder.

Example:

```python
>>> from transformers import CsmDepthDecoder, CsmDepthDecoderConfig

>>> # Initializing a CsmDepthDecoder
>>> configuration = CsmDepthDecoderConfig()
>>> model = CsmDepthDecoderModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```Úcsm_depth_decoder_modelÚdepth_decoder_configÚpast_key_valuesÚcodebook_sizeÚ
vocab_sizeç    €„Aé   é  i   é    Úsiluç{®Gáz”?çñhãˆµøä>TNFç        c                ó$  <€ VP                  R R4      '       d   \        R4      hV P                  f   V P                  V n        V P                  e   V P                  MV P
                  V P                  ,          V n        \        SV `  ! R/ VB  R# )Útie_word_embeddingsFzE`tie_word_embeddings=True` is not supported for CsmDepthDecoderConfigN© )ÚpopÚ
ValueErrorÚnum_key_value_headsÚnum_attention_headsÚhead_dimÚhidden_sizeÚsuperÚ__post_init__©ÚselfÚkwargsÚ	__class__s   &,€Új/home/luca/screen-checking/.venv/lib/python3.14/site-packages/transformers/models/csm/configuration_csm.pyr#   Ú#CsmDepthDecoderConfig.__post_init__M   su   ø€ Ø�:‰:Ð+¨U×3Ò3ÜÐdÓeÐeð ×#Ñ#Ò+Ø'+×'?Ñ'?ˆDÔ$Ø)-¯©Ò)B˜ŸšÈ×HXÑHXÐ\`×\tÑ\tÕHtˆŒÜ‰ÒÑ' Ô'ó    c                óÆ  <€ V ^8„  d   Qh/ S[ R,          ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ R,          ;R	&   S[;R
&   S[ ;R&   S[;R&   S[;R&   S[;R&   S[ R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[S[,          R,          ;R&   S[;R&   S[S[ ,          R,          ;R&   S[;R&   S[ R,          ;R&   # )é   NÚnum_codebooksÚbackbone_hidden_sizer   r!   Úintermediate_sizeÚnum_hidden_layersr   r   Ú
hidden_actÚmax_position_embeddingsÚinitializer_rangeÚrms_norm_epsÚ	use_cacheÚpad_token_idÚbos_token_idÚeos_token_idÚrope_parametersÚattention_biasÚattention_dropoutÚmlp_biasr    )ÚintÚstrÚfloatÚboolÚlistr   Údict)ÚformatÚ__classdict__s   "€r(   Ú__annotate__Ú"CsmDepthDecoderConfig.__annotate__   sl  ø‡ ‚ ñ8 ˜•:Ñ"ñ9 ñ: Ñ$ñ; ñ< Ññ= ñ> Ññ? ñ@ Ñ!ñA ñB ÑñC ñD Ñ ñE ñF ˜t�Ñ'ñG ñH ÑñI ñJ !Ñ%ñK ñL Ñ#ñM ñN ÑñO ñP ÑñQ ñR ˜•*Ñ#ñS ñT ˜•*Ñ#ñU ñV ™™S�	•/ DÕ(Ñ/ñW ñX $¡dÕ*¨TÕ1Ñ8ñY ñZ Ñ ñ[ ñ\ ™s•{ TÕ)Ñ/ñ] ñ^ Ññ_ ñ` �D�jÑòa r*   )r    r   )$Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
model_typeÚbase_config_keyÚkeys_to_ignore_at_inferenceÚattribute_mapÚdefault_thetar-   r.   r   r!   r/   r0   r   r   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r    r#   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__©r'   rD   s   @@r(   r   r      s°   ù‡ € ñð" +€JØ,€OØ#4Ð"5Ðà˜ð€Mð €Mà "€MØ $ÐØ€JØ€KØ!ÐØÐØ ÐØ&'ÐØ€JØ#%ÐØ#ÐØ€LØ€IØ#€LØ#€LØ+/€LØ48€OØ €NØ,/ÐØ€HØ€Hõ(÷e … r*   r   c                   óØ   a a€ ] tR t^Xt oRtRtRtR.tRtR]	R]
/tRR	/t^ tR
tRtRtRt^t^ t^tRtRtRtRtRtRtRt^ tRtRtRtRt Rt!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-# )Ú	CsmConfigaL  
codebook_pad_token_id (`int`, *optional*, defaults to 2050):
    Padding token id for codebook tokens.
codebook_eos_token_id (`int`, *optional*, defaults to 0):
    End of stream token id for codebook tokens.
audio_token_id (`int`, *optional*, defaults to 128002):
    Audio token id in the text input.
audio_eos_token_id (`int`, *optional*, defaults to 128003):
    End of stream token id for audio in the text input.
tie_codebooks_embeddings (`bool`, *optional*, defaults to `True`):
    Whether to tie the codebook tokens embeddings of the backbone model to the codebook tokens embeddings of the depth decoder.
depth_decoder_config (`CsmDepthDecoderConfig`, *optional*):
    Configuration for the depth decoder.
codec_config (`PreTrainedConfig`, *optional*):
    Configuration for the codec.

```python
>>> from transformers import CsmForConditionalGeneration, CsmConfig

>>> # Initializing a CsmConfig
>>> configuration = CsmConfig()

>>> # Initializing a model
>>> model = CsmForConditionalGeneration(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```
ÚcsmÚ
csm_configr   r   Úcodec_configr   r   r   r   i õ r   r   r   r   r   Tiô i  i ô Niô Fr   c                ó  <€ VP                  R R4      '       d   \        R4      hV P                  f&   \        4       V n        \        P                  R4       M:\        V P                  \        4      '       d   \        R/ V P                  B V n        V P                  f2   \        P                  ! R4      V n        \        P                  R4       ME\        V P                  \        4      '       d&   \        P                  ! R/ V P                  B V n        V P                  f   V P                  V n        V P                  e   V P                  MV P                  V P                  ,          V n        RV n        \         SV `D  ! R/ VB  R# )r   Fz9`tie_word_embeddings=True` is not supported for CsmConfigNzAdepth_decoder_config is None, using default depth decoder config.Úmimiz9codec_config is None, using default audio encoder config.r   )r   r   r   r   ÚloggerÚinfoÚ
isinstancerB   rZ   r   Ú	for_modelr   r   r    r!   r   r"   r#   r$   s   &,€r(   r#   ÚCsmConfig.__post_init__¢   s#  ø€ Ø�:‰:Ð+¨U×3Ò3ÜÐXÓYÐYà×$Ñ$Ò,Ü(=Ó(?ˆDÔ%Ü�K‰KÐ[Õ\Ü˜×1Ñ1´4×8Ò8Ü(=Ñ(ZÀ×@YÑ@YÑ(ZˆDÔ%à×ÑÒ$Ü *× 4Ò 4°VÓ <ˆDÔÜ�K‰KÐSÕTÜ˜×)Ñ)¬4×0Ò0Ü *× 4Ò 4Ñ I°t×7HÑ7HÑ IˆDÔà×#Ñ#Ò+Ø'+×'?Ñ'?ˆDÔ$à)-¯©Ò)B˜ŸšÈ×HXÑHXÐ\`×\tÑ\tÕHtˆŒØ#(ˆÔ Ü‰ÒÑ' Ô'r*   c                óÜ  <€ V ^8„  d   Qh/ S[ R,          ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[ R,          ;R	&   S[;R
&   S[ ;R&   S[;R&   S[;R&   S[;R&   S[ R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[ R,          ;R&   S[ S[S[ ,          ,          R,          ;R&   S[S[,          R,          ;R&   S[;R&   S[S[ ,          R,          ;R&   S[;R&   S[ R,          ;R&   S[R,          ;R&   S[S[,          R,          ;R&   S[S[,          R,          ;R&   # )r,   Nr-   r   Útext_vocab_sizer!   r/   r0   r   r   r1   r2   r3   r4   r5   r6   Úcodebook_pad_token_idÚcodebook_eos_token_idr7   r8   Úaudio_token_idÚaudio_eos_token_idr9   r:   r;   r<   r    Útie_codebooks_embeddingsr   rZ   )r=   r>   r?   r@   rA   r   rB   r   )rC   rD   s   "€r(   rE   ÚCsmConfig.__annotate__X   s  ø‡ ‚ ñZ ˜•:Ñ"ñ[ ñ\ Ññ] ñ^ Ñ!ñ_ ñ` Ñña ñb Ñ!ñc ñd Ññe ñf Ñ!ñg ñh ˜t�Ñ'ñi ñj Ññk ñl !Ñ'ñm ñn Ñ#ño ñp Ññq ñr Ññs ñt ˜•*Ñ%ñu ñv  �:Ñ,ñw ñx ¡¡c¥�?¨TÕ1Ñ5ñy ñz ˜•*Ñ%ñ{ ñ| ™™S�	•/ DÕ(Ñ/ñ} ñ~ ˜$•JÑ'ñ ñ@ ™d¡3�i�¨$Õ.Ñ7ñA ñB $¡dÕ*¨TÕ1Ñ8ñC ñD Ñ ñE ñF ™s•{ TÕ)Ñ/ñG ñH ÑñI ñJ �D�jÑñK ñL # T�kÑ0ñM ñN Ñ!1Õ1°DÕ8Ñ?ñO ñP Ñ)Õ)¨DÕ0Ñ7òQ r*   )rZ   r   r    r   r   ).rG   rH   rI   rJ   rK   rL   rM   rN   rP   r   r   Úsub_configsrO   r-   r   rc   r!   r/   r0   r   r   r1   r2   r3   r4   r5   r6   rd   re   r7   r8   rf   rg   r9   r:   r;   r<   r    rh   r   rZ   r#   rQ   rR   rS   rT   rU   s   @@r(   rW   rW   X   së   ù‡ € ñð< €JØ"€OØ#4Ð"5ÐØ€Mà˜
ØÐ 5ð€Kð
 	˜ð€Mð !#€MØ€JØ!€OØ€KØ!ÐØÐØ!ÐØ&'ÐØ€JØ#'ÐØ#ÐØ€LØ€IØ%€LØ(,ÐØ45ÐØ%€LØ+/€LØ!'€NØ17ÐØ48€OØ €NØ,/ÐØ€HØ€HØ,0ÐØ;?ÐØ37€Lõ(÷U … r*   rW   N)Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úmodeling_rope_utilsr   Úutilsr   r   Úauto.configuration_autor   Ú
get_loggerrG   r]   r   rW   Ú__all__r   r*   r(   Ú<module>rr      sŽ   ðõ  /å 3Ý 1ß ,Ý 0ð 
×	Ò	˜HÓ	%€ñ ˜?Ô+Øô8(Ð,ó 8(ó ó ,ð8(ñv ˜?Ô+Øô](Ð ó ](ó ó ,ð](ðB Øð‚r*   