Update test_ldkp.py
Browse files- test_ldkp.py +2 -2
test_ldkp.py
CHANGED
|
@@ -75,8 +75,8 @@ class TestLDKP(datasets.GeneratorBasedBuilder):
|
|
| 75 |
else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
| 76 |
features = datasets.Features(
|
| 77 |
{
|
| 78 |
-
"text": datasets.Value("string"),
|
| 79 |
-
"BIO_tags": datasets.Value("string")
|
| 80 |
# "second_domain_answer": datasets.Value("string")
|
| 81 |
# These are the features of your dataset like images, labels ...
|
| 82 |
}
|
|
|
|
| 75 |
else: # This is an example to show how to have different features for "first_domain" and "second_domain"
|
| 76 |
features = datasets.Features(
|
| 77 |
{
|
| 78 |
+
"text": datasets.features.Sequence(datasets.Value("string")),
|
| 79 |
+
"BIO_tags": datasets.features.Sequence(datasets.Value("string"))
|
| 80 |
# "second_domain_answer": datasets.Value("string")
|
| 81 |
# These are the features of your dataset like images, labels ...
|
| 82 |
}
|