rhaymison commited on
Commit
6afda49
1 Parent(s): a3a3d27

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -81,7 +81,7 @@ device = "cuda:0"
81
 
82
  inputs = tokenizer2(text, return_tensors="pt").to(device)
83
 
84
- outputs = model2.generate(**inputs, max_new_tokens=100, do_sample=False)
85
 
86
  output = tokenizer2.decode(outputs[0], skip_special_tokens=True, skip_prompt=True)
87
  print(output.replace("model"," "))
 
81
 
82
  inputs = tokenizer2(text, return_tensors="pt").to(device)
83
 
84
+ outputs = model2.generate(**inputs, max_new_tokens=256, do_sample=False)
85
 
86
  output = tokenizer2.decode(outputs[0], skip_special_tokens=True, skip_prompt=True)
87
  print(output.replace("model"," "))