test
Browse files- the-vault-function.py +2 -1
the-vault-function.py
CHANGED
@@ -49,7 +49,7 @@ class TheVaultFunctionConfig(datasets.BuilderConfig):
|
|
49 |
"""BuilderConfig for The Vault dataset."""
|
50 |
|
51 |
def __init__(self, *args, languages=["all"], split_set= ["all"], **kwargs):
|
52 |
-
"""BuilderConfig for the
|
53 |
Args:
|
54 |
split_set (:obj:`List[str]`): List of split set to load.
|
55 |
languages (:obj:`List[str]`): List of languages to load.
|
@@ -227,6 +227,7 @@ class TheVaultFunction(datasets.GeneratorBasedBuilder):
|
|
227 |
for row_index in range(pa_table.num_rows):
|
228 |
row = pa_table.slice(row_index, 1).to_pydict()
|
229 |
print(row.keys())
|
|
|
230 |
# lang = row['language'][0]
|
231 |
|
232 |
# if self.config.filter_languages and not lang in self.config.languages:
|
|
|
49 |
"""BuilderConfig for The Vault dataset."""
|
50 |
|
51 |
def __init__(self, *args, languages=["all"], split_set= ["all"], **kwargs):
|
52 |
+
"""BuilderConfig for the The Vault dataset.
|
53 |
Args:
|
54 |
split_set (:obj:`List[str]`): List of split set to load.
|
55 |
languages (:obj:`List[str]`): List of languages to load.
|
|
|
227 |
for row_index in range(pa_table.num_rows):
|
228 |
row = pa_table.slice(row_index, 1).to_pydict()
|
229 |
print(row.keys())
|
230 |
+
print(row['comment'])
|
231 |
# lang = row['language'][0]
|
232 |
|
233 |
# if self.config.filter_languages and not lang in self.config.languages:
|