Vadim Alperovich
commited on
Commit
·
9e238f9
1
Parent(s):
57baf84
Update QC.py
Browse files
QC.py
CHANGED
|
@@ -71,7 +71,7 @@ class AGNews(datasets.GeneratorBasedBuilder):
|
|
| 71 |
features=datasets.Features(
|
| 72 |
{
|
| 73 |
"text": datasets.Value("string"),
|
| 74 |
-
"label": datasets.features.ClassLabel(names=CATEGORY_MAPPING.values()),
|
| 75 |
}
|
| 76 |
),
|
| 77 |
homepage="https://cogcomp.seas.upenn.edu/Data/QA/QC/",
|
|
|
|
| 71 |
features=datasets.Features(
|
| 72 |
{
|
| 73 |
"text": datasets.Value("string"),
|
| 74 |
+
"label": datasets.features.ClassLabel(names=list(CATEGORY_MAPPING.values())),
|
| 75 |
}
|
| 76 |
),
|
| 77 |
homepage="https://cogcomp.seas.upenn.edu/Data/QA/QC/",
|