Update README.md
Browse files
README.md
CHANGED
@@ -14,8 +14,8 @@ import torch
|
|
14 |
import torch.nn.functional as F
|
15 |
|
16 |
# load model and tokenizer
|
17 |
-
model = AutoModelForCausalLM.from_pretrained("hugohrban/progen2-
|
18 |
-
tokenizer = Tokenizer.from_pretrained("hugohrban/progen2-
|
19 |
tokenizer.no_padding()
|
20 |
|
21 |
# prepare input
|
|
|
14 |
import torch.nn.functional as F
|
15 |
|
16 |
# load model and tokenizer
|
17 |
+
model = AutoModelForCausalLM.from_pretrained("hugohrban/progen2-oas", trust_remote_code=True)
|
18 |
+
tokenizer = Tokenizer.from_pretrained("hugohrban/progen2-oas")
|
19 |
tokenizer.no_padding()
|
20 |
|
21 |
# prepare input
|