Datasets:
Upload anli.py
Browse files
anli.py
CHANGED
@@ -102,11 +102,11 @@ class ANLI(datasets.GeneratorBasedBuilder):
|
|
102 |
def _split_generators(self, dl_manager):
|
103 |
return [
|
104 |
datasets.SplitGenerator(name="train.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "train.biased.jsonl"))}),
|
105 |
-
datasets.SplitGenerator(name="train.
|
106 |
datasets.SplitGenerator(name="validation.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "validation.biased.jsonl"))}),
|
107 |
-
datasets.SplitGenerator(name="validation.
|
108 |
datasets.SplitGenerator(name="test.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "test.biased.jsonl"))}),
|
109 |
-
datasets.SplitGenerator(name="test.
|
110 |
]
|
111 |
|
112 |
def _generate_examples(self, filepath):
|
|
|
102 |
def _split_generators(self, dl_manager):
|
103 |
return [
|
104 |
datasets.SplitGenerator(name="train.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "train.biased.jsonl"))}),
|
105 |
+
datasets.SplitGenerator(name="train.anti_biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "train.anti_biased.jsonl"))}),
|
106 |
datasets.SplitGenerator(name="validation.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "validation.biased.jsonl"))}),
|
107 |
+
datasets.SplitGenerator(name="validation.anti_biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "validation.anti_biased.jsonl"))}),
|
108 |
datasets.SplitGenerator(name="test.biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "test.biased.jsonl"))}),
|
109 |
+
datasets.SplitGenerator(name="test.anti_biased", gen_kwargs={"filepath": dl_manager.download(os.path.join(self.config.name, "test.anti_biased.jsonl"))})
|
110 |
]
|
111 |
|
112 |
def _generate_examples(self, filepath):
|