-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ArchiveReader to keep archive path #73
Conversation
[ghstack-poisoned]
The tests are passed in the next PR that triggers |
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this @ejguan. I recently created a PR upstreaming the SST2 dataset from torchdata to torchtext (pytorch/text#1410). Moving forward, do we want to remove the SST2 dataset in torchdata and have a dependency on the torchtext dataset instead?
As a followup, should we also be updating the SST2 dataset within torchtext with the changed you've made here to the file paths?
@Nayef211 Thanks for the reminder!
I will remove SST from TorchData then. Do you mind creating a list of dataset that you have implemented (and updating them when new dataset is implemented) with code pointer in this issue? #69
Yes, please. |
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previous implementation of `ArchiveReader` has a bug. Please take a reference from pytorch/pytorch#65424 (comment) cc: @Nayef211 Differential Revision: [D31797765](https://our.internmc.facebook.com/intern/diff/D31797765) [ghstack-poisoned]
@ejguan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
As a followup, you may also need to update the notebook with usage examples since you're removing the SST2 dataset from torchdata |
This pull request has been merged in d28a139. |
Summary: Pull Request resolved: #67035 Incorporate the same change from pytorch/data#73 Test Plan: Imported from OSS Reviewed By: NivekT Differential Revision: D31837963 Pulled By: ejguan fbshipit-source-id: 3b0171ba30f392c8773c497702bc60aa4fbe28c6
Stack from ghstack:
Previous implementation of
ArchiveReader
has a bug. Please take a reference from pytorch/pytorch#65424 (comment)cc: @Nayef211
Differential Revision: D31797765