Skip to content

Commit

Permalink
updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyuqian committed Jan 5, 2024
1 parent 118267a commit f1f20ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/language_modeling/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def main(n_processes=None,
{'example': example, 'generation': output}
for example, output in zip(dataset['validation'], outputs)
]
json.dump(gens, open(output_filename, 'w'))
json.dump(gens, open(output_filename, 'w'), indent=4)
print(f'Outputs saved in to {output_filename}.')


Expand Down

0 comments on commit f1f20ad

Please sign in to comment.