You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
* 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 <nshulga@fb.com>
* 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 <nshulga@fb.com>
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: