-
Notifications
You must be signed in to change notification settings - Fork 265
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
Modify fastNLP to work with latest and older torchtext releases #142
Projects
Comments
wconstab
added a commit
that referenced
this issue
Oct 29, 2020
* Modify AG_NEWS import to work under new and old torchtext torchtext >=0.8.0 moved AG_NEWS from experimental to mainline * Update torchbenchmark/models/fastNLP/__init__.py Co-authored-by: Nikita Shulga <[email protected]>
xuzhao9
pushed a commit
that referenced
this issue
Jun 21, 2021
* Modify AG_NEWS import to work under new and old torchtext torchtext >=0.8.0 moved AG_NEWS from experimental to mainline * Update torchbenchmark/models/fastNLP/__init__.py Co-authored-by: Nikita Shulga <[email protected]>
Cherry-picked the fix to 0.1 branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
torchtext 0.8.0 release moved AG_NEWS from datasets.experimental. to datasets. fastNLP should be able to run under new and old torchtext for the sake of running historical builds, so we can check the torchtext version in the fastNLP init.py and conditionally import the right name.
The text was updated successfully, but these errors were encountered: