a
    þdE  ã                   @   s.   d Z ddlmZ e e¡ZG dd„ deƒ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 )N)Ú__dict__Úmodal_hidden_sizeÚ
num_labels)ÚselfÚconfigr   r   © r
   út/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/transformers/models/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   Z
get_loggerr   ÚloggerÚobjectr   r
   r
   r
   r   Ú<module>   s   
