Ë
    ÛÓ^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CPMAnt model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzopenbmb/cpm-ant-10b)Ú
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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d<   y) ÚCpmAntConfigaå  
    position_bias_num_buckets (`int`, *optional*, defaults to 512):
        The number of position_bias buckets.
    position_bias_max_distance (`int`, *optional*, defaults to 2048):
        The maximum sequence length that this model might ever be used with. Typically set this to something large
        just in case (e.g., 512 or 1024 or 2048).
    prompt_types (`int`, *optional*, defaults to 32):
        The type of prompt.
    prompt_length (`int`, *optional*, defaults to 32):
        The length of prompt.
    segment_types (`int`, *optional*, defaults to 32):
        The type of segment.

    Example:

    ```python
    >>> from transformers import CpmAntModel, CpmAntConfig

    >>> # Initializing a CPMAnt cpm-ant-10b style configuration
    >>> configuration = CpmAntConfig()

    >>> # Initializing a model from the cpm-ant-10b style configuration
    >>> model = CpmAntModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úcpmanti x  Ú
vocab_sizei   Úhidden_sizeé    Únum_attention_headsé€   Údim_headi (  Údim_ffé0   Únum_hidden_layersg        Ú	dropout_pi   Úposition_bias_num_bucketsi   Úposition_bias_max_distanceg�íµ ÷Æ°>Úepsg      ð?Úinit_stdÚprompt_typesÚprompt_lengthÚsegment_typesTÚ	use_cacheÚtie_word_embeddingsN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   r   r   r   r   Úfloatr   r   r   r   r   r   r   r   Úboolr   © ó    úz/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/cpmant/configuration_cpmant.pyr	   r	      s·   … ñð8 €Jà€J�ÓØ€K�ÓØ!Ð˜Ó!Ø€HˆcÓØ€FˆCÓØÐ�sÓØ €Iˆu�s‰{Ó Ø%(Ð˜sÓ(Ø&*Ð Ó*Ø€CˆÓØ€HˆeÓØ€L�#ÓØ€M�3ÓØ€M�3ÓØ€IˆtÓØ $Ð˜Ô$r(   r	   N)	r!   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r'   r(   r)   ú<module>r.      sH   ðñ !å .å 3Ý #ñ Ð0Ô1Øô.%Ð#ó .%ó ó 2ð.%ðb Ð
�r(   