leonardo-avila commited on
Commit
f603b37
1 Parent(s): 3d710ea

Update fiqa_pt.py

Browse files
Files changed (1) hide show
  1. fiqa_pt.py +4 -4
fiqa_pt.py CHANGED
@@ -74,7 +74,7 @@ class BeirPT(datasets.GeneratorBasedBuilder):
74
  for line in f:
75
  if "query-id" not in line:
76
  fields = line.strip().split("\t")
77
- query_id = fields[0]
78
- doc_id = fields[1]
79
- rel = int(fields[2])
80
- yield query_id, doc_id, rel
 
74
  for line in f:
75
  if "query-id" not in line:
76
  fields = line.strip().split("\t")
77
+ query_id = fields[0]
78
+ doc_id = fields[1]
79
+ rel = int(fields[2])
80
+ yield query_id, doc_id, rel