Skip to content

Commit

Permalink
feat(datagen): Enhance JSON Dump in SelfInstructPipeline for Non-ASCI…
Browse files Browse the repository at this point in the history
…I Character Readability
  • Loading branch information
coolbeevip committed Feb 15, 2025
1 parent 5d1296c commit ebee3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camel/datagen/self_instruct/self_instruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def construct_data(self):
in JSON format.
"""
with open(self.data_output_path, 'w') as f:
json.dump(self.machine_tasks, f, indent=4)
json.dump(self.machine_tasks, f, indent=4, ensure_ascii=False)

def generate(self):
r"""Execute the entire pipeline to generate machine instructions
Expand Down

0 comments on commit ebee3e8

Please sign in to comment.