DLRNA-BERTa / configuration_dlmberta.py
IlPakoZ's picture
Upload 18 files
3912a9f verified
raw
history blame contribute delete
393 Bytes
from transformers import PretrainedConfig
class InteractionModelATTNConfig(PretrainedConfig):
model_type = "dlmberta"
def __init__(self, attention_dropout = 0.2, hidden_dropout = 0.2, num_heads = 1, **kwargs,):
self.num_heads = num_heads
self.hidden_dropout = hidden_dropout
self.attention_dropout = attention_dropout
super().__init__(**kwargs)