Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 5056218

Browse files
authored
fix yahoo dataset (#1551)
1 parent 1b2f12e commit 5056218

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchtext/datasets/yahooanswers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def YahooAnswers(root: str, split: Union[Tuple[str], str]):
4646
hash_type="md5"
4747
)
4848
cache_compressed_dp = GDriveReader(cache_compressed_dp).end_caching(mode="wb", same_filepath_fn=True)
49-
cache_compressed_dp = FileOpener(cache_compressed_dp, mode="b")
5049

5150
cache_decompressed_dp = cache_compressed_dp.on_disk_cache(
5251
filepath_fn=lambda x: os.path.join(root, _EXTRACTED_FILES[split])

0 commit comments

Comments
 (0)