hugohrban commited on
Commit
59fe124
1 Parent(s): 60c3abb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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