bzantium commited on
Commit
9bb3a6a
·
1 Parent(s): 8bd87db

Update LITM.py

Browse files
Files changed (1) hide show
  1. LITM.py +1 -1
LITM.py CHANGED
@@ -51,7 +51,7 @@ class LITM(datasets.GeneratorBasedBuilder):
51
  def _info(self):
52
  features = datasets.Features(
53
  {
54
- "context": datasets.Value("string"),
55
  "query": datasets.Value("string"),
56
  "answers": [datasets.Value("string")],
57
  "gold_index": datasets.Value("int32"),
 
51
  def _info(self):
52
  features = datasets.Features(
53
  {
54
+ "context": [[datasets.Value("string")]] if self.config.name.startswith("kv") else [datasets.Value("string")],
55
  "query": datasets.Value("string"),
56
  "answers": [datasets.Value("string")],
57
  "gold_index": datasets.Value("int32"),