nsorros commited on
Commit
1b85e66
1 Parent(s): 895295d

Add config param to model

Browse files
Files changed (1) hide show
  1. model.py +2 -1
model.py CHANGED
@@ -18,7 +18,8 @@ class MultiLabelAttention(torch.nn.Module):
18
  class BertMesh(PreTrainedModel):
19
  def __init__(
20
  self,
21
- pretrained_model,
 
22
  num_labels=28761,
23
  hidden_size=512,
24
  dropout=0,
 
18
  class BertMesh(PreTrainedModel):
19
  def __init__(
20
  self,
21
+ config,
22
+ pretrained_model="microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract",
23
  num_labels=28761,
24
  hidden_size=512,
25
  dropout=0,