Skip to content

Commit

Permalink
Merge pull request #66 from Aktsvigun/master
Browse files Browse the repository at this point in the history
  • Loading branch information
HHousen authored Feb 3, 2022
2 parents 8165890 + 73aef8d commit 176d394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/abstractive.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def __init__(self, hparams):
self.target_eoseq_token = self.tokenizer.pad_token
else:
self.target_eoseq_token = "[unused1]"
self.tokenizer.pad_token = "[unused2]"
do_seq_special_add = True

# Convert `target_boseq_token` and `target_eoseq_token` to IDs
Expand Down

0 comments on commit 176d394

Please sign in to comment.