burberg92 commited on
Commit
915fc92
1 Parent(s): bdfab0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def make_inference(resume):
20
  batch = tokenizer(f"Write an excecutive summary based off this resume.\n\n### Resume:\n{resume}", return_tensors='pt')
21
 
22
  with torch.cuda.amp.autocast():
23
- output_tokens = model.generate(**batch, max_new_tokens=50)
24
 
25
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True)
26
 
 
20
  batch = tokenizer(f"Write an excecutive summary based off this resume.\n\n### Resume:\n{resume}", return_tensors='pt')
21
 
22
  with torch.cuda.amp.autocast():
23
+ output_tokens = model.generate(**batch, max_new_tokens=200)
24
 
25
  return tokenizer.decode(output_tokens[0], skip_special_tokens=True)
26