We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7937703 commit 8808e7eCopy full SHA for 8808e7e
torchtext/datasets/amazonreviewpolarity.py
@@ -4,7 +4,6 @@
4
from torchtext._internal.module_utils import is_module_available
5
from torchtext.data.datasets_utils import (
6
_wrap_split_argument,
7
- _add_docstring_header,
8
_create_dataset_directory,
9
)
10
@@ -32,7 +31,6 @@
32
31
DATASET_NAME = "AmazonReviewPolarity"
33
34
35
-@_add_docstring_header(num_lines=NUM_LINES, num_classes=2)
36
@_create_dataset_directory(dataset_name=DATASET_NAME)
37
@_wrap_split_argument(("train", "test"))
38
def AmazonReviewPolarity(root: str, split: Union[Tuple[str], str]):
0 commit comments