Update test_ldkp.py
Browse files- test_ldkp.py +4 -4
test_ldkp.py
CHANGED
@@ -61,8 +61,8 @@ class TestLDKP(datasets.GeneratorBasedBuilder):
|
|
61 |
if self.config.name == "ldkp": # This is the name of the configuration selected in BUILDER_CONFIGS above
|
62 |
features = datasets.Features(
|
63 |
{
|
64 |
-
"text": datasets.Value("
|
65 |
-
"BIO_tags": datasets.Value("
|
66 |
# "answer": datasets.Value("string")
|
67 |
# These are the features of your dataset like images, labels ...
|
68 |
}
|
@@ -70,8 +70,8 @@ class TestLDKP(datasets.GeneratorBasedBuilder):
|
|
70 |
else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
71 |
features = datasets.Features(
|
72 |
{
|
73 |
-
"text": datasets.Value("
|
74 |
-
"BIO_tags": datasets.Value("
|
75 |
# "second_domain_answer": datasets.Value("string")
|
76 |
# These are the features of your dataset like images, labels ...
|
77 |
}
|
|
|
61 |
if self.config.name == "ldkp": # This is the name of the configuration selected in BUILDER_CONFIGS above
|
62 |
features = datasets.Features(
|
63 |
{
|
64 |
+
"text": datasets.Value("string"),
|
65 |
+
"BIO_tags": datasets.Value("string")
|
66 |
# "answer": datasets.Value("string")
|
67 |
# These are the features of your dataset like images, labels ...
|
68 |
}
|
|
|
70 |
else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
71 |
features = datasets.Features(
|
72 |
{
|
73 |
+
"text": datasets.Value("string"),
|
74 |
+
"BIO_tags": datasets.Value("string")
|
75 |
# "second_domain_answer": datasets.Value("string")
|
76 |
# These are the features of your dataset like images, labels ...
|
77 |
}
|