imvladikon
commited on
Commit
•
b14a0f3
1
Parent(s):
fb24ec8
Update nemo_corpus.py
Browse files- nemo_corpus.py +1 -1
nemo_corpus.py
CHANGED
@@ -129,7 +129,7 @@ class NemoCorpus(datasets.GeneratorBasedBuilder):
|
|
129 |
"""Returns SplitGenerators."""
|
130 |
dirname = tempfile.TemporaryDirectory().name
|
131 |
os.makedirs(dirname, exist_ok=True)
|
132 |
-
os.system(f"cd {dirname} && git clone --depth=1 {URL}
|
133 |
folder = Path(dirname) / "NEMO-Corpus" / "data" / "spmrl" / "gold"
|
134 |
if self.config.name == "nested":
|
135 |
folder = folder / "nested"
|
|
|
129 |
"""Returns SplitGenerators."""
|
130 |
dirname = tempfile.TemporaryDirectory().name
|
131 |
os.makedirs(dirname, exist_ok=True)
|
132 |
+
os.system(f"cd {dirname} && git clone --depth=1 {URL}")
|
133 |
folder = Path(dirname) / "NEMO-Corpus" / "data" / "spmrl" / "gold"
|
134 |
if self.config.name == "nested":
|
135 |
folder = folder / "nested"
|