Commit
•
3495c1e
1
Parent(s):
c8ed588
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ Like Mistral-7B-v0.1, it is a transformer model, with the following architecture
|
|
26 |
import torch
|
27 |
from transformers import AutoTokenizer, AutoModel
|
28 |
|
29 |
-
tokenizer = AutoTokenizer.from_pretrained("RaphaelMourad/Mistral-DNA-v0.1", trust_remote_code=True)
|
30 |
model = AutoModel.from_pretrained("RaphaelMourad/Mistral-DNA-v0.1", trust_remote_code=True)
|
31 |
```
|
32 |
|
|
|
26 |
import torch
|
27 |
from transformers import AutoTokenizer, AutoModel
|
28 |
|
29 |
+
tokenizer = AutoTokenizer.from_pretrained("RaphaelMourad/Mistral-DNA-v0.1", trust_remote_code=True) # Same as DNABERT2
|
30 |
model = AutoModel.from_pretrained("RaphaelMourad/Mistral-DNA-v0.1", trust_remote_code=True)
|
31 |
```
|
32 |
|