U
    &ºcú  ã                   @   s*   d Z ddlZe e¡ZG dd„ deƒZdS )z MMBT configuration é    Nc                   @   s   e Zd ZdZddd„ZdS )Ú
MMBTConfiga  Configuration class to store the configuration of a `MMBT Model`.

    Args:
        config (:obj:`~transformers.PreTrainedConfig`):
            Config of the underlying Transformer models. Its values are
            copied over to use a single config.
        num_labels (:obj:`int` or :obj:`None`, optional, defaults to `None`):
            Size of final Linear layer for classification.
        modal_hidden_size (:obj:`int`, optional, defautls 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	   úC/tmp/pip-unpacked-wheel-ymerj3tt/transformers/configuration_mmbt.pyÚ__init__&   s    zMMBTConfig.__init__)Nr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r	   r	   r
   r      s   r   )r   ÚloggingÚ	getLoggerr   ÚloggerÚobjectr   r	   r	   r	   r
   Ú<module>   s   
