awslabs / pptod

Multi-Task Pre-Training for Plug-and-Play Task-Oriented Dialogue System (ACL 2022)
https://arxiv.org/abs/2109.14739
Apache License 2.0
158 stars 27 forks source link

Update dataclass.py #12

Closed dlwlgus53 closed 2 years ago

dlwlgus53 commented 2 years ago

Changed end index.

As I experiment, "end-1" code ignored the last data of dataset

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.