acc13027rk
commited on
Commit
•
6234429
1
Parent(s):
353fc4c
fix list issue
Browse files- data/cs.CL.tar.gz +1 -1
- m2d2.py +3 -3
data/cs.CL.tar.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 144417418
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1c7eaafcae8aa5f4d3b5445f17ab5bb1073fc88ec9da953095eb14f809cc4ba
|
3 |
size 144417418
|
m2d2.py
CHANGED
@@ -49,19 +49,19 @@ class M2D2(datasets.GeneratorBasedBuilder):
|
|
49 |
datasets.SplitGenerator(
|
50 |
name=datasets.Split.TRAIN,
|
51 |
gen_kwargs={
|
52 |
-
"filepath": os.path.join(data_dir, "train.txt"),
|
53 |
},
|
54 |
),
|
55 |
datasets.SplitGenerator(
|
56 |
name=datasets.Split.VALIDATION,
|
57 |
gen_kwargs={
|
58 |
-
"filepath": os.path.join(data_dir, "valid.txt"),
|
59 |
},
|
60 |
),
|
61 |
datasets.SplitGenerator(
|
62 |
name=datasets.Split.TRAIN,
|
63 |
gen_kwargs={
|
64 |
-
"filepath": os.path.join(data_dir, "test.txt"),
|
65 |
},
|
66 |
),
|
67 |
]
|
|
|
49 |
datasets.SplitGenerator(
|
50 |
name=datasets.Split.TRAIN,
|
51 |
gen_kwargs={
|
52 |
+
"filepath": os.path.join(data_dir, self.config.name, "train.txt"),
|
53 |
},
|
54 |
),
|
55 |
datasets.SplitGenerator(
|
56 |
name=datasets.Split.VALIDATION,
|
57 |
gen_kwargs={
|
58 |
+
"filepath": os.path.join(data_dir, self.config.name, "valid.txt"),
|
59 |
},
|
60 |
),
|
61 |
datasets.SplitGenerator(
|
62 |
name=datasets.Split.TRAIN,
|
63 |
gen_kwargs={
|
64 |
+
"filepath": os.path.join(data_dir, self.config.name, "test.txt"),
|
65 |
},
|
66 |
),
|
67 |
]
|