§
    ‚Š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Marian model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzHelsinki-NLP/opus-mt-en-de)Ú
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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	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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	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d
z  e	d*<   d(Z%ee#e         z  d
z  e	d+<   dZ&ee	d,<   d%Z'ee	d-<   dZ(ee	d.<   ˆ fd/„Z)ˆ xZ*S )0ÚMarianConfiga   
    decoder_vocab_size (`int`, *optional*):
        Vocab size of the decoder layer's embedding.
    share_encoder_decoder_embeddings (`bool`, *optional*, defaults to `True`):
        Whether to tie and share embeddings of encoder and decoder

    Examples:

    ```python
    >>> from transformers import MarianModel, MarianConfig

    >>> # Initializing a Marian Helsinki-NLP/opus-mt-en-de style configuration
    >>> configuration = MarianConfig()

    >>> # Initializing a model from the Helsinki-NLP/opus-mt-en-de style configuration
    >>> model = MarianModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```ÚmarianÚpast_key_valuesÚencoder_attention_headsÚd_modelÚencoder_layers)Únum_attention_headsÚhidden_sizeÚnum_hidden_layersiõâ  Ú
vocab_sizeNÚdecoder_vocab_sizei   Úmax_position_embeddingsé   i   Úencoder_ffn_dimé   Údecoder_layersÚdecoder_ffn_dimÚdecoder_attention_headsg        Úencoder_layerdropÚdecoder_layerdropTÚ	use_cacheÚis_encoder_decoderÚgeluÚactivation_functiongš™™™™™¹?ÚdropoutÚattention_dropoutÚactivation_dropoutg{®Gáz”?Úinit_stdiôâ  Údecoder_start_token_idFÚscale_embeddingÚpad_token_idr   Úeos_token_idÚbos_token_idÚforced_eos_token_idÚ share_encoder_decoder_embeddingsÚ
is_decoderÚtie_word_embeddingsc                 ó`   •— | j         p| j        | _          t          ¦   «         j        di |¤Ž d S )N© )r   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úm/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/marian/configuration_marian.pyr1   zMarianConfig.__post_init__S   s8   ø€ Ø"&Ô"9Ð"L¸T¼_ˆÔØ�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )+Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typeÚkeys_to_ignore_at_inferenceÚattribute_mapr   ÚintÚ__annotations__r   r   r   r   r   r   r   r   r   Úfloatr   r   Úboolr   r    Ústrr   r!   r"   r#   r$   r%   r&   r'   r(   Úlistr)   r*   r+   r,   r-   r1   Ú__classcell__)r4   s   @r5   r	   r	      ss  ø€ € € € € € ðð ð* €JØ#4Ð"5Ðà8Ø Ø-ðð €Mð €J�ÐÐÑØ%)Ð˜˜d™
Ð)Ð)Ñ)Ø#'Ð˜SÐ'Ð'Ñ'Ø€N�CÐÐÑØ€O�SÐÐÑØ#%Ð˜SÐ%Ð%Ñ%Ø€N�CÐÐÑØ€O�SÐÐÑØ#%Ð˜SÐ%Ð%Ñ%Ø%(Ð�u˜s‘{Ð(Ð(Ñ(Ø%(Ð�u˜s‘{Ð(Ð(Ñ(Ø€IˆtÐÐÑØ#Ð˜Ð#Ð#Ñ#Ø%Ð˜Ð%Ð%Ñ%Ø€GˆSÐÐÑØ€GˆU�S‰[ÐÐÑØ%(Ð�u˜s‘{Ð(Ð(Ñ(Ø&)Ð˜ ™Ð)Ð)Ñ)Ø€HˆeÐÐÑØ"'Ð˜CÐ'Ð'Ñ'Ø!€O�TÐ!Ð!Ñ!Ø$€L�#˜‘*Ð$Ð$Ñ$Ø+,€L�#˜˜Sœ	‘/ DÑ(Ð,Ð,Ñ,Ø#€L�#˜‘*Ð#Ð#Ñ#Ø23Ð˜˜t Cœy™¨4Ñ/Ð3Ð3Ñ3Ø-1Ð$ dÐ1Ð1Ñ1Ø€J�ÐÐÑØ $Ð˜Ð$Ð$Ñ$ð(ð (ð (ð (ð (ð (ð (ð (ð (r6   r	   N)	r:   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r/   r6   r5   ú<module>rI      s¢   ðð !Ð  à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð7Ð8Ñ8Ô8Øð=(ð =(ð =(ð =(ð =(Ð#ñ =(ô =(ñ „ñ 9Ô8ð=(ð@ Ð
€€€r6   