
    Z j                     d    S r SSKJr  SSKJr  SSKJr  \" SS9\ " S S	\5      5       5       rS	/rg
)zPop2Piano model configuration    )strict   )PreTrainedConfig)auto_docstringzsweetcocoa/pop2piano)
checkpointc                     ^  \ rS rSr% SrSrS/rSSSS.rS	r\	\
S
'   Sr\	\
S'   Sr\	\
S'   Sr\	\
S'   Sr\	\
S'   Sr\	\
S'   Sr\	S-  \
S'   Sr\	\
S'   Sr\	\
S'   Sr\	\
S'   Sr\\	-  \
S'   Sr\\
S'   Sr\\
S'   S r\\
S!'   S"r\\
S#'   S"r\\
S$'   S%r\	S-  \
S&'   S'r\	\\	   -  S-  \
S('   S)r \\
S*'   S+r!\\
S,'   S"r"\\
S-'   U 4S. jr#S/r$U =r%$ )0Pop2PianoConfig   a  
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                    > U R                   b  U R                   OU R                  U l         U R                  R                  S5      S   S:H  U l        [
        TU ]  " S0 UD6  g )N-r   gated )r   r   r#   splitis_gated_actsuper__post_init__)selfkwargs	__class__s     چ/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/pop2piano/configuration_pop2piano.pyr4   Pop2PianoConfig.__post_init__@   sX    =A=T=T=`$"9"9fjfufu 2288=a@GK''    )r2   r   )&__name__
__module____qualname____firstlineno____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,   r4   __static_attributes____classcell__)r7   s   @r8   r	   r	      s"    J#4"5*6yituMJ!!GSD#ND#J%)d
)Is*,"C,+.#S. #L%#+# $$ ##)s)##It L#* +,L#S	/D(,L#J $$( (r:   r	   N)	r?   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r0   r:   r8   <module>rO      sH    $ . 3 # 12+(& +(  3+(\ 
r:   