Skip to content

Commit

Permalink
Merge pull request #82 from chg0901/patch-5
Browse files Browse the repository at this point in the history
Update qwen_gen_data_NoBash.py 修改遍历顺序, 先遍历领域area再遍历心情emotions
  • Loading branch information
aJupyter authored Mar 16, 2024
2 parents de3f665 + 0eee219 commit 7658803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_data/qwen_gen_data_NoBash.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def save_jsonl(data_lis, file_path):

conversation_lis = []

for emo in emotions_lis:
for area in areas_of_life:
for area in areas_of_life:
for emo in emotions_lis:
gen_path = f'./{ai_tool}/{area}/{emo}.jsonl'

for i in tqdm(range(100), desc='{emo}, {area}'.format(emo=emo, area=area)):
Expand Down

0 comments on commit 7658803

Please sign in to comment.