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

Update write_out.py

parent 8daee342
...@@ -48,7 +48,7 @@ def main(): ...@@ -48,7 +48,7 @@ def main():
docs = join_iters(iters) 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 ( for i, doc in (
zip(range(args.num_examples), docs) zip(range(args.num_examples), docs)
if args.num_examples > 0 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