§
    ‚Štj  ã                   ó„   — 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d
S )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.<   dS )/Ú
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*   © ó    úi/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/xmod/configuration_xmod.pyr	   r	      s  € € € € € € ðð ð@ €Jà€J�ÐÐÑØ€K�ÐÐÑØÐ�sÐÐÑØ!Ð˜Ð!Ð!Ñ!Ø!Ð�sÐ!Ð!Ñ!Ø€J�ÐÐÑØ'*Ð˜ ™Ð*Ð*Ñ*Ø03Ð  %¨#¡+Ð3Ð3Ñ3Ø#&Ð˜SÐ&Ð&Ñ&Ø€O�SÐÐÑØ#Ð�uÐ#Ð#Ñ#Ø!€N�EÐ!Ð!Ñ!Ø €L�#˜‘*Ð Ð Ñ Ø €L�#˜‘*Ð Ð Ñ Ø+,€L�#˜˜Sœ	‘/ DÑ(Ð,Ð,Ñ,Ø€IˆtÐÐÑØ-1Ð˜ ™ dÑ*Ð1Ð1Ñ1Ø€HˆdÐÐÑØ$%Ð˜cÐ%Ð%Ñ%Ø$Ð˜Ð$Ð$Ñ$Ø%)Ð˜dÐ)Ð)Ñ)Ø"Ð�tÐ"Ð"Ñ"Ø-7€Iˆt�CŒy˜5  c œ?Ñ*Ð7Ð7Ñ7Ø#'Ð�c˜D‘jÐ'Ð'Ñ'Ø€J�ÐÐÑØ %Ð˜Ð%Ð%Ñ%Ø $Ð˜Ð$Ð$Ñ$Ð$Ð$r8   r	   N)	r.   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r7   r8   r9   ú<module>r>      s¡   ðð Ð à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð/Ð0Ñ0Ô0Øð=%ð =%ð =%ð =%ð =%Ð!ñ =%ô =%ñ „ñ 1Ô0ð=%ð@ ˆ.€€€r8   