§
    ‚Š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Bros model configurationé    )Ústricté   )ÚPreTrainedConfig)Úauto_docstringzjinho8345/bros-base-uncased)Ú
checkpointc                   óJ  ‡ — 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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dz  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%<   ˆ fd&„Zˆ xZS )'Ú
BrosConfiga3  
    dim_bbox (`int`, *optional*, defaults to 8):
        The dimension of the bounding box coordinates. (x0, y1, x1, y0, x1, y1, x0, y1)
    bbox_scale (`float`, *optional*, defaults to 100.0):
        The scale factor of the bounding box coordinates.
    n_relations (`int`, *optional*, defaults to 1):
        The number of relations for SpadeEE(entity extraction), SpadeEL(entity linking) head.

    Examples:

    ```python
    >>> from transformers import BrosConfig, BrosModel

    >>> # Initializing a BROS jinho8345/bros-base-uncased style configuration
    >>> configuration = BrosConfig()

    >>> # Initializing a model from the jinho8345/bros-base-uncased style configuration
    >>> model = BrosModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```Úbrosi:w  Ú
vocab_sizei   Úhidden_sizeé   Únum_hidden_layersÚnum_attention_headsi   Úintermediate_sizeÚgeluÚ
hidden_actgš™™™™™¹?Úhidden_dropout_probÚattention_probs_dropout_probi   Úmax_position_embeddingsé   Útype_vocab_sizeg{®Gáz”?Úinitializer_rangegê-�™—q=Úlayer_norm_epsr   NÚpad_token_idé   Údim_bboxg      Y@Ú
bbox_scaleé   Ún_relationsÚclassifier_dropout_probFÚ
is_decoderÚadd_cross_attentionc                 ó¨   •— | j         dz  | _        | j        | j        z  | _        | j         | j        z  | _         t          ¦   «         j        di |¤Ž d S )Né   © )r   Údim_bbox_sinusoid_emb_2dr   Údim_bbox_sinusoid_emb_1dr   Údim_bbox_projectionÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úi/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/models/bros/configuration_bros.pyr*   zBrosConfig.__post_init__F   s[   ø€ Ø(,Ô(8¸AÑ(=ˆÔ%Ø(,Ô(EÈÌÑ(VˆÔ%Ø#'Ô#3°tÔ7OÑ#OˆÔ Ø�‰ŒÔÐ'Ð' Ð'Ð'Ð'Ð'Ð'ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
model_typer   ÚintÚ__annotations__r   r   r   r   r   Ústrr   Úfloatr   r   r   r   r   r   r   r   r   r    r!   Úboolr"   r*   Ú__classcell__)r-   s   @r.   r	   r	      s”  ø€ € € € € € ðð ð. €Jà€J�ÐÐÑØ€K�ÐÐÑØÐ�sÐÐÑØ!Ð˜Ð!Ð!Ñ!Ø!Ð�sÐ!Ð!Ñ!Ø€J�ÐÐÑØ'*Ð˜ ™Ð*Ð*Ñ*Ø03Ð  %¨#¡+Ð3Ð3Ñ3Ø#&Ð˜SÐ&Ð&Ñ&Ø€O�SÐÐÑØ#Ð�uÐ#Ð#Ñ#Ø!€N�EÐ!Ð!Ñ!Ø €L�#˜‘*Ð Ð Ñ Ø€HˆcÐÐÑØ€J�ÐÐÑØ€K�ÐÐÑØ+.Ð˜U S™[Ð.Ð.Ñ.Ø€J�ÐÐÑØ %Ð˜Ð%Ð%Ñ%ð(ð (ð (ð (ð (ð (ð (ð (ð (r/   r	   N)	r3   Úhuggingface_hub.dataclassesr   Úconfiguration_utilsr   Úutilsr   r	   Ú__all__r%   r/   r.   ú<module>r?      s¡   ðð Ð à .Ð .Ð .Ð .Ð .Ð .à 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø #Ð #Ð #Ð #Ð #Ð #ð €Ð8Ð9Ñ9Ô9Øð2(ð 2(ð 2(ð 2(ð 2(Ð!ñ 2(ô 2(ñ „ñ :Ô9ð2(ðj ˆ.€€€r/   