sps commited on
Commit
dfe8b35
1 Parent(s): 060bd7e

Change field name

Browse files
Files changed (1) hide show
  1. codequeries.py +1 -1
codequeries.py CHANGED
@@ -238,7 +238,7 @@ class Codequeries(datasets.GeneratorBasedBuilder):
238
  yield instance_key, {
239
  "query_name": row["query_name"],
240
  "code_file_path": row["code_file_path"],
241
- "context_blocks": row["context_blocks"],
242
  "answer_spans": row["answer_spans"],
243
  "supporting_fact_spans": row["supporting_fact_spans"],
244
  "example_type": row["example_type"],
 
238
  yield instance_key, {
239
  "query_name": row["query_name"],
240
  "code_file_path": row["code_file_path"],
241
+ "context_block": row["context_blocks"], # single context block
242
  "answer_spans": row["answer_spans"],
243
  "supporting_fact_spans": row["supporting_fact_spans"],
244
  "example_type": row["example_type"],