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