Jiqing commited on
Commit
fdc35b1
·
verified ·
1 Parent(s): 01eb671

Update modeling_protst.py

Browse files
Files changed (1) hide show
  1. modeling_protst.py +1 -1
modeling_protst.py CHANGED
@@ -235,7 +235,7 @@ class ProtSTForProteinPropertyPrediction(ProtSTPreTrainedModel):
235
  self.protein_model = EsmForProteinRepresentation(config.protein_config)
236
  self.text_model = BertForPubMed(config.text_config)
237
  self.logit_scale = nn.Parameter(torch.ones([]) * math.log(1 / 0.07))
238
- self.classifier = ProtSTHead(config, out_dim=config.num_labels)
239
 
240
  self.post_init() # NOTE
241
 
 
235
  self.protein_model = EsmForProteinRepresentation(config.protein_config)
236
  self.text_model = BertForPubMed(config.text_config)
237
  self.logit_scale = nn.Parameter(torch.ones([]) * math.log(1 / 0.07))
238
+ self.classifier = ProtSTHead(config.protein_config, out_dim=config.num_labels)
239
 
240
  self.post_init() # NOTE
241