Update README.md
Browse files
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=
|
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 |
```
|