ppapenj commited on
Commit
94e1e0f
·
verified ·
1 Parent(s): 9507e10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def load_dicts():
18
  def load_model():
19
  tokenizer = AutoTokenizer.from_pretrained("microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract")
20
  model = AutoModelForSequenceClassification.from_pretrained(
21
- "my_model/checkpoint-23000",
22
  num_labels=len(label2ind),
23
  problem_type="single_label_classification",
24
  )
 
18
  def load_model():
19
  tokenizer = AutoTokenizer.from_pretrained("microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract")
20
  model = AutoModelForSequenceClassification.from_pretrained(
21
+ "checkpoint-23000",
22
  num_labels=len(label2ind),
23
  problem_type="single_label_classification",
24
  )