calbors commited on
Commit
2aa27b1
·
verified ·
1 Parent(s): 0d40f33

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -10,9 +10,8 @@ import torch
10
  from transformers import AutoModel, AutoTokenizer
11
 
12
  checkpoint = "songlab/PhyloGPN"
13
- commit_hash = "4d52868"
14
- tokenizer = AutoTokenizer.from_pretrained(checkpoint, trust_remote_code=True, commit_hash=commit_hash)
15
- model = AutoModel.from_pretrained(checkpoint, trust_remote_code=True, commit_hash=commit_hash)
16
 
17
  # Example data
18
  seqs = [
 
10
  from transformers import AutoModel, AutoTokenizer
11
 
12
  checkpoint = "songlab/PhyloGPN"
13
+ tokenizer = AutoTokenizer.from_pretrained(checkpoint, trust_remote_code=True)
14
+ model = AutoModel.from_pretrained(checkpoint, trust_remote_code=True)
 
15
 
16
  # Example data
17
  seqs = [