Ë
    ÛÓ^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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        ‰| �  di |¤Ž y )Né   © )r   Údim_bbox_sinusoid_emb_2dr   Údim_bbox_sinusoid_emb_1dr   Údim_bbox_projectionÚsuperÚ__post_init__)ÚselfÚkwargsÚ	__class__s     €úv/var/www/ramen.bs-engineer-server.com/venv/lib/python3.12/site-packages/transformers/models/bros/configuration_bros.pyr*   zBrosConfig.__post_init__F   sV   ø€ Ø(,×(8Ñ(8¸AÑ(=ˆÔ%Ø(,×(EÑ(EÈÏÉÑ(VˆÔ%Ø#'×#3Ñ#3°t×7OÑ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Ø#&Ð˜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?      sG   ðñ å .å 3Ý #ñ Ð8Ô9Øô2(Ð!ó 2(ó ó :ð2(ðj ˆ.�r/   