avisena commited on
Commit
bb622db
·
verified ·
1 Parent(s): 878e5ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -59,7 +59,7 @@ The Staff Accountant is responsible for transaction processing, accounting analy
59
  The Staff Accountant may be assigned to various functions, including Accounts Payable, Accounts Receivable, General Ledger/Reconciliation, Global Programs, Payroll or Global Entities. As development opportunities arise, the Staff Accountant may rotate through one or more Corporate Finance functions listed above.
60
  """
61
 
62
- inputs = tokenizer.encode(input_text, return_tensors="pt", max_length=1024, truncation=True)
63
 
64
  summary_ids = model.generate(
65
  inputs,
@@ -72,7 +72,7 @@ summary_ids = model.generate(
72
  do_sample=True
73
  )
74
 
75
- summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
76
 
77
  print(f"Generated Summary: {summary}")
78
  ```
 
59
  The Staff Accountant may be assigned to various functions, including Accounts Payable, Accounts Receivable, General Ledger/Reconciliation, Global Programs, Payroll or Global Entities. As development opportunities arise, the Staff Accountant may rotate through one or more Corporate Finance functions listed above.
60
  """
61
 
62
+ inputs = tokenizer.encode(input_text, return_tensors="pt", max_length=1024, truncation='do_not_truncate')
63
 
64
  summary_ids = model.generate(
65
  inputs,
 
72
  do_sample=True
73
  )
74
 
75
+ summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True, truncation='do_not_truncate')
76
 
77
  print(f"Generated Summary: {summary}")
78
  ```