Soumic commited on
Commit
f70ddaf
1 Parent(s): 3b659a2

:white_check_mark: Change class name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -360,7 +360,7 @@ class ReshapedBCEWithLogitsLoss(nn.BCEWithLogitsLoss):
360
  return super().forward(input.squeeze(), target.float())
361
 
362
 
363
- class DnaBert6MQTLClassifier(nn.Module):
364
  def __init__(self,
365
  seq_len: int, model_repository_name: str,
366
  bert_model=BertModel.from_pretrained(pretrained_model_name_or_path=DNA_BERT_6),
 
360
  return super().forward(input.squeeze(), target.float())
361
 
362
 
363
+ class DnaBert6MQTLClassifier(nn.Module, PyTorchModelHubMixin):
364
  def __init__(self,
365
  seq_len: int, model_repository_name: str,
366
  bert_model=BertModel.from_pretrained(pretrained_model_name_or_path=DNA_BERT_6),