From 874a2d85d548999d31d3c01ed2a72886ea953bd8 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:06:04 +0100 Subject: [PATCH 01/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/ag_news.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/ag_news.py b/torchtext/datasets/ag_news.py index 52f424c770..a313fefbf6 100644 --- a/torchtext/datasets/ag_news.py +++ b/torchtext/datasets/ag_news.py @@ -58,7 +58,7 @@ def AG_NEWS(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From e349a6fcb319b96eec620beb983c52ec94cc1990 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:07:25 +0100 Subject: [PATCH 02/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/amazonreviewfull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/amazonreviewfull.py b/torchtext/datasets/amazonreviewfull.py index c864d36317..4309657c20 100644 --- a/torchtext/datasets/amazonreviewfull.py +++ b/torchtext/datasets/amazonreviewfull.py @@ -72,7 +72,7 @@ def AmazonReviewFull(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From aae434cb92ec118e5571cc2af3dc10ee1b83eed2 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:08:44 +0100 Subject: [PATCH 03/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/amazonreviewpolarity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/amazonreviewpolarity.py b/torchtext/datasets/amazonreviewpolarity.py index 9b07468112..fae53f66fb 100644 --- a/torchtext/datasets/amazonreviewpolarity.py +++ b/torchtext/datasets/amazonreviewpolarity.py @@ -69,7 +69,7 @@ def AmazonReviewPolarity(root: str, split: Union[Tuple[str], str]): # TODO Remove this after removing conditional dependency if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From e5ef76b542ef3782344b0969de8db375462806c8 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:09:46 +0100 Subject: [PATCH 04/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/cola.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/cola.py b/torchtext/datasets/cola.py index 97b4bd6f77..77ab872b6c 100644 --- a/torchtext/datasets/cola.py +++ b/torchtext/datasets/cola.py @@ -69,7 +69,7 @@ def CoLA(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 155a97df7a801783f1d1163578e42371e24b3455 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:11:17 +0100 Subject: [PATCH 05/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/conll2000chunking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/conll2000chunking.py b/torchtext/datasets/conll2000chunking.py index 9daa3668f3..2bd23bfd14 100644 --- a/torchtext/datasets/conll2000chunking.py +++ b/torchtext/datasets/conll2000chunking.py @@ -61,7 +61,7 @@ def CoNLL2000Chunking(root: str, split: Union[Tuple[str], str]): if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From 155bec400a13cb105177a6dc39ee4e3cb39a3681 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:12:21 +0100 Subject: [PATCH 06/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/dbpedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/dbpedia.py b/torchtext/datasets/dbpedia.py index 6fc763e873..1c5e00c260 100644 --- a/torchtext/datasets/dbpedia.py +++ b/torchtext/datasets/dbpedia.py @@ -68,7 +68,7 @@ def DBpedia(root: str, split: Union[Tuple[str], str]): # TODO Remove this after removing conditional dependency if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 109211c737bbef1eae8fbba98eb6f7da2bdc96a4 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:12:52 +0100 Subject: [PATCH 07/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/enwik9.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/enwik9.py b/torchtext/datasets/enwik9.py index 122840a725..b116a60f5d 100644 --- a/torchtext/datasets/enwik9.py +++ b/torchtext/datasets/enwik9.py @@ -43,7 +43,7 @@ def EnWik9(root: str): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 264558497bc9d84b9dd8e88088c96e73575d74f6 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:13:25 +0100 Subject: [PATCH 08/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/imdb.py b/torchtext/datasets/imdb.py index c684261272..3bf29b9a9e 100644 --- a/torchtext/datasets/imdb.py +++ b/torchtext/datasets/imdb.py @@ -80,7 +80,7 @@ def IMDB(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 9c6257fd0bfd4da89d8b6306ce0e9d2be372ec69 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:33:52 +0100 Subject: [PATCH 09/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/iwslt2016.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/iwslt2016.py b/torchtext/datasets/iwslt2016.py index d7c322687a..e36ec541ee 100644 --- a/torchtext/datasets/iwslt2016.py +++ b/torchtext/datasets/iwslt2016.py @@ -212,7 +212,7 @@ def IWSLT2016( """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) if not isinstance(language_pair, list) and not isinstance(language_pair, tuple): From 72149ba94db15026a1e6b86774960103b1bd7795 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:34:23 +0100 Subject: [PATCH 10/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/iwslt2017.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/iwslt2017.py b/torchtext/datasets/iwslt2017.py index 0b4acc6fcd..abe8b811d8 100644 --- a/torchtext/datasets/iwslt2017.py +++ b/torchtext/datasets/iwslt2017.py @@ -177,7 +177,7 @@ def IWSLT2017(root=".data", split=("train", "valid", "test"), language_pair=("de """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) valid_set = "dev2010" From 0ff53fcd259da72abec6a65565e62a5c6e1422a9 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:34:51 +0100 Subject: [PATCH 11/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/mnli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/mnli.py b/torchtext/datasets/mnli.py index 9c2a3f71ad..e67d6ac338 100644 --- a/torchtext/datasets/mnli.py +++ b/torchtext/datasets/mnli.py @@ -82,7 +82,7 @@ def MNLI(root, split): # TODO Remove this after removing conditional dependency if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From c82be8d41af096ebcbec3357f308b753ff2292bb Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:35:26 +0100 Subject: [PATCH 12/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/mrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/mrpc.py b/torchtext/datasets/mrpc.py index 85ac94d1ba..8cc7d59568 100644 --- a/torchtext/datasets/mrpc.py +++ b/torchtext/datasets/mrpc.py @@ -60,7 +60,7 @@ def MRPC(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From 6f65eab68e13328c5a002ed55f8a20e92aed592e Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:35:57 +0100 Subject: [PATCH 13/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/multi30k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/multi30k.py b/torchtext/datasets/multi30k.py index c426a5d26f..bcb7a7c549 100644 --- a/torchtext/datasets/multi30k.py +++ b/torchtext/datasets/multi30k.py @@ -80,7 +80,7 @@ def Multi30k(root: str, split: Union[Tuple[str], str], language_pair: Tuple[str] if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From 59a5dcdb7aba61f364585f7df0f94f4408f5e0ea Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:36:26 +0100 Subject: [PATCH 14/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/penntreebank.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/penntreebank.py b/torchtext/datasets/penntreebank.py index 9b58ed61f3..c7b18f6726 100644 --- a/torchtext/datasets/penntreebank.py +++ b/torchtext/datasets/penntreebank.py @@ -62,7 +62,7 @@ def PennTreebank(root, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From 9c06ff9152d42c10e155b211abc60dc12fb51038 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:36:52 +0100 Subject: [PATCH 15/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/qqp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/qqp.py b/torchtext/datasets/qqp.py index 86abea4343..2e05a3bd36 100644 --- a/torchtext/datasets/qqp.py +++ b/torchtext/datasets/qqp.py @@ -40,7 +40,7 @@ def QQP(root: str): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 86b6c2a640b4cee8f14f7266f7b1306597af251c Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:37:22 +0100 Subject: [PATCH 16/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/sogounews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/sogounews.py b/torchtext/datasets/sogounews.py index 06ab1d6325..5a62dc9e14 100644 --- a/torchtext/datasets/sogounews.py +++ b/torchtext/datasets/sogounews.py @@ -72,7 +72,7 @@ def SogouNews(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 0489815adea484a078705b9a37b39262bb94c560 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:37:51 +0100 Subject: [PATCH 17/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/squad1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/squad1.py b/torchtext/datasets/squad1.py index 4a8a7a2e73..2d036d0b61 100644 --- a/torchtext/datasets/squad1.py +++ b/torchtext/datasets/squad1.py @@ -55,7 +55,7 @@ def SQuAD1(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From 0fd7e3ed84adf4fb05e7430e21691f97d9e74741 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:38:20 +0100 Subject: [PATCH 18/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/squad2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/squad2.py b/torchtext/datasets/squad2.py index e2998d41d3..7999bbb0cb 100644 --- a/torchtext/datasets/squad2.py +++ b/torchtext/datasets/squad2.py @@ -56,7 +56,7 @@ def SQuAD2(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL[split]]) From ccda14542f9dca1d4dc6f1d2a1be23635d11679c Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:38:48 +0100 Subject: [PATCH 19/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/sst2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/sst2.py b/torchtext/datasets/sst2.py index 4e6770beda..f695d6bfef 100644 --- a/torchtext/datasets/sst2.py +++ b/torchtext/datasets/sst2.py @@ -79,7 +79,7 @@ def SST2(root, split): # TODO Remove this after removing conditional dependency if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From b00b0ceec65ac8f1f2ca4a070de670901c3baad1 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:39:19 +0100 Subject: [PATCH 20/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/stsb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/stsb.py b/torchtext/datasets/stsb.py index 7c46fa3ae9..bf5976fa0d 100644 --- a/torchtext/datasets/stsb.py +++ b/torchtext/datasets/stsb.py @@ -75,7 +75,7 @@ def STSB(root, split): # TODO Remove this after removing conditional dependency if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 97da5d9d71048255d300f090d0794bf552964aba Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:39:50 +0100 Subject: [PATCH 21/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/udpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/udpos.py b/torchtext/datasets/udpos.py index 275ee0d3ba..773e77877e 100644 --- a/torchtext/datasets/udpos.py +++ b/torchtext/datasets/udpos.py @@ -59,7 +59,7 @@ def UDPOS(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From dfb04a13657131d801299e98bd9a9bac3dcc337b Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:40:15 +0100 Subject: [PATCH 22/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/wikitext103.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/wikitext103.py b/torchtext/datasets/wikitext103.py index d85aba3c2a..e5d9eece56 100644 --- a/torchtext/datasets/wikitext103.py +++ b/torchtext/datasets/wikitext103.py @@ -64,7 +64,7 @@ def WikiText103(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From cec1e4e43fb8b033a5e67e88307ca7ab2383771f Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:40:41 +0100 Subject: [PATCH 23/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/wikitext2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/wikitext2.py b/torchtext/datasets/wikitext2.py index 4e7828d937..a6ba1aac4f 100644 --- a/torchtext/datasets/wikitext2.py +++ b/torchtext/datasets/wikitext2.py @@ -64,7 +64,7 @@ def WikiText2(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 9b50d4b07e6709e507af6178126492e91a565b4b Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:41:13 +0100 Subject: [PATCH 24/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/yahooanswers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/yahooanswers.py b/torchtext/datasets/yahooanswers.py index e4f5889744..497c060465 100644 --- a/torchtext/datasets/yahooanswers.py +++ b/torchtext/datasets/yahooanswers.py @@ -68,7 +68,7 @@ def YahooAnswers(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 0b67f8e6e4e1e4782d1bead30149e11b92091ad7 Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:42:43 +0100 Subject: [PATCH 25/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/yelpreviewfull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/yelpreviewfull.py b/torchtext/datasets/yelpreviewfull.py index 4dbbfb6805..45fbbbd7ac 100644 --- a/torchtext/datasets/yelpreviewfull.py +++ b/torchtext/datasets/yelpreviewfull.py @@ -67,7 +67,7 @@ def YelpReviewFull(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL]) From 6961d6f064a06ac4ae54b596ad5355f30e3a999f Mon Sep 17 00:00:00 2001 From: Suvigya Jain <42478893+suvigyajain0101@users.noreply.github.com> Date: Tue, 31 May 2022 18:43:17 +0100 Subject: [PATCH 26/26] Removed ticks (``) from the url under is_module_available Ticks can result in re-direction to 'https://github.com/pytorch/data%60' instead of 'https://github.com/pytorch/data', which is not a valid resource. Tested in Colab. --- torchtext/datasets/yelpreviewpolarity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchtext/datasets/yelpreviewpolarity.py b/torchtext/datasets/yelpreviewpolarity.py index e654bb8afa..2272eaf7dd 100644 --- a/torchtext/datasets/yelpreviewpolarity.py +++ b/torchtext/datasets/yelpreviewpolarity.py @@ -67,7 +67,7 @@ def YelpReviewPolarity(root: str, split: Union[Tuple[str], str]): """ if not is_module_available("torchdata"): raise ModuleNotFoundError( - "Package `torchdata` not found. Please install following instructions at `https://github.com/pytorch/data`" + "Package `torchdata` not found. Please install following instructions at https://github.com/pytorch/data" ) url_dp = IterableWrapper([URL])