hdallatorre
commited on
Commit
•
6dee01f
1
Parent(s):
abdf6d7
Update README.md
Browse files
README.md
CHANGED
@@ -40,8 +40,8 @@ from transformers import AutoTokenizer, AutoModelForMaskedLM
|
|
40 |
import torch
|
41 |
|
42 |
# Import the tokenizer and the model
|
43 |
-
tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-500m-multi-species")
|
44 |
-
model = AutoModelForMaskedLM.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-500m-multi-species")
|
45 |
|
46 |
# Create a dummy dna sequence and tokenize it
|
47 |
sequences = ['ATTCTG' * 9]
|
|
|
40 |
import torch
|
41 |
|
42 |
# Import the tokenizer and the model
|
43 |
+
tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-500m-multi-species", trust_remote_code=True)
|
44 |
+
model = AutoModelForMaskedLM.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-500m-multi-species", trust_remote_code=True)
|
45 |
|
46 |
# Create a dummy dna sequence and tokenize it
|
47 |
sequences = ['ATTCTG' * 9]
|