
    i@                     j    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y
)zMVP model configuration    )strict   )PreTrainedConfig)auto_docstringzRUCAIBox/mvp)
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e	d<   dZee	d<   dZeez  e	d<   dZeez  e	d<   dZee	d<   d
Zee	d<   dZeez  e	d<   dZeez  e	d<   dZeez  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d$z  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d$z  e	d+<   dZ%ee	d,<   d-Z&ee	d.<   d/Z'ee	d0<   dZ(ee	d1<   d!Z)ee	d2<   y$)3	MvpConfiga  
    use_prompt (`bool`, *optional*, defaults to `False`):
        Whether or not to use prompt.
    prompt_length (`int`, *optional*, defaults to 100):
        The length of prompt.
    prompt_mid_dim (`int`, *optional*, defaults to 800):
        Dimensionality of the "intermediate" layer in prompt.

    Example:

    ```python
    >>> from transformers import MvpConfig, MvpModel

    >>> # Initializing a MVP RUCAIBox/mvp style configuration
    >>> configuration = MvpConfig()

    >>> # Initializing a model (with random weights) from the RUCAIBox/mvp style configuration
    >>> model = MvpModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```mvppast_key_valuesencoder_attention_headsd_modelencoder_layers)num_attention_headshidden_sizenum_hidden_layersi[  
vocab_sizei   max_position_embeddings   i   encoder_ffn_dim   decoder_layersdecoder_ffn_dimdecoder_attention_headsg        encoder_layerdropdecoder_layerdropgeluactivation_functiong?dropoutattention_dropoutactivation_dropoutg{Gz?init_stdclassifier_dropoutFscale_embeddingT	use_cache   Npad_token_idr   bos_token_id   eos_token_idis_encoder_decoderdecoder_start_token_id
use_promptd   prompt_lengthi   prompt_mid_dim
is_decodertie_word_embeddings)*__name__
__module____qualname____doc__
model_typekeys_to_ignore_at_inferenceattribute_mapr   int__annotations__r   r   r   r   r   r   r   r   floatr   r   strr   r   r   r    r!   r"   r#   boolr$   r&   r'   r)   listr*   r+   r,   r.   r/   r0   r1        z/var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/transformers/models/mvp/configuration_mvp.pyr	   r	      s   . J#4"58 -M J#'S'NCOS#%S%NCOS#%S%%(us{(%(us{(%%GSGUS[%(us{(&))He&))!OT!It L#*  L#* +,L#S	/D(,##)*C$J*JM3NCJ $$r@   r	   N)	r5   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r?   r@   rA   <module>rF      sF     . 3 # >*<%  <%  +<%~ -r@   