Ë
    ÜÓ^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X-MOD configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzfacebook/xmod-base)Ú
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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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ez  d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   e"ed)f   z  ed*<   dZ#edz  ed+<   d"Z$eed,<   d"Z%eed-<   dZ&eed.<   y)/Ú
XmodConfigaP  
    pre_norm (`bool`, *optional*, defaults to `False`):
        Whether to apply layer normalization before each block.
    adapter_reduction_factor (`int` or `float`, *optional*, defaults to 2):
        The factor by which the dimensionality of the adapter is reduced relative to `hidden_size`.
    adapter_layer_norm (`bool`, *optional*, defaults to `False`):
        Whether to apply a new layer normalization before the adapter modules (shared across all adapters).
    adapter_reuse_layer_norm (`bool`, *optional*, defaults to `True`):
        Whether to reuse the second layer normalization and apply it before the adapter modules as well.
    ln_before_adapter (`bool`, *optional*, defaults to `True`):
        Whether to apply the layer normalization before the residual connection around the adapter module.
    languages (`Iterable[str]`, *optional*, defaults to `["en_XX"]`):
        An iterable of language codes for which adapter modules should be initialized.
    default_language (`str`, *optional*):
        Language code of a default language. It will be assumed that the input is in this language if no language
        codes are explicitly passed to the forward method.

    Examples:

    ```python
    >>> from transformers import XmodConfig, XmodModel

    >>> # Initializing an X-MOD facebook/xmod-base style configuration
    >>> configuration = XmodConfig()

    >>> # Initializing a model (with random weights) from the facebook/xmod-base style configuration
    >>> model = XmodModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úxmodi:w  Ú
vocab_sizei   Ú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é   NÚpad_token_idr   Úbos_token_idÚeos_token_idTÚ	use_cacheÚclassifier_dropoutFÚpre_normÚadapter_reduction_factorÚadapter_layer_normÚadapter_reuse_layer_normÚln_before_adapter)Úen_XX.Ú	languagesÚdefault_languageÚ
is_decoderÚadd_cross_attentionÚtie_word_embeddings)'Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   r   r   r   Ústrr   Úfloatr   r   r   r   r   r   r   r   Úlistr   Úboolr   r    r!   r"   r#   r$   r&   Útupler'   r(   r)   r*   © ó    úv/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/xmod/configuration_xmod.pyr	   r	      sg  … ñð@ €Jà€J�ÓØ€K�ÓØÐ�sÓØ!Ð˜Ó!Ø!Ð�sÓ!Ø€J�ÓØ'*Ð˜ ™Ó*Ø03Ð  %¨#¡+Ó3Ø#&Ð˜SÓ&Ø€O�SÓØ#Ð�uÓ#Ø!€N�EÓ!Ø €L�#˜‘*Ó Ø €L�#˜‘*Ó Ø+,€L�#˜˜S™	‘/ DÑ(Ó,Ø€IˆtÓØ-1Ð˜ ™ dÑ*Ó1Ø€HˆdÓØ$%Ð˜cÓ%Ø$Ð˜Ó$Ø%)Ð˜dÓ)Ø"Ð�tÓ"Ø-7€Iˆt�C‰y˜5  c ™?Ñ*Ó7Ø#'Ð�c˜D‘jÓ'Ø€J�ÓØ %Ð˜Ó%Ø $Ð˜Ô$r8   r	   N)	r.   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r7   r8   r9   ú<module>r>      sG   ðñ å .å 3Ý #ñ Ð/Ô0Øô=%Ð!ó =%ó ó 1ð=%ð@ ˆ.�r8   