Splits removed
Browse files- regulatory_comments.py +2 -2
regulatory_comments.py
CHANGED
@@ -86,7 +86,7 @@ class RegComments(datasets.GeneratorBasedBuilder):
|
|
86 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|
87 |
# specify them. They'll be used if as_supervised=True in builder.as_dataset.
|
88 |
# supervised_keys=("sentence", "label"),
|
89 |
-
# Homepage of the dataset for
|
90 |
homepage=_HOMEPAGE
|
91 |
)
|
92 |
|
@@ -105,7 +105,7 @@ class RegComments(datasets.GeneratorBasedBuilder):
|
|
105 |
# These kwargs will be passed to _generate_examples
|
106 |
gen_kwargs={
|
107 |
"filepath": os.path.join(data_dir, "train.csv"),
|
108 |
-
"split": "train",
|
109 |
},),]
|
110 |
|
111 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
|
|
86 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|
87 |
# specify them. They'll be used if as_supervised=True in builder.as_dataset.
|
88 |
# supervised_keys=("sentence", "label"),
|
89 |
+
# Homepage of the dataset for documentaxtion
|
90 |
homepage=_HOMEPAGE
|
91 |
)
|
92 |
|
|
|
105 |
# These kwargs will be passed to _generate_examples
|
106 |
gen_kwargs={
|
107 |
"filepath": os.path.join(data_dir, "train.csv"),
|
108 |
+
#"split": "train",
|
109 |
},),]
|
110 |
|
111 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|