§
    ‚Štj  ã                   ó„   — d Z ddlmZ ddlmZ ddlmZ  ed¬¦  «        e G d„ d	e¦  «        ¦   «         ¦   «         Zd	gZd
S )zPop2Piano model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzsweetcocoa/pop2piano)Ú
checkpointc                   óŠ  ‡ — e Zd ZU dZdZdgZddddœZdZee	d	<   d
Z
ee	d<   dZee	d<   dZee	d<   dZee	d<   dZee	d<   dZedz  e	d<   dZee	d<   dZee	d<   dZee	d<   dZeez  e	d<   dZee	d<   dZee	d<   dZee	d <   d!Zee	d"<   d!Zee	d#<   d$Zedz  e	d%<   d&Zeee         z  dz  e	d'<   d(Zee	d)<   d*Z ee	d+<   d!Z!ee	d,<   ˆ fd-„Z"ˆ xZ#S ).ÚPop2PianoConfigaâ  
    composer_vocab_size (`int`, *optional*, defaults to 21):
        Denotes the number of composers.
    relative_attention_num_buckets (`int`, *optional*, defaults to 32):
        The number of buckets to use for each attention layer.
    relative_attention_max_distance (`int`, *optional*, defaults to 128):
        The maximum distance of the longer sequences for the bucket separation.
    feed_forward_proj (`string`, *optional*, defaults to `"gated-gelu"`):
        Type of feed forward layer to be used. Should be one of `"relu"` or `"gated-gelu"`.
    dense_act_fn (`string`, *optional*, defaults to `"relu"`):
        Type of Activation Function to be used in `Pop2PianoDenseActDense` and in `Pop2PianoDenseGatedActDense`.
    Ú	pop2pianoÚpast_key_valuesÚ
num_layersÚd_modelÚ	num_heads)Únum_hidden_layersÚhidden_sizeÚnum_attention_headsi`	  Ú
vocab_sizeé   Úcomposer_vocab_sizei   é@   Úd_kvi   Úd_ffé   NÚnum_decoder_layersé   é    Úrelative_attention_num_bucketsé€   Úrelative_attention_max_distancegš™™™™™¹?Údropout_rateg�íµ ÷Æ°>Úlayer_norm_epsilong      ð?Úinitializer_factorz
gated-geluÚfeed_forward_projTÚis_encoder_decoderÚ	use_cacher   Úpad_token_idé   Úeos_token_idÚreluÚdense_act_fnFÚ
is_decoderÚtie_word_embeddingsc                 óÀ   •— | j         �| j         n| j        | _         | j                             d¦  «        d         dk    | _         t          ¦   «         j        di |¤Ž d S )Nú-r   Úgated© )r   r   r"   ÚsplitÚis_gated_actÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €ús/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/pop2piano/configuration_pop2piano.pyr3   zPop2PianoConfig.__post_init__@   se   ø€ Ø=AÔ=TÐ=` $Ô"9Ð"9ÐfjÔfuˆÔØ Ô2×8Ò8¸Ñ=Ô=¸aÔ@ÀGÒKˆÔØ�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )$Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typeÚkeys_to_ignore_at_inferenceÚattribute_mapr   ÚintÚ__annotations__r   r   r   r   r   r   r   r   r   r   Úfloatr    r!   r"   Ústrr#   Úboolr$   r%   r'   Úlistr)   r*   r+   r3   Ú__classcell__)r6   s   @r7   r	   r	      sÓ  ø€ € € € € € ðð ð €JØ#4Ð"5ÐØ*6ÀyÐitÐuÐu€Mà€J�ÐÐÑØ!Ð˜Ð!Ð!Ñ!Ø€GˆSÐÐÑØ€Dˆ#€N€N�NØ€Dˆ#ÐÐÑØ€J�ÐÐÑØ%)Ð˜˜d™
Ð)Ð)Ñ)Ø€IˆsÐÐÑØ*,Ð" CÐ,Ð,Ñ,Ø+.Ð# SÐ.Ð.Ñ.Ø #€L�%˜#‘+Ð#Ð#Ñ#Ø $Ð˜Ð$Ð$Ñ$Ø #Ð˜Ð#Ð#Ñ#Ø)Ð�sÐ)Ð)Ñ)Ø#Ð˜Ð#Ð#Ñ#Ø€IˆtÐÐÑØ €L�#˜‘*Ð Ð Ñ Ø+,€L�#˜˜Sœ	‘/ DÑ(Ð,Ð,Ñ,Ø€L�#ÐÐÑØ€J�ÐÐÑØ $Ð˜Ð$Ð$Ñ$ð(ð (ð (ð (ð (ð (ð (ð (ð (r8   r	   N)	r<   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r/   r8   r7   ú<module>rK      s¢   ðð $Ð #à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð1Ð2Ñ2Ô2Øð+(ð +(ð +(ð +(ð +(Ð&ñ +(ô +(ñ „ñ 3Ô2ð+(ð\ Ð
€€€r8   