Skip to content

Commit 8808e7e

Browse files
Nayef211nayef211
and
nayef211
authored
Remove _add_docstring_header decorator from amazon review polarity (#1611)
Co-authored-by: nayef211 <[email protected]>
1 parent 7937703 commit 8808e7e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

torchtext/datasets/amazonreviewpolarity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from torchtext._internal.module_utils import is_module_available
55
from torchtext.data.datasets_utils import (
66
_wrap_split_argument,
7-
_add_docstring_header,
87
_create_dataset_directory,
98
)
109

@@ -32,7 +31,6 @@
3231
DATASET_NAME = "AmazonReviewPolarity"
3332

3433

35-
@_add_docstring_header(num_lines=NUM_LINES, num_classes=2)
3634
@_create_dataset_directory(dataset_name=DATASET_NAME)
3735
@_wrap_split_argument(("train", "test"))
3836
def AmazonReviewPolarity(root: str, split: Union[Tuple[str], str]):

0 commit comments

Comments
 (0)