Update README.md
Browse files
README.md
CHANGED
@@ -10,9 +10,8 @@ import torch
|
|
10 |
from transformers import AutoModel, AutoTokenizer
|
11 |
|
12 |
checkpoint = "songlab/PhyloGPN"
|
13 |
-
|
14 |
-
|
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 = [
|