lgq12697 commited on
Commit
9cac7cd
1 Parent(s): 98bdc77

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -38,7 +38,7 @@ Here is a simple code for inference:
38
  from transformers import AutoModelForMaskedLM, AutoTokenizer
39
  import torch
40
 
41
- model_name = 'plant-dnabert'
42
  # load model and tokenizer
43
  model = AutoModelForMaskedLM.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)
44
  tokenizer = AutoTokenizer.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)
 
38
  from transformers import AutoModelForMaskedLM, AutoTokenizer
39
  import torch
40
 
41
+ model_name = 'plant-dnabert-BPE'
42
  # load model and tokenizer
43
  model = AutoModelForMaskedLM.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)
44
  tokenizer = AutoTokenizer.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)