colbertv2 commited on
Commit
e469930
·
1 Parent(s): fd38d48

Update lotte_passages.py

Browse files
Files changed (1) hide show
  1. lotte_passages.py +1 -1
lotte_passages.py CHANGED
@@ -220,7 +220,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
220
  else:
221
  author = ""
222
 
223
- yield current_index, {
224
  "doc_id": current_query["doc_id"],
225
  "author": author,
226
  "text": current_query["text"]
 
220
  else:
221
  author = ""
222
 
223
+ yield i + 1, {
224
  "doc_id": current_query["doc_id"],
225
  "author": author,
226
  "text": current_query["text"]