
    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DistilBERT model configuration    )strict   )PreTrainedConfig)auto_docstringzgoogle/distilbert-base-uncased)
checkpointc                   F   e Zd ZU dZd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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dz  ed<   dZeee   z  dz  ed<   dZedz  ed <   d!Zeed"<   y)#DistilBertConfiga  
    sinusoidal_pos_embds (`boolean`, *optional*, defaults to `False`):
        Whether to use sinusoidal positional embeddings.
    dim (`int`, *optional*, defaults to 768):
        Dimensionality of the encoder layers and the pooler layer.
    qa_dropout (`float`, *optional*, defaults to 0.1):
        The dropout probabilities used in the question answering model [`DistilBertForQuestionAnswering`].
    seq_classif_dropout (`float`, *optional*, defaults to 0.2):
        The dropout probabilities used in the sequence classification and the multiple choice model
        [`DistilBertForSequenceClassification`].

    Examples:

    ```python
    >>> from transformers import DistilBertConfig, DistilBertModel

    >>> # Initializing a DistilBERT configuration
    >>> configuration = DistilBertConfig()

    >>> # Initializing a model (with random weights) from the configuration
    >>> model = DistilBertModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```
distilbertdimn_headsn_layers)hidden_sizenum_attention_headsnum_hidden_layersi:w  
vocab_sizei   max_position_embeddingsFsinusoidal_pos_embds      i   i   
hidden_dimg?dropoutattention_dropoutgelu
activationg{Gz?initializer_range
qa_dropoutg?seq_classif_dropoutr   Npad_token_ideos_token_idbos_token_idTtie_word_embeddings)__name__
__module____qualname____doc__
model_typeattribute_mapr   int__annotations__r   r   boolr   r   r   r   r   floatr   r   strr   r   r   r   r   listr    r!        /var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/transformers/models/distilbert/configuration_distilbert.pyr	   r	      s    4 J('M J#&S&!&$&HcGSCNJGUS[%(us{(J#u#!J!'** L#* +/L#S	/D(/#L#*# $$r/   r	   N)	r%   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r.   r/   r0   <module>r5      sH    % . 3 # ;<2%' 2%  =2%j 
r/   