fl399 commited on
Commit
9f95c2e
1 Parent(s): dc1cc61

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -23,8 +23,8 @@ import torch
23
  from tqdm.auto import tqdm
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
- tokenizer = AutoTokenizer.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext")
27
- model = AutoModel.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext").cuda()
28
 
29
  # replace with your own list of entity names
30
  all_names = ["covid-19", "Coronavirus infection", "high fever", "Tumor of posterior wall of oropharynx"]
 
23
  from tqdm.auto import tqdm
24
  from transformers import AutoTokenizer, AutoModel
25
 
26
+ tokenizer = AutoTokenizer.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token")
27
+ model = AutoModel.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token").cuda()
28
 
29
  # replace with your own list of entity names
30
  all_names = ["covid-19", "Coronavirus infection", "high fever", "Tumor of posterior wall of oropharynx"]