update load script
Browse files- the-vault-function.py +15 -15
the-vault-function.py
CHANGED
@@ -94,21 +94,21 @@ class TheVaultFunction(datasets.GeneratorBasedBuilder):
|
|
94 |
return datasets.DatasetInfo(
|
95 |
description=_DESCRIPTION,
|
96 |
features=datasets.Features({
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
}),
|
113 |
supervised_keys=None,
|
114 |
homepage=_HOMEPAGE,
|
|
|
94 |
return datasets.DatasetInfo(
|
95 |
description=_DESCRIPTION,
|
96 |
features=datasets.Features({
|
97 |
+
"repo": datasets.Value("string"),
|
98 |
+
"path": datasets.Value("string"),
|
99 |
+
"license": datasets.Value("string"),
|
100 |
+
"language": datasets.Value("string"),
|
101 |
+
"identifier": datasets.Value("string"),
|
102 |
+
"return_type": datasets.Value("string"),
|
103 |
+
# "original_string": datasets.Value("string"),
|
104 |
+
"original_docstring": datasets.Value("string"),
|
105 |
+
"docstring": datasets.Value("string"),
|
106 |
+
"code": datasets.Value("string"),
|
107 |
+
"code_tokens": datasets.Value("string"),
|
108 |
+
"docstring_tokens": datasets.Value("string"),
|
109 |
+
"short_docstring": datasets.Value("string"),
|
110 |
+
"short_docstring_tokens": datasets.Value("string"),
|
111 |
+
"comment": datasets.Value("string"),
|
112 |
}),
|
113 |
supervised_keys=None,
|
114 |
homepage=_HOMEPAGE,
|