debisoft commited on
Commit
60ade50
·
1 Parent(s): 21b77f1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def get_completion(msg):
52
 
53
  with torch.no_grad():
54
  outputs = peft_model.generate(
55
- **inputs, max_new_tokens=512, pad_token_id = tokenizer.eos_token_id
56
  )
57
 
58
  #peft_model.to(cpu_device)
 
52
 
53
  with torch.no_grad():
54
  outputs = peft_model.generate(
55
+ **inputs, max_new_tokens=384, pad_token_id = tokenizer.eos_token_id
56
  )
57
 
58
  #peft_model.to(cpu_device)