Ë
    ÛÓ^jª  ã                   ó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ELECTRA model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringz"google/electra-small-discriminator)Ú
checkpointc                   ó°  — e Zd ZU dZ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z  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ed<   dZeed <   dZeez  ed!<   d"Zed#z  ed$<   dZeed%<   d#Zeez  d#z  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,<   y#)-ÚElectraConfiga  
    summary_type (`str`, *optional*, defaults to `"first"`):
        Argument used when doing sequence summary. Used in the sequence classification and multiple choice models.
        Has to be one of the following options:
            - `"last"`: Take the last token hidden state (like XLNet).
            - `"first"`: Take the first token hidden state (like BERT).
            - `"mean"`: Take the mean of all tokens hidden states.
            - `"cls_index"`: Supply a Tensor of classification token position (like GPT/GPT-2).
            - `"attn"`: Not implemented now, use multi-head attention.
    summary_use_proj (`bool`, *optional*, defaults to `True`):
        Argument used when doing sequence summary. Used in the sequence classification and multiple choice models.
        Whether or not to add a projection after the vector extraction.
    summary_activation (`str`, *optional*):
        Argument used when doing sequence summary. Used in the sequence classification and multiple choice models.
        Pass `"gelu"` for a gelu activation to the output, any other value will result in no activation.
    summary_last_dropout (`float`, *optional*, defaults to 0.0):
        Argument used when doing sequence summary. Used in the sequence classification and multiple choice models.
        The dropout ratio to be used after the projection and activation.

    Examples:

    ```python
    >>> from transformers import ElectraConfig, ElectraModel

    >>> # Initializing a ELECTRA electra-base-uncased style configuration
    >>> configuration = ElectraConfig()

    >>> # Initializing a model (with random weights) from the electra-base-uncased style configuration
    >>> model = ElectraModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úelectrai:w  Ú
vocab_sizeé€   Úembedding_sizeé   Úhidden_sizeé   Únum_hidden_layersé   Únum_attention_headsi   Úintermediate_sizeÚgeluÚ
hidden_actgš™™™™™¹?Úhidden_dropout_probÚattention_probs_dropout_probi   Úmax_position_embeddingsé   Útype_vocab_sizeg{®Gáz”?Úinitializer_rangegê-�™—q=Úlayer_norm_epsÚfirstÚsummary_typeTÚsummary_use_projÚsummary_activationÚsummary_last_dropoutr   NÚpad_token_idÚ	use_cacheÚclassifier_dropoutFÚ
is_decoderÚadd_cross_attentionÚbos_token_idÚeos_token_idÚtie_word_embeddings)$Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   r   r   r   r   Ústrr   Úfloatr   r   r   r   r   r   r    Úboolr!   r"   r#   r$   r%   r&   r'   r(   r)   Úlistr*   © ó    ú|/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/electra/configuration_electra.pyr	   r	      s@  … ñ ðD €Jà€J�ÓØ€N�CÓØ€K�ÓØÐ�sÓØ Ð˜Ó Ø!Ð�sÓ!Ø€J�ÓØ'*Ð˜ ™Ó*Ø03Ð  %¨#¡+Ó3Ø#&Ð˜SÓ&Ø€O�SÓØ#Ð�uÓ#Ø!€N�EÓ!Ø€L�#ÓØ!Ð�dÓ!Ø$Ð˜Ó$Ø(+Ð˜% #™+Ó+Ø €L�#˜‘*Ó Ø€IˆtÓØ-1Ð˜ ™ dÑ*Ó1Ø€J�ÓØ %Ð˜Ó%Ø#€L�#˜‘*Ó#Ø+/€L�#˜˜S™	‘/ DÑ(Ó/Ø $Ð˜Ô$r7   r	   N)	r.   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r6   r7   r8   ú<module>r=      sI   ðñ "å .å 3Ý #ñ Ð?Ô@Øô=%Ð$ó =%ó ó Að=%ð@ Ð
�r7   