File size: 398 Bytes
c1ea99a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from transformers import PretrainedConfig

class SeqScreenConfig(PretrainedConfig):
  model_type = "seqscreen"
  def __init__(
    self,
    prot_dim: int = 2560, 
    mol_dim: int = 768, 
    proj_dim: int = 512, 
    dropout: float = 0.1,
    **kwargs):
    super().__init__(**kwargs)
    self.prot_dim = prot_dim
    self.mol_dim = mol_dim
    self.proj_dim = proj_dim
    self.dropout = dropout