Fill-Mask
Transformers
PyTorch
Joblib
DNA
biology
genomics
custom_code
Inference Endpoints
hdallatorre commited on
Commit
de40e31
1 Parent(s): 8b0e72b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -39,8 +39,8 @@ from transformers import AutoTokenizer, AutoModelForMaskedLM
39
  import torch
40
 
41
  # Import the tokenizer and the model
42
- tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-250m-multi-species")
43
- model = AutoModelForMaskedLM.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-250m-multi-species")
44
 
45
  # Create a dummy dna sequence and tokenize it
46
  sequences = ['ATTCTG' * 9]
 
39
  import torch
40
 
41
  # Import the tokenizer and the model
42
+ tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-250m-multi-species", trust_remote_code=True)
43
+ model = AutoModelForMaskedLM.from_pretrained("InstaDeepAI/nucleotide-transformer-v2-250m-multi-species", trust_remote_code=True)
44
 
45
  # Create a dummy dna sequence and tokenize it
46
  sequences = ['ATTCTG' * 9]