protgpt3 commited on
Commit
181d8f3
·
verified ·
1 Parent(s): cc73d30

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -89,7 +89,7 @@ import torch
89
 
90
  prompt = "" # Optionally provide an amino-acid prefix or model-specific direction
91
 
92
- inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
93
 
94
  with torch.no_grad():
95
  output_ids = model.generate(
 
89
 
90
  prompt = "" # Optionally provide an amino-acid prefix or model-specific direction
91
 
92
+ inputs = tokenizer(prompt, return_tensors="pt", padding_side="left").to(model.device)
93
 
94
  with torch.no_grad():
95
  output_ids = model.generate(