Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
Tags:
long context
for windows
Browse files- patent-classification.py +3 -3
patent-classification.py
CHANGED
@@ -79,9 +79,9 @@ class PatentClassificationDataset(datasets.GeneratorBasedBuilder):
|
|
79 |
)
|
80 |
|
81 |
def _split_generators(self, dl_manager):
|
82 |
-
train_path = dl_manager.download_and_extract(self.
|
83 |
-
val_path = dl_manager.download_and_extract(self.
|
84 |
-
test_path = dl_manager.download_and_extract(self.
|
85 |
|
86 |
return [
|
87 |
datasets.SplitGenerator(
|
|
|
79 |
)
|
80 |
|
81 |
def _split_generators(self, dl_manager):
|
82 |
+
train_path = dl_manager.download_and_extract(self._TRAIN_FILE)
|
83 |
+
val_path = dl_manager.download_and_extract(self._VAL_FILE)
|
84 |
+
test_path = dl_manager.download_and_extract(self._TEST_FILE)
|
85 |
|
86 |
return [
|
87 |
datasets.SplitGenerator(
|