longchen0421
commited on
Commit
•
6b9105f
1
Parent(s):
1c5ab4b
Update README.md
Browse files
README.md
CHANGED
@@ -38,7 +38,7 @@ Here is a simple code for inference:
|
|
38 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
39 |
import torch
|
40 |
|
41 |
-
model_name = 'plant-dnagemma'
|
42 |
# load model and tokenizer
|
43 |
model = AutoModelForCausalLM.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 AutoModelForCausalLM, AutoTokenizer
|
39 |
import torch
|
40 |
|
41 |
+
model_name = 'zhangtaolab/plant-dnagemma-singlebase'
|
42 |
# load model and tokenizer
|
43 |
model = AutoModelForCausalLM.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)
|
44 |
tokenizer = AutoTokenizer.from_pretrained(f'zhangtaolab/{model_name}', trust_remote_code=True)
|