Datasets:

Modalities:
Text
Size:
< 1K
Libraries:
Datasets
rajivratn commited on
Commit
5000be7
·
1 Parent(s): 0d795ba

Update test_ldkp.py

Browse files
Files changed (1) hide show
  1. 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("list"),
65
- "BIO_tags": datasets.Value("list")
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("list"),
74
- "BIO_tags": datasets.Value("list")
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
  }