§
    ‚Štj’  ã                   ó�   — d dl mZ ddlmZ ddlmZ ddlmZmZ  ed¬¦  «        e G d	„ d
e¦  «        ¦   «         ¦   «         Z	d
gZ
dS )é    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringé   )ÚCONFIG_MAPPINGÚ
AutoConfigzzai-org/GLM-4.1V-9B-Thinking)Ú
checkpointc                   óÎ   ‡ — e Zd ZU dZdZeedœZdgZdZe	e
z  dz  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d<   dZeed<   ˆ fd„Zˆ xZS )ÚGlm46VConfigaœ  
    image_start_token_id (`int`, *optional*, defaults to 151339):
        The image start token index to encode the start of image.
    image_end_token_id (`int`, *optional*, defaults to 151340):
        The image end token index to encode the end of image.
    video_start_token_id (`int`, *optional*, defaults to 151361):
        The video start token index to encode the start of video.
    video_end_token_id (`int`, *optional*, defaults to 151362):
        The video end token index to encode the end of video.

    ```python
    >>> from transformers import Glm46VForConditionalGeneration, Glm46VConfig

    >>> # Initializing a GLM-4.6V style configuration
    >>> configuration = Glm46VConfig()

    >>> # Initializing a model from the GLM-4.6V style configuration
    >>> model = Glm4vForConditionalGeneration(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úglm46v)Útext_configÚvision_configÚpast_key_valuesNr   r   i/O Úimage_token_idi0O Úvideo_token_idi+O Úimage_start_token_idi,O Úimage_end_token_idiAO Úvideo_start_token_idiBO Úvideo_end_token_idFÚtie_word_embeddingsc                 óN  •— t          | j        t          ¦  «        rK| j                             dd¦  «        | j        d<   t	          | j        d                  di | j        ¤Ž| _        n | j        €t	          d         ¦   «         | _        t          | j        t          ¦  «        rK| j                             dd¦  «        | j        d<   t	          | j        d                  di | j        ¤Ž| _        n | j        €t	          d         ¦   «         | _         t          ¦   «         j        di |¤Ž d S )NÚ
model_typeÚglm4v_visionÚ
glm4v_text© )Ú
isinstancer   ÚdictÚgetr   r   ÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úm/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/glm46v/configuration_glm46v.pyr!   zGlm46VConfig.__post_init__E   s  ø€ Ý�dÔ(­$Ñ/Ô/ð 	BØ/3Ô/A×/EÒ/EÀlÐTbÑ/cÔ/cˆDÔ˜|Ñ,Ý!/°Ô0BÀ<Ô0PÔ!QÐ!gÐ!gÐTXÔTfÐ!gÐ!gˆDÔÐØÔÐ'Ý!/°Ô!?Ñ!AÔ!AˆDÔå�dÔ&­Ñ-Ô-ð 	>Ø-1Ô-=×-AÒ-AÀ,ÐP\Ñ-]Ô-]ˆDÔ˜\Ñ*Ý-¨dÔ.>¸|Ô.LÔMÐaÐaÐPTÔP`ÐaÐaˆDÔÐØÔÐ%Ý-¨lÔ;Ñ=Ô=ˆDÔà�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   Úsub_configsÚkeys_to_ignore_at_inferencer   r   r   Ú__annotations__r   r   Úintr   r   r   r   r   r   Úboolr!   Ú__classcell__)r$   s   @r%   r   r      s  ø€ € € € € € ðð ð. €JØ",¸zÐJÐJ€KØ#4Ð"5Ðà26€K�Ð(Ñ(¨4Ñ/Ð6Ð6Ñ6Ø48€M�4Ð*Ñ*¨TÑ1Ð8Ð8Ñ8Ø €N�CÐ Ð Ñ Ø €N�CÐ Ð Ñ Ø &Ð˜#Ð&Ð&Ñ&Ø$Ð˜Ð$Ð$Ñ$Ø &Ð˜#Ð&Ð&Ñ&Ø$Ð˜Ð$Ð$Ñ$Ø %Ð˜Ð%Ð%Ñ%ð(ð (ð (ð (ð (ð (ð (ð (ð (r&   r   N)Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   Úautor   r	   r   Ú__all__r   r&   r%   ú<module>r6      s´   ðð, /Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #Ø -Ð -Ð -Ð -Ð -Ð -Ð -Ð -ð €Ð9Ð:Ñ:Ô:Øð3(ð 3(ð 3(ð 3(ð 3(Ð#ñ 3(ô 3(ñ „ñ ;Ô:ð3(ðl Ð
€€€r&   