§
    ‚ŠtjÏ	  ã                   ó�   — d Z ddlm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Nemotron model configurationé    )Ústricté   )ÚPreTrainedConfig)ÚRopeParameters)Úauto_docstringzthhaus/nemotron3-8b)Ú
checkpointc                   óˆ  ‡ — e Zd ZU dZdZdg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d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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z  ed%<   d Z!eed&<   ˆ fd'„Z"ˆ xZ#S )(ÚNemotronConfiga™  
    Example:

    ```python
    >>> from transformers import NemotronModel, NemotronConfig

    >>> # Initializing a Nemotron nemotron-15b style configuration
    >>> configuration = NemotronConfig()

    >>> # Initializing a model from the nemotron-15b style configuration
    >>> model = NemotronModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```ÚnemotronÚpast_key_valuesi è Ú
vocab_sizei   Úhidden_sizei `  Úintermediate_sizeé    Únum_hidden_layersé0   Únum_attention_headsNÚhead_dimÚnum_key_value_headsÚrelu2Ú
hidden_acti   Úmax_position_embeddingsgS–!Žuq‹?Úinitializer_rangegñhãˆµøä>Únorm_epsTÚ	use_cacheÚpad_token_idé   Úbos_token_idr   Úeos_token_idFÚtie_word_embeddingsÚrope_parametersÚattention_biasg        Úattention_dropoutÚmlp_biasc                 óª   •— | j         �| j         n| j        | j        z  | _         |                     dd¦  «          t	          ¦   «         j        di |¤Ž d S )NÚpartial_rotary_factorg      à?© )r   r   r   Ú
setdefaultÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úq/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/nemotron/configuration_nemotron.pyr*   zNemotronConfig.__post_init__C   s]   ø€ Ø)-¬Ð)B˜œ˜ÈÔHXÐ\`Ô\tÑHtˆŒØ×ÒÐ1°3Ñ7Ô7Ð7Ø�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )$Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typeÚkeys_to_ignore_at_inferencer   ÚintÚ__annotations__r   r   r   r   r   r   r   Ústrr   r   Úfloatr   r   Úboolr   r   r   Úlistr    r!   r   Údictr"   r#   r$   r*   Ú__classcell__)r-   s   @r.   r
   r
      sÇ  ø€ € € € € € ðð ð  €JØ#4Ð"5Ðà€J�ÐÐÑØ€K�ÐÐÑØ"Ð�sÐ"Ð"Ñ"ØÐ�sÐÐÑØ!Ð˜Ð!Ð!Ñ!Ø€Hˆc�D‰jÐÐÑØ&*Ð˜˜t™Ð*Ð*Ñ*Ø€J�ÐÐÑØ#'Ð˜SÐ'Ð'Ñ'Ø%Ð�uÐ%Ð%Ñ%Ø€HˆeÐÐÑØ€IˆtÐÐÑØ#€L�#˜‘*Ð#Ð#Ñ#Ø €L�#˜‘*Ð Ð Ñ Ø+,€L�#˜˜Sœ	‘/ DÑ(Ð,Ð,Ñ,Ø %Ð˜Ð%Ð%Ñ%Ø48€O�^ dÑ*¨TÑ1Ð8Ð8Ñ8Ø €N�DÐ Ð Ñ Ø%(Ð�u˜s‘{Ð(Ð(Ñ(Ø€HˆdÐÐÑð(ð (ð (ð (ð (ð (ð (ð (ð (r/   r
   N)r3   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úmodeling_rope_utilsr   Úutilsr   r
   Ú__all__r'   r/   r.   ú<module>rC      s´   ðð #Ð "à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð0Ð1Ñ1Ô1Øð,(ð ,(ð ,(ð ,(ð ,(Ð%ñ ,(ô ,(ñ „ñ 2Ô1ð,(ð^ Ð
€€€r/   