acc13027rk
commited on
Commit
·
4833613
1
Parent(s):
fc31b8b
test
Browse files
m2d2.py
CHANGED
@@ -23,13 +23,15 @@ def _URLS(split):
|
|
23 |
|
24 |
with open("split_names.txt", "r") as f:
|
25 |
M2D2_SPLIT_NAMES = [i.split() for i in f.readlines()]
|
|
|
26 |
|
27 |
|
28 |
class M2D2Config(datasets.BuilderConfig):
|
29 |
def __init__(self, features, citation, **kwargs):
|
30 |
-
super().__init__(
|
31 |
self.features = features
|
32 |
self.citation = citation
|
|
|
33 |
|
34 |
|
35 |
class M2D2(datasets.GeneratorBasedBuilder):
|
|
|
23 |
|
24 |
with open("split_names.txt", "r") as f:
|
25 |
M2D2_SPLIT_NAMES = [i.split() for i in f.readlines()]
|
26 |
+
print(M2D2_SPLIT_NAMES)
|
27 |
|
28 |
|
29 |
class M2D2Config(datasets.BuilderConfig):
|
30 |
def __init__(self, features, citation, **kwargs):
|
31 |
+
super().__init__(**kwargs)
|
32 |
self.features = features
|
33 |
self.citation = citation
|
34 |
+
print(self.name)
|
35 |
|
36 |
|
37 |
class M2D2(datasets.GeneratorBasedBuilder):
|