Datasets:
Update tldr.py
Browse files
tldr.py
CHANGED
@@ -64,7 +64,12 @@ class DocPromptingConala(datasets.GeneratorBasedBuilder):
|
|
64 |
"cmd_name": datasets.Value("string"),
|
65 |
"tldr_cmd_name": datasets.Value("string"),
|
66 |
"manual_exist": datasets.Value("bool"),
|
67 |
-
"matching_info":
|
|
|
|
|
|
|
|
|
|
|
68 |
})
|
69 |
else:
|
70 |
features=datasets.Features({"doc_id": datasets.Value("string"),
|
|
|
64 |
"cmd_name": datasets.Value("string"),
|
65 |
"tldr_cmd_name": datasets.Value("string"),
|
66 |
"manual_exist": datasets.Value("bool"),
|
67 |
+
"matching_info": datasets.Sequence(
|
68 |
+
{
|
69 |
+
'token': datasets.Value("string"),
|
70 |
+
'oracle_man': datasets.Sequence(feature=datasets.Value("string"))
|
71 |
+
}
|
72 |
+
)
|
73 |
})
|
74 |
else:
|
75 |
features=datasets.Features({"doc_id": datasets.Value("string"),
|