o
    ¸ÈÏiX  ã                   @   s2   d Z ddlmZ e e¡ZG dd„ dƒZdgZdS )zMMBT configurationé   )Úloggingc                   @   s   e Zd ZdZddd„ZdS )Ú
MMBTConfigaN  
    This is the configuration class to store the configuration of a [`MMBTModel`]. It is used to instantiate a MMBT
    model according to the specified arguments, defining the model architecture.

    Args:
        config ([`PreTrainedConfig`]):
            Config of the underlying Transformer models. Its values are copied over to use a single config.
        num_labels (`int`, *optional*):
            Size of final Linear layer for classification.
        modal_hidden_size (`int`, *optional*, defaults to 2048):
            Embedding dimension of the non-text modality encoder.
    Né   c                 C   s    |j | _ || _|r|| _d S d S )N)Ú__dict__Úmodal_hidden_sizeÚ
num_labels)ÚselfÚconfigr   r   © r
   új/home/ubuntu/.local/lib/python3.10/site-packages/transformers/models/deprecated/mmbt/configuration_mmbt.pyÚ__init__&   s
   
ÿzMMBTConfig.__init__)Nr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r
   r
   r
   r   r      s    r   N)r   Úutilsr   Ú
get_loggerr   Úloggerr   Ú__all__r
   r
   r
   r   Ú<module>   s
   

