Unverified Commit a89b132d authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Update write_out.py

parent 0f3f1267
......@@ -48,7 +48,9 @@ def main():
docs = join_iters(iters)
with open(os.path.join(args.output_base_path, task_name), "w", encoding="utf8") as f:
with open(
os.path.join(args.output_base_path, task_name), "w", encoding="utf8"
) as f:
for i, doc in (
zip(range(args.num_examples), docs)
if args.num_examples > 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment