Ë
    ÜÓ^jÏ	  ã                   óv   — 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
y)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  | _         |j                  dd«       t	        ‰| �  di |¤Ž y )NÚpartial_rotary_factorg      à?© )r   r   r   Ú
setdefaultÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €ú~/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/nemotron/configuration_nemotron.pyr*   zNemotronConfig.__post_init__C   sL   ø€ Ø)-¯©Ð)B˜ŸšÈ×HXÑHXÐ\`×\tÑ\tÑHtˆŒØ×ÑÐ1°3Ô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Ø €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      sK   ðñ #å .å 3Ý 1Ý #ñ Ð0Ô1Øô,(Ð%ó ,(ó ó 2ð,(ð^ Ð
�r/   